I_PurchaseOrderDraft

DDL: I_PURCHASEORDERDRAFT SQL: IPURORDDRAFT Type: view BASIC Package: APPL_MM_PUR_PO_TR

Purchase Order - Draft

I_PurchaseOrderDraft is a Basic CDS View that provides data about "Purchase Order - Draft" in SAP S/4HANA. It reads from 1 data source (purordtp_d) and exposes 6 fields with key field PurchaseOrderUUID. Part of development package APPL_MM_PUR_PO_TR.

Data Sources (1)

SourceAliasJoin Type
purordtp_d purordtp_d from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPURORDDRAFT view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Purchase Order - Draft view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrderUUID draftuuid UUID
PurchaseOrder purchaseorder Purchasing Document
PurchaseOrderType purchaseordertype PO Type
CreationDate creationdate Time Stamp
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
Supplier supplier Supplier

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 I_PurchaseOrderDraft.
-- 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: IPURORDDRAFT

CREATE VIEW I_PurchaseOrderDraft AS
SELECT
  draftuuid AS PurchaseOrderUUID,
  PurchaseOrder,
  PurchaseOrderType,
  CreationDate,
  DraftAdministrativeDataUUID,
  Supplier
FROM purordtp_d
;