P_AU_StRpPTRMultiplePOPerInvc

DDL: P_AU_STRPPTRMULTIPLEPOPERINVC Type: view_entity COMPOSITE Package: GLO_FIN_IS_AU

Invoice has multiple POs

P_AU_StRpPTRMultiplePOPerInvc is a Composite CDS View that provides data about "Invoice has multiple POs" in SAP S/4HANA. It reads from 1 data source (I_SupplierInvoiceItemPurOrdRef) and exposes 4 fields. Part of development package GLO_FIN_IS_AU.

Data Sources (1)

SourceAliasJoin Type
I_SupplierInvoiceItemPurOrdRef doc from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
SuplrInvcPurgDocItmCompanyCode I_SupplierInvoiceItemPurOrdRef SuplrInvcPurgDocItmCompanyCode
FiscalYear I_SupplierInvoiceItemPurOrdRef FiscalYear G/L Fiscal Year
SupplierInvoice I_SupplierInvoiceItemPurOrdRef SupplierInvoice
PurchaseContract

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_AU_StRpPTRMultiplePOPerInvc.
-- 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 P_AU_StRpPTRMultiplePOPerInvc AS
SELECT
  doc.SuplrInvcPurgDocItmCompanyCode AS SuplrInvcPurgDocItmCompanyCode,
  doc.FiscalYear AS FiscalYear,
  doc.SupplierInvoice AS SupplierInvoice,
  min(doc._PurchasingDocumentItem.PurchaseContract) AS PurchaseContract
FROM I_SupplierInvoiceItemPurOrdRef AS doc
;