P_PT_SAFT_BillDocOnInvoiceList

DDL: P_PT_SAFT_BILLDOCONINVOICELIST SQL: PPTSAFTBDOCSIL Type: view COMPOSITE

P_PT_SAFT_BillDocOnInvoiceList is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_PT_BillgDocDgtlSgntr, P_SAFT_BillDocOnInvoiceList) and exposes 12 fields with key fields InvoiceList, InvoiceListItem, BillingDocument.

Data Sources (2)

SourceAliasJoin Type
I_PT_BillgDocDgtlSgntr DigSig inner
P_SAFT_BillDocOnInvoiceList ILItem from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PPTSAFTBDOCSIL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY InvoiceList P_SAFT_BillDocOnInvoiceList InvoiceList Invoice List
KEY InvoiceListItem P_SAFT_BillDocOnInvoiceList InvoiceListItem
KEY BillingDocument P_SAFT_BillDocOnInvoiceList BillingDocument SD Document
SDDocumentCategory P_SAFT_BillDocOnInvoiceList SDDocumentCategory Document Cat.
CompanyCode P_SAFT_BillDocOnInvoiceList CompanyCode Receiver Company Code
PortugueseInvoiceNumber I_PT_BillgDocDgtlSgntr PortugueseInvoiceNumber
NetAmount P_SAFT_BillDocOnInvoiceList NetAmount Stated Amount
RemunerationNetAmount P_SAFT_BillDocOnInvoiceList RemunerationNetAmount
BillingDocumentOnInvoiceList BillingDocumentOnInvoiceList
_CompanyCode _CompanyCode
_InvoiceList _InvoiceList
_BillingDocument _BillingDocument

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_PT_SAFT_BillDocOnInvoiceList.
-- 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: PPTSAFTBDOCSIL

CREATE VIEW P_PT_SAFT_BillDocOnInvoiceList AS
SELECT
  ILItem.InvoiceList AS InvoiceList,
  ILItem.InvoiceListItem AS InvoiceListItem,
  ILItem.BillingDocument AS BillingDocument,
  ILItem.SDDocumentCategory AS SDDocumentCategory,
  ILItem.CompanyCode AS CompanyCode,
  DigSig.PortugueseInvoiceNumber AS PortugueseInvoiceNumber,
  ILItem.NetAmount AS NetAmount,
  ILItem.RemunerationNetAmount AS RemunerationNetAmount,
  BillingDocumentOnInvoiceList
FROM P_SAFT_BillDocOnInvoiceList AS ILItem
INNER JOIN I_PT_BillgDocDgtlSgntr AS DigSig ON /* join condition not captured in parsed metadata */
;