I_ElectronicDocPurchasingDoc

DDL: I_ELECTRONICDOCPURCHASINGDOC SQL: IEDOCPURCHDOC Type: view BASIC

Electronic Document: Purchasing Document

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

Data Sources (1)

SourceAliasJoin Type
ekko ekko from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IEDOCPURCHDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Electronic Document: Purchasing Document view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument ebeln Source PurchDoc
PurchasingDocumentOrderDate bedat Start date
Supplier Vendor no.
PurchasingOrganization ekorg Purchasing Org.

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_ElectronicDocPurchasingDoc.
-- 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: IEDOCPURCHDOC

CREATE VIEW I_ElectronicDocPurchasingDoc AS
SELECT
  ebeln AS PurchasingDocument,
  bedat AS PurchasingDocumentOrderDate,
  cast ( lifnr as md_supplier preserving type) AS Supplier,
  ekorg AS PurchasingOrganization
FROM ekko
;