I_PurchaseContractDraft

DDL: I_PURCHASECONTRACTDRAFT SQL: IPURCONTRDRAFT Type: view BASIC

Draft View Purchase Contracts

I_PurchaseContractDraft is a Basic CDS View that provides data about "Draft View Purchase Contracts" in SAP S/4HANA. It reads from 1 data source (purctr_hdr_d) and exposes 5 fields with key field PurchaseContractUUID.

Data Sources (1)

SourceAliasJoin Type
purctr_hdr_d purctr_hdr_d from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPURCONTRDRAFT view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Draft View Purchase Contracts view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContractUUID draftuuid UUID
PurchaseContract purchasecontract Purchasing Doc.
PurchaseContractType purchasecontracttype Order Type
PurchasingDocumentCategory purchasingdocumentcategory Doc. Category
CreationDate creationdate Time Stamp

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_PurchaseContractDraft.
-- 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: IPURCONTRDRAFT

CREATE VIEW I_PurchaseContractDraft AS
SELECT
  draftuuid AS PurchaseContractUUID,
  PurchaseContract,
  PurchaseContractType,
  PurchasingDocumentCategory,
  CreationDate
FROM purctr_hdr_d
;