P_UK_StRpRptdEUTaxClass
Reported documents for Statutory Reporting of ECSL for UK
P_UK_StRpRptdEUTaxClass is a Composite CDS View that provides data about "Reported documents for Statutory Reporting of ECSL for UK" in SAP S/4HANA. It reads from 1 data source (I_StRpRepRun) and exposes 4 fields with key fields CompanyCode, AccountingDocument, FiscalYear. Part of development package GLO_FIN_IS_ECSL_GB.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpRepRun | I_StRpRepRun | left_outer |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_ReportingEntity | srf_reporting_entity | |
| P_ReportCategory | srf_rep_cat_id |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSRUKRPTDECSLITM | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_UK_StRpTaxItmWithEUTaxClass | CompanyCode | |
| KEY | AccountingDocument | I_UK_StRpTaxItmWithEUTaxClass | AccountingDocument | |
| KEY | FiscalYear | I_UK_StRpTaxItmWithEUTaxClass | FiscalYear | |
| StatryRptRunStatus | I_StRpRepRun | StatryRptRunStatus |
@AbapCatalog.sqlViewName: 'PSRUKRPTDECSLITM'
@VDM.viewType: #COMPOSITE
@VDM.private: true
//@EndUserText.label: 'Reported document for Statutory Reporting of ECSL for UK'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
////////////////////////////////////////////////////////////////////
// This private view is intended to derive reported document for Statutory Reporting of ECSL for UK//
////////////////////////////////////////////////////////////////////
define view P_UK_StRpRptdEUTaxClass
with parameters
P_ReportingEntity : srf_reporting_entity,
P_ReportCategory : srf_rep_cat_id
as select distinct from I_UK_StRpTaxItmWithEUTaxClass
left outer join I_StRpRepRun on I_StRpRepRun.StatryRptgEntity = $parameters.P_ReportingEntity
and I_StRpRepRun.StatryRptCategory = $parameters.P_ReportCategory
and I_StRpRepRun.StatryRptRunID = I_UK_StRpTaxItmWithEUTaxClass.StatryRptRunID
{
key I_UK_StRpTaxItmWithEUTaxClass.CompanyCode,
key I_UK_StRpTaxItmWithEUTaxClass.AccountingDocument,
key I_UK_StRpTaxItmWithEUTaxClass.FiscalYear,
I_StRpRepRun.StatryRptRunStatus
}
where
I_StRpRepRun.StatryRptRunStatus = 'SOK'
and I_UK_StRpTaxItmWithEUTaxClass.StatryRptCategory = $parameters.P_ReportCategory
and I_UK_StRpTaxItmWithEUTaxClass.StatryRptgEntity = $parameters.P_ReportingEntity
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA