P_MLCtrProposalPOItem

DDL: P_MLCTRPROPOSALPOITEM SQL: PMLCPPOITEM Type: view BASIC

P_MLCtrProposalPOItem is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (ekpo) and exposes 14 fields with key fields PurchaseOrder, PurchaseOrderItem.

Data Sources (1)

SourceAliasJoin Type
ekpo item from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMLCPPOITEM view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder ekpo ebeln Source PurchDoc
KEY PurchaseOrderItem ekpo ebelp Item pur. doc.
CreationDate header aedat Obsolete
PurchaseOrderDate header bedat Start date
Material ekpo matnr Vehicle Model
MaterialGroup ekpo matkl Product Sold Group
MaterialType ekpo mtart Product Type
PurchasingOrganization header ekorg Purchasing Org.
DocumentCurrency header waers Transaction Currency
GrossAmount ekpo brtwr Gross value
Supplier header lifnr Vendor no.
DeliveryTimeInDays ekpo plifz Plnd Deliv.Time
PurchaseContract ekpo konnr Agreement
ConsumptionPosting ekpo kzvbr Consumption

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 P_MLCtrProposalPOItem.
-- 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: PMLCPPOITEM

CREATE VIEW P_MLCtrProposalPOItem AS
SELECT
  item.ebeln AS PurchaseOrder,
  item.ebelp AS PurchaseOrderItem,
  header.aedat AS CreationDate,
  header.bedat AS PurchaseOrderDate,
  item.matnr AS Material,
  item.matkl AS MaterialGroup,
  item.mtart AS MaterialType,
  header.ekorg AS PurchasingOrganization,
  header.waers AS DocumentCurrency,
  item.brtwr AS GrossAmount,
  header.lifnr AS Supplier,
  item.plifz AS DeliveryTimeInDays,
  item.konnr AS PurchaseContract,
  item.kzvbr AS ConsumptionPosting
FROM ekpo AS item
;