C_PurchaseOrderFeature

DDL: C_PURCHASEORDERFEATURE SQL: CPURORDFEATURE Type: view CONSUMPTION Package: ODATA_MM_PUR_PO_MAINTAIN_V2

Feature of Purchase Order

C_PurchaseOrderFeature is a Consumption CDS View that provides data about "Feature of Purchase Order" in SAP S/4HANA. It reads from 1 data source (I_PurchaseOrder) and exposes 5 fields with key fields PurchaseOrder, PurchasingFeature. It has 1 association to related views. Part of development package ODATA_MM_PUR_PO_MAINTAIN_V2.

Data Sources (1)

SourceAliasJoin Type
I_PurchaseOrder I_PurchaseOrder from

Associations (1)

CardinalityTargetAliasCondition
[1..*] C_PurchaseOrderFeatureDetail _PurchaseOrderFeatureDetail $projection.PurchaseOrder = _PurchaseOrderFeatureDetail.PurchaseOrder

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CPURORDFEATURE view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Feature of Purchase Order view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchasingFeature
PurchasingFeatureName
PurchasingFeatureIsSupported
_PurchaseOrderFeatureDetail _PurchaseOrderFeatureDetail

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_PurchaseOrderFeature.
-- 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: CPURORDFEATURE

CREATE VIEW C_PurchaseOrderFeature AS
SELECT
  PurchaseOrder,
  cast('' as purchasing_document_feature) AS PurchasingFeature,
  cast('' as abap.char(80)) AS PurchasingFeatureName,
  '' AS PurchasingFeatureIsSupported
FROM I_PurchaseOrder
LEFT OUTER JOIN C_PurchaseOrderFeatureDetail AS _PurchaseOrderFeatureDetail ON PurchaseOrder = _PurchaseOrderFeatureDetail.PurchaseOrder  -- association [1..*]
;