P_CoCodePurchasingOrganization

DDL: P_COCODEPURCHASINGORGANIZATION SQL: PCOCODEPURORG Type: view COMPOSITE Package: ODATA_SUPPLIER_LIST

Company Code Purchasing Organization

P_CoCodePurchasingOrganization is a Composite CDS View that provides data about "Company Code Purchasing Organization" in SAP S/4HANA. It reads from 2 data sources (I_SupplierCompany, I_SupplierPurchasingOrg) and exposes 3 fields with key fields Supplier, CompanyCode. Part of development package ODATA_SUPPLIER_LIST.

Data Sources (2)

SourceAliasJoin Type
I_SupplierCompany _SupplierCompany inner
I_SupplierPurchasingOrg _SupplierPurchasingOrg inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCOCODEPURORG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY Supplier I_SupplierCompany Supplier Supplier
KEY CompanyCode I_SupplierCompany CompanyCode Receiver Company Code
PurchasingOrganization _CoCodePurchasingOrg PurchasingOrganization Purchasing Organization

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_CoCodePurchasingOrganization.
-- 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: PCOCODEPURORG

CREATE VIEW P_CoCodePurchasingOrganization AS
SELECT
  _SupplierCompany.Supplier AS Supplier,
  _SupplierCompany.CompanyCode AS CompanyCode,
  _CoCodePurchasingOrg.PurchasingOrganization AS PurchasingOrganization
INNER JOIN I_SupplierCompany AS _SupplierCompany ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupplierPurchasingOrg AS _SupplierPurchasingOrg ON /* join condition not captured in parsed metadata */
;