C_PurchaseOrderTypeDP

DDL: C_PURCHASEORDERTYPEDP Type: view_entity CONSUMPTION Package: MM_PUR_MASTER_DATA_BDC

Purchase Order Type

C_PurchaseOrderTypeDP is a Consumption CDS View that provides data about "Purchase Order Type" in SAP S/4HANA. It reads from 1 data source (I_PurchaseOrderType) and exposes 6 fields with key field PurchaseOrderType. It has 1 association to related views. It is exposed through 1 OData service (DP_PROCMTCONFIGURATIONDATA). Part of development package MM_PUR_MASTER_DATA_BDC.

Data Sources (1)

SourceAliasJoin Type
I_PurchaseOrderType I_PurchaseOrderType from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_PurchasingDocumentTypeTextDP _Text $projection.PurchaseOrderType = _Text.PurchasingDocumentType and _Text.PurchasingDocumentCategory = 'F'

Annotations (11)

NameValueLevelField
Metadata.allowExtensions true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Purchase Order Type view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #EXTERNAL_DATA_PROVIDER view
ObjectModel.representativeKey PurchaseOrderType view
ObjectModel.sapObjectNodeType.name PurchaseOrderType view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
DP_PROCMTCONFIGURATIONDATA DP_PROCMTCONFIGURATIONDATA C2 NOT_RELEASED

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrderType PurchaseOrderType PO Type
PurchasingDocumentSubtype PurchasingDocumentSubtype Control
PurgDocFieldSelControlKey PurgDocFieldSelControlKey
PurgHasFlxblWorkflowApproval
PartnerDeterminationProcedure PartnerDeterminationProcedure
_Text _Text

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 C_PurchaseOrderTypeDP.
-- 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 C_PurchaseOrderTypeDP AS
SELECT
  PurchaseOrderType,
  PurchasingDocumentSubtype,
  PurgDocFieldSelControlKey,
  cast(PurgHasFlxblWorkflowApproval as mm_scbsd_wfl_bdc) AS PurgHasFlxblWorkflowApproval,
  PartnerDeterminationProcedure
FROM I_PurchaseOrderType
LEFT OUTER JOIN C_PurchasingDocumentTypeTextDP AS _Text ON PurchaseOrderType = _Text.PurchasingDocumentType AND _Text.PurchasingDocumentCategory = 'F'  -- association [0..*]
;