I_PT_SAFTAcctgDownPaytProd
Accounting DownPayment Product Line
I_PT_SAFTAcctgDownPaytProd is a Composite CDS View that provides data about "Accounting DownPayment Product Line" in SAP S/4HANA. It reads from 3 data sources (I_OperationalAcctgDocItem, I_PT_AcctgDocDgtlSgntr, I_PT_SAFTDownPaymentFinance) and exposes 7 fields with key fields CompanyCode, PT_SAFTDocumentNumber, PT_SAFTLineNumber. It has 1 association to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | a | from |
| I_PT_AcctgDocDgtlSgntr | b | inner |
| I_PT_SAFTDownPaymentFinance | d | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PT_SAFTAcctgDocMatlHist | _MaterialHist | $projection.AccountingDocument = _MaterialHist.AccountingDocument and $projection.CompanyCode = _MaterialHist.CompanyCode and $projection.FiscalYear = _MaterialHist.FiscalYear and $projection.Material = _MaterialHist.Material |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| EndUserText.label | Accounting DownPayment Product Line | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_OperationalAcctgDocItem | CompanyCode | Receiver Company Code |
| KEY | PT_SAFTDocumentNumber | |||
| KEY | PT_SAFTLineNumber | |||
| PortugueseInvoiceDate | I_PT_AcctgDocDgtlSgntr | PortugueseInvoiceDate | Date | |
| FiscalYear | I_OperationalAcctgDocItem | FiscalYear | G/L Fiscal Year | |
| Material | I_OperationalAcctgDocItem | Material | Vehicle Model | |
| AccountingDocument | I_OperationalAcctgDocItem | AccountingDocument | Journal Entry |
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 I_PT_SAFTAcctgDownPaytProd.
-- 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.
CREATE VIEW I_PT_SAFTAcctgDownPaytProd AS
SELECT
a.CompanyCode AS CompanyCode,
cast(b.PortugueseInvoiceNumber as saft_pt_documentnumber ) AS PT_SAFTDocumentNumber,
cast( a.AccountingDocumentItem as saft_pt_doclinenumber) AS PT_SAFTLineNumber,
b.PortugueseInvoiceDate AS PortugueseInvoiceDate,
a.FiscalYear AS FiscalYear,
a.Material AS Material,
a.AccountingDocument AS AccountingDocument
FROM I_OperationalAcctgDocItem AS a
INNER JOIN I_PT_AcctgDocDgtlSgntr AS b ON /* join condition not captured in parsed metadata */
INNER JOIN I_PT_SAFTDownPaymentFinance AS d ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PT_SAFTAcctgDocMatlHist AS _MaterialHist ON AccountingDocument = _MaterialHist.AccountingDocument AND CompanyCode = _MaterialHist.CompanyCode AND FiscalYear = _MaterialHist.FiscalYear AND Material = _MaterialHist.Material -- association [0..1]
;
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