P_ProductObjPgSupplier

DDL: P_PRODUCTOBJPGSUPPLIER SQL: PPRODOBJPGSPPLR Type: view CONSUMPTION Package: VDM_MD_PRODUCT_OBJPAGE_APP

Product Object Page - Supplier (helper)

P_ProductObjPgSupplier is a Consumption CDS View that provides data about "Product Object Page - Supplier (helper)" in SAP S/4HANA. It reads from 1 data source (I_SupplierByProduct) and exposes 5 fields with key fields Product, Supplier. It has 1 association to related views. Part of development package VDM_MD_PRODUCT_OBJPAGE_APP.

Data Sources (1)

SourceAliasJoin Type
I_SupplierByProduct I_SupplierByProduct from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_Suppliercontact _SupplierContact $projection.businesspartneruuid = _SupplierContact.PartnerUUID and _SupplierContact.IsDefaultAddress = 'X' and _SupplierContact.ValidityStartDate <= $session.system_date and _SupplierContact.ValidityEndDate >= $session.system_date

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PPRODOBJPGSPPLR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY Supplier Supplier Supplier
BusinessPartnerUUID
_Supplier _Supplier
_SupplierContact _SupplierContact

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_ProductObjPgSupplier.
-- 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: PPRODOBJPGSPPLR

CREATE VIEW P_ProductObjPgSupplier AS
SELECT
  Product,
  Supplier,
  _Supplier._SupplierToBusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID
FROM I_SupplierByProduct
LEFT OUTER JOIN I_Suppliercontact AS _SupplierContact ON businesspartneruuid = _SupplierContact.PartnerUUID AND _SupplierContact.IsDefaultAddress = 'X' AND _SupplierContact.ValidityStartDate <= $session.system_date AND _SupplierContact.ValidityEndDate >= $session.system_date  -- association [0..*]
;