A_PurchaseOrderPartner_2

DDL: A_PURCHASEORDERPARTNER_2 Type: view_entity CONSUMPTION Package: ODATA_MM_PUR_PO_API_2

Partner

A_PurchaseOrderPartner_2 is a Consumption CDS View that provides data about "Partner" in SAP S/4HANA. It reads from 1 data source (R_PurchaseOrderPartnerTP) and exposes 15 fields with key fields PurchaseOrder, PartnerFunction. It is exposed through 1 OData service (API_PURCHASEORDER_2). Part of development package ODATA_MM_PUR_PO_API_2.

Data Sources (1)

SourceAliasJoin Type
R_PurchaseOrderPartnerTP R_PurchaseOrderPartnerTP projection

Annotations (10)

NameValueLevelField
EndUserText.label Partner view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name PurchaseOrderPartner_Type view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
API_PURCHASEORDER_2 API_PURCHASEORDER_2 V4 C2 C1

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PartnerFunction PartnerFunction Partner Functn
SupplierSubrange SupplierSubrange Suppl. Subrange
Plant Plant Valuation Area
PurchasingOrganization PurchasingOrganization Purchasing Organization
PartnerCounter PartnerCounter Partner counter
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
PurchasingDocumentPartnerType PurchasingDocumentPartnerType Partner Type
Supplier Supplier Supplier
SupplierHierarchyCategory SupplierHierarchyCategory Hierarchy Cat.
SupplierContact SupplierContact Contact Person
PersonWorkAgreement PersonWorkAgreement Personnel No.
EmploymentInternalID EmploymentInternalID WorkForce Assgmt ID
DefaultPartner DefaultPartner Default Partner

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 A_PurchaseOrderPartner_2.
-- 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 A_PurchaseOrderPartner_2 AS
SELECT
  PurchaseOrder,
  PartnerFunction,
  SupplierSubrange,
  Plant,
  PurchasingOrganization,
  PartnerCounter,
  CreatedByUser,
  CreationDate,
  PurchasingDocumentPartnerType,
  Supplier,
  SupplierHierarchyCategory,
  SupplierContact,
  PersonWorkAgreement,
  EmploymentInternalID,
  DefaultPartner
FROM R_PurchaseOrderPartnerTP
;