P_MLCtrProposalPurCtrItem

DDL: P_MLCTRPROPOSALPURCTRITEM SQL: PMLCPPCITEM Type: view BASIC Package: ODATA_MM_PUR_MAT_PROPOSE_CTR

Purchase Contract Items for Contract Proposal ML

P_MLCtrProposalPurCtrItem is a Basic CDS View that provides data about "Purchase Contract Items for Contract Proposal ML" in SAP S/4HANA. It reads from 1 data source (ekpo) and exposes 7 fields with key fields PurchaseContract, PurchaseContractItem. Part of development package ODATA_MM_PUR_MAT_PROPOSE_CTR.

Data Sources (1)

SourceAliasJoin Type
ekpo item from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMLCPPCITEM 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 (7)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContract ekpo ebeln Source PurchDoc
KEY PurchaseContractItem ekpo ebelp Item pur. doc.
Material ekpo matnr Vehicle Model
PurchasingOrganization header ekorg Purchasing Org.
ValidityStartDate
ValidityEndDate
int4asPOItemHasConsumptionPosting

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_MLCtrProposalPurCtrItem.
-- 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: PMLCPPCITEM

CREATE VIEW P_MLCtrProposalPurCtrItem AS
SELECT
  item.ebeln AS PurchaseContract,
  item.ebelp AS PurchaseContractItem,
  item.matnr AS Material,
  header.ekorg AS PurchasingOrganization,
  cast(header.kdatb as abap.char(8) ) AS ValidityStartDate,
  cast(header.kdate as abap.char(8) ) AS ValidityEndDate,
  cast(case when item.kzvbr = '' then 1 else 0 end as abap.int4) as POItemHasConsumptionPosting AS int4asPOItemHasConsumptionPosting
FROM ekpo AS item
;