P_PL_SAFTTaxItemMain
P_PL_SAFTTaxItemMain is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_PL_SAFTTaxItemBasic) and exposes 22 fields with key fields TaxType, CompanyCode, AccountingDocument, FiscalYear.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PL_SAFTTaxItemBasic | P_PL_SAFTTaxItemBasic | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPLSAFTTAXITMMN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TaxType | TaxType | Tax Type | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| TaxReportingDate | TaxReportingDate | Tax Reporting Date | ||
| TaxReturnCountry | TaxReturnCountry | Reporting C/R | ||
| TaxCalculationProcedure | TaxCalculationProcedure | Tax Procedure | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| OriginalReferenceDocument | OriginalReferenceDocument | Reference Key | ||
| DocumentItemText | DocumentItemText | Text | ||
| BusinessPartnerCountry | BusinessPartnerCountry | BP Ctry/Reg. | ||
| VATRegistration | VATRegistration | VAT Registration No. | ||
| BusinessPartnerName | BusinessPartnerName | Extracted Customer Name | ||
| CustomerSupplierAddress | CustomerSupplierAddress | |||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| TaxAmountInCoCodeCrcy | ||||
| TaxBaseAmountInCoCodeCrcy | ||||
| _AccountingDocument | _AccountingDocument |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_PL_SAFTTaxItemMain.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PPLSAFTTAXITMMN
CREATE VIEW P_PL_SAFTTaxItemMain AS
SELECT
TaxType,
CompanyCode,
AccountingDocument,
FiscalYear,
TaxReportingDate,
TaxReturnCountry,
TaxCalculationProcedure,
Customer,
Supplier,
ReferenceDocumentType,
OriginalReferenceDocument,
DocumentItemText,
BusinessPartnerCountry,
VATRegistration,
BusinessPartnerName,
CustomerSupplierAddress,
DocumentReferenceID,
DocumentDate,
CompanyCodeCurrency,
sum(TaxAmountInCoCodeCrcy) AS TaxAmountInCoCodeCrcy,
sum(TaxBaseAmountInCoCodeCrcy) AS TaxBaseAmountInCoCodeCrcy
FROM P_PL_SAFTTaxItemBasic
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA