P_CZ_StRpEUTaxClassification
Rptd and NonRptd items for ECSL - Corr.
P_CZ_StRpEUTaxClassification is a Consumption CDS View that provides data about "Rptd and NonRptd items for ECSL - Corr." in SAP S/4HANA. Part of development package GLO_FIN_IS_ECSL_CZ.
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id | |
| P_RelocationDocumentType | farp_blart |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCZSRECSLITMCLFN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Rptd and NonRptd items for ECSL - Corr. | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_StRpTaxItmWithEUTaxClass | CompanyCode | |
| KEY | AccountingDocument | I_StRpTaxItmWithEUTaxClass | AccountingDocument | |
| KEY | FiscalYear | I_StRpTaxItmWithEUTaxClass | FiscalYear | |
| KEY | TaxCode | TaxCode | ||
| KEY | TransactionTypeDetermination | TransactionTypeDetermination | ||
| KEY | CARptgDateTypeForECSalesList | I_StRpTaxItmWithEUTaxClass | CARptgDateTypeForECSalesList | |
| KEY | ECSalesListReportingDate | I_StRpTaxItmWithEUTaxClass | ECSalesListReportingDate | |
| KEY | CADocument | I_StRpTaxItmWithEUTaxClass | CADocument | |
| KEY | CASqncNumberForECSalesList | I_StRpTaxItmWithEUTaxClass | CASqncNumberForECSalesList | |
| KEY | BusinessPartner | I_StRpTaxItmWithEUTaxClass | BusinessPartner | |
| CAReconciliationKey | I_StRpTaxItmWithEUTaxClass | CAReconciliationKey | ||
| Creditor | Creditor | |||
| Debtor | Debtor | |||
| VATRegistration | VATRegistration | |||
| TaxableEntity | TaxableEntity | |||
| ReportingDate | ReportingDate | |||
| PostingDate | I_StRpTaxItmWithEUTaxClass | PostingDate | ||
| DocumentDate | I_StRpTaxItmWithEUTaxClass | DocumentDate | ||
| TaxReportingDate | I_StRpTaxItmWithEUTaxClass | TaxReportingDate | ||
| ReportingCountry | ReportingCountry | |||
| IsEUTriangularDeal | IsEUTriangularDeal | |||
| DelivOfGoodsDestCountry | DelivOfGoodsDestCountry | |||
| DelivOfGoodsOriginCountry | DelivOfGoodsOriginCountry | |||
| EUTaxClassification | EUTaxClassification | |||
| TaxType | TaxType | |||
| BusinessPartnerName | I_StRpTaxItmWithEUTaxClass | BusinessPartnerName | ||
| StatryRptgEntity | ||||
| StatryRptCategory | ||||
| StatryRptRunID |
@AbapCatalog.sqlViewName:'PCZSRECSLITMCLFN'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #CONSUMPTION
@VDM.private: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Rptd and NonRptd items for ECSL - Corr.'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.dataClass: #MIXED
@AccessControl.personalData.blocking: #BLOCKED_DATA_INCLUDED
////////////////////////////////////////////////////////////////////
// This view is intended to derive all documents including reported and
// non reported for Statutory Reporting - with columns for CZ ECSL //
////////////////////////////////////////////////////////////////////
define view P_CZ_StRpEUTaxClassification
with parameters
P_StatryRptgEntity : srf_reporting_entity,
P_StatryRptCategory : srf_rep_cat_id,
P_StatryRptRunID : srf_report_run_id,
P_RelocationDocumentType : farp_blart
as select distinct from I_StRpTaxItmWithEUTaxClass
{
key I_StRpTaxItmWithEUTaxClass.CompanyCode,
key I_StRpTaxItmWithEUTaxClass.AccountingDocument,
key I_StRpTaxItmWithEUTaxClass.FiscalYear,
key TaxCode,
key TransactionTypeDetermination,
key I_StRpTaxItmWithEUTaxClass.CARptgDateTypeForECSalesList,
key I_StRpTaxItmWithEUTaxClass.ECSalesListReportingDate,
key I_StRpTaxItmWithEUTaxClass.CADocument,
key I_StRpTaxItmWithEUTaxClass.CASqncNumberForECSalesList,
key I_StRpTaxItmWithEUTaxClass.BusinessPartner,
I_StRpTaxItmWithEUTaxClass.CAReconciliationKey,
Creditor,
Debtor,
VATRegistration,
TaxableEntity,
ReportingDate,
I_StRpTaxItmWithEUTaxClass.PostingDate,
I_StRpTaxItmWithEUTaxClass.DocumentDate,
I_StRpTaxItmWithEUTaxClass.TaxReportingDate,
ReportingCountry,
IsEUTriangularDeal,
DelivOfGoodsDestCountry,
DelivOfGoodsOriginCountry,
EUTaxClassification,
TaxType,
I_StRpTaxItmWithEUTaxClass.BusinessPartnerName,
cast((case
when EUTaxClassification = '4' then '3' //Services
when EUTaxClassification = '1' and AccountingDocumentType = :P_RelocationDocumentType then '1' //Relocation of asset
when EUTaxClassification = '1' and IsEUTriangularDeal = 'X' then '2' //Triangular deal
when EUTaxClassification = '1' then '0' //Goods
else '9'
end) as ficz_ecsl_operation_key) as OfficialTaxOperationKey,
$parameters.P_StatryRptgEntity as StatryRptgEntity,
$parameters.P_StatryRptCategory as StatryRptCategory,
$parameters.P_StatryRptRunID as StatryRptRunID
}
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