I_PT_SAFTAcctgDownPaytProd

DDL: I_PT_SAFTACCTGDOWNPAYTPROD Type: view_entity COMPOSITE

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)

Associations (1)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;