I_DemandDrivenPurDocHeader

DDL: I_DEMANDDRIVENPURDOCHEADER SQL: IPURDOCHED Type: view BASIC

Demand Driven Purchasing Document Header

I_DemandDrivenPurDocHeader is a Basic CDS View that provides data about "Demand Driven Purchasing Document Header" in SAP S/4HANA. It reads from 1 data source (ekko) and exposes 7 fields with key field PurchasingDocument.

Data Sources (1)

SourceAliasJoin Type
ekko ekko from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName IPURDOCHED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Demand Driven Purchasing Document Header view
VDM.viewType #BASIC view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument ebeln Source PurchDoc
CreationDate aedat Obsolete
PurchasingDocumentCategory bstyp Source doc.cat.
PurchasingOrganization ekorg Purchasing Org.
PurchasingDocumentType bsart Stnd purch.ord.
Supplier lifnr Vendor no.
IsEndOfPurposeBlocked iseopblocked Business Usage Comp.

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_DemandDrivenPurDocHeader.
-- 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: IPURDOCHED

CREATE VIEW I_DemandDrivenPurDocHeader AS
SELECT
  ebeln AS PurchasingDocument,
  aedat AS CreationDate,
  bstyp AS PurchasingDocumentCategory,
  ekorg AS PurchasingOrganization,
  bsart AS PurchasingDocumentType,
  lifnr AS Supplier,
  iseopblocked AS IsEndOfPurposeBlocked
FROM ekko
;