P_PL_SAFTDownPaymentItem
SAF-T PL Downpayment Items
P_PL_SAFTDownPaymentItem is a Consumption CDS View that provides data about "SAF-T PL Downpayment Items" in SAP S/4HANA. It reads from 3 data sources (I_PL_SAFTDownPaymentSlsOrdItm, P_PL_SAFTInvoiceHeaderBasic, I_SalesDocumentItem) and exposes 16 fields with key fields CompanyCode, BillingDocument, SalesDocument, SalesDocumentItem, ConditionRateValue. Part of development package GLO_FIN_IS_SAFT_PL.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_PL_SAFTDownPaymentSlsOrdItm | DPSalesOrderItem | inner |
| P_PL_SAFTInvoiceHeaderBasic | P_PL_SAFTInvoiceHeaderBasic | from |
| I_SalesDocumentItem | SalesDocumentItem | inner |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StartDate | datum | |
| P_EndDate | datum |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPLSAFTDWPAYITM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | InvoiceHeader | CompanyCode | Receiver Company Code |
| KEY | BillingDocument | I_PL_SAFTDownPaymentSlsOrdItm | BillingDocument | SD Document |
| KEY | SalesDocument | I_PL_SAFTDownPaymentSlsOrdItm | SalesDocument | SD Document |
| KEY | SalesDocumentItem | I_PL_SAFTDownPaymentSlsOrdItm | SalesDocumentItem | Sales Document Item |
| KEY | ConditionRateValue | I_PL_SAFTDownPaymentSlsOrdItm | ConditionRateValue | Condition Rate Value |
| AmountInTransactionCurrency | InvoiceHeader | AmountInTransactionCurrency | Pt Crcy Amt | |
| SalesDocumentItemText | I_SalesDocumentItem | SalesDocumentItemText | Item Descr. | |
| OrderQuantity | I_SalesDocumentItem | OrderQuantity | Quantity | |
| OrderQuantityUnit | I_SalesDocumentItem | OrderQuantityUnit | Sales Unit | |
| NetPriceAmount | I_SalesDocumentItem | NetPriceAmount | Net Price | |
| NetAmount | I_SalesDocumentItem | NetAmount | Stated Amount | |
| TransactionCurrency | I_PL_SAFTDownPaymentSlsOrdItm | TransactionCurrency | Transaction Currency | |
| TaxAmount | I_PL_SAFTDownPaymentSlsOrdItm | TaxAmount | Tax Amt in Rptg Crcy | |
| _SalesDocument | I_PL_SAFTDownPaymentSlsOrdItm | _SalesDocument | ||
| _CompanyCode | InvoiceHeader | _CompanyCode | ||
| _OrderQuantityUnit | I_SalesDocumentItem | _OrderQuantityUnit |
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_SAFTDownPaymentItem.
-- 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: PPLSAFTDWPAYITM
-- Parameters: P_StartDate : datum, P_EndDate : datum
CREATE VIEW P_PL_SAFTDownPaymentItem AS
SELECT
InvoiceHeader.CompanyCode AS CompanyCode,
DPSalesOrderItem.BillingDocument AS BillingDocument,
DPSalesOrderItem.SalesDocument AS SalesDocument,
DPSalesOrderItem.SalesDocumentItem AS SalesDocumentItem,
DPSalesOrderItem.ConditionRateValue AS ConditionRateValue,
InvoiceHeader.AmountInTransactionCurrency AS AmountInTransactionCurrency,
SalesDocumentItem.SalesDocumentItemText AS SalesDocumentItemText,
SalesDocumentItem.OrderQuantity AS OrderQuantity,
SalesDocumentItem.OrderQuantityUnit AS OrderQuantityUnit,
SalesDocumentItem.NetPriceAmount AS NetPriceAmount,
SalesDocumentItem.NetAmount AS NetAmount,
DPSalesOrderItem.TransactionCurrency AS TransactionCurrency,
DPSalesOrderItem.TaxAmount AS TaxAmount,
DPSalesOrderItem._SalesDocument AS _SalesDocument,
InvoiceHeader._CompanyCode AS _CompanyCode,
SalesDocumentItem._OrderQuantityUnit AS _OrderQuantityUnit
FROM P_PL_SAFTInvoiceHeaderBasic
INNER JOIN I_PL_SAFTDownPaymentSlsOrdItm AS DPSalesOrderItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_SalesDocumentItem AS SalesDocumentItem ON /* join condition not captured in parsed metadata */
;
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