I_CntrlPurOrderScheduleLine

DDL: I_CNTRLPURORDERSCHEDULELINE SQL: IMMCPOSCHDULELN Type: view BASIC Package: VDM_MM_PUR_EXT_PO

Central Purchase Order Schedule Line

I_CntrlPurOrderScheduleLine is a Basic CDS View that provides data about "Central Purchase Order Schedule Line" in SAP S/4HANA. It reads from 1 data source (mmpur_ext_eket) and exposes 48 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine, ExtSourceSystem. It has 5 associations to related views. Part of development package VDM_MM_PUR_EXT_PO.

Data Sources (1)

SourceAliasJoin Type
mmpur_ext_eket eket from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_CentralPurchaseOrder _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder and $projection.ExtSourceSystem = _PurchaseOrder.ExtSourceSystem
[1..1] I_CentralPurchaseOrderItem _PurchaseOrderItem $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem and $projection.ExtSourceSystem = _PurchaseOrderItem.ExtSourceSystem
[0..1] I_UnitOfMeasure _PurchaseOrderQuantityUnit $projection.PurchaseOrderQuantityUnit = _PurchaseOrderQuantityUnit.UnitOfMeasure
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[1..1] I_Deliverydatecategory _DeliveryDateCategory $projection.DelivDateCategory = _DeliveryDateCategory.DelivDateCategory

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Central Purchase Order Schedule Line view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IMMCPOSCHDULELN view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey ScheduleLine view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder mmpur_ext_eket ebeln Source PurchDoc
KEY PurchaseOrderItem mmpur_ext_eket ebelp Item pur. doc.
KEY ScheduleLine mmpur_ext_eket etenr Schedule Line
KEY ExtSourceSystem mmpur_ext_eket extsourcesystem Connected System ID
DelivDateCategory lpein Price Unit
ScheduleLineDeliveryDate eindt Initial Entry
SchedLineStscDeliveryDate slfdt Stat. Del. Date
PerformancePeriodStartDate startdate Valid From
PerformancePeriodEndDate enddate Term to
ScheduleLineDeliveryTime uzeit Time
ScheduleLineOrderQuantity mmpur_ext_eket menge WarrCountValue
RoughGoodsReceiptQty wemng Received
PurchaseRequisition mmpur_ext_eket banfn Requisition
PurchaseRequisitionItem mmpur_ext_eket bnfpo Requisn. item
SourceOfCreation estkz Creation Ind.
PrevDelivQtyOfScheduleLine ameng Replenishmt qty
NoOfRemindersOfScheduleLine mmpur_ext_eket mahnz No. Rem./Exp.
ScheduleLineIsFixed fixkz Fixing Ind.
ScheduleLineCommittedQuantity mng02 Scrap
Reservation rsnum Reservation
ProductAvailabilityDate mbdat Mat.Avail.Date
MaterialStagingTime mbuhr Matl Staging Tme
TransportationPlanningDate tddat TranspPlngDate
TransportationPlanningTime tduhr Tr. Plan. Time
LoadingDate lddat Loading Date
LoadingTime lduhr Loading Time
GoodsIssueDate wadat Planned Gds Mvmt
GoodsIssueTime wauhr GI Time
STOLatestPossibleGRDate eldat Planned dates
STOLatestPossibleGRTime eluhr GR End Time
GoodsReceiptQuantity wemng Received
StockTransferDeliveredQuantity glmng Qty Delivered
ScheduleLineIssuedQuantity wamng Issued
Batch charg Chargeable Proc.
ScheduleLineOrderDate bedat Start date
SchedulingAgreementReleaseType abart Settl. Category
CommittedDeliveryDate dat01 Finish date
SchedLinePrevDelivDate altdt Prev.deliv.date
SchedgLineDataAgingFilterDate _dataaging Data Aging
OpenPurchaseOrderQuantity mmpur_ext_eket openpurchaseorderquantity Open Purchase Order Quantity
PurchaseOrderQuantityUnit mmpur_ext_eket purchaseorderquantityunit Order Unit
Currency mmpur_ext_eket currency Valuation Crcy
ScheduleLineOpenQuantity mmpur_ext_eket schedulelineopenquantity SchLineOpenQuan
_PurchaseOrder _PurchaseOrder
_PurchaseOrderItem _PurchaseOrderItem
_PurchaseOrderQuantityUnit _PurchaseOrderQuantityUnit
_Currency _Currency
_DeliveryDateCategory _DeliveryDateCategory

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_CntrlPurOrderScheduleLine.
-- 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: IMMCPOSCHDULELN

CREATE VIEW I_CntrlPurOrderScheduleLine AS
SELECT
  eket.ebeln AS PurchaseOrder,
  eket.ebelp AS PurchaseOrderItem,
  eket.etenr AS ScheduleLine,
  eket.extsourcesystem AS ExtSourceSystem,
  lpein AS DelivDateCategory,
  eindt AS ScheduleLineDeliveryDate,
  slfdt AS SchedLineStscDeliveryDate,
  startdate AS PerformancePeriodStartDate,
  enddate AS PerformancePeriodEndDate,
  uzeit AS ScheduleLineDeliveryTime,
  eket.menge AS ScheduleLineOrderQuantity,
  wemng AS RoughGoodsReceiptQty,
  eket.banfn AS PurchaseRequisition,
  eket.bnfpo AS PurchaseRequisitionItem,
  estkz AS SourceOfCreation,
  ameng AS PrevDelivQtyOfScheduleLine,
  eket.mahnz AS NoOfRemindersOfScheduleLine,
  fixkz AS ScheduleLineIsFixed,
  mng02 AS ScheduleLineCommittedQuantity,
  rsnum AS Reservation,
  mbdat AS ProductAvailabilityDate,
  mbuhr AS MaterialStagingTime,
  tddat AS TransportationPlanningDate,
  tduhr AS TransportationPlanningTime,
  lddat AS LoadingDate,
  lduhr AS LoadingTime,
  wadat AS GoodsIssueDate,
  wauhr AS GoodsIssueTime,
  eldat AS STOLatestPossibleGRDate,
  eluhr AS STOLatestPossibleGRTime,
  wemng AS GoodsReceiptQuantity,
  glmng AS StockTransferDeliveredQuantity,
  wamng AS ScheduleLineIssuedQuantity,
  charg AS Batch,
  bedat AS ScheduleLineOrderDate,
  abart AS SchedulingAgreementReleaseType,
  dat01 AS CommittedDeliveryDate,
  altdt AS SchedLinePrevDelivDate,
  eket.openpurchaseorderquantity AS OpenPurchaseOrderQuantity,
  eket.purchaseorderquantityunit AS PurchaseOrderQuantityUnit,
  eket.currency AS Currency,
  eket.schedulelineopenquantity AS ScheduleLineOpenQuantity
FROM mmpur_ext_eket AS eket
LEFT OUTER JOIN I_CentralPurchaseOrder AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder AND ExtSourceSystem = _PurchaseOrder.ExtSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_CentralPurchaseOrderItem AS _PurchaseOrderItem ON PurchaseOrder = _PurchaseOrderItem.PurchaseOrder AND PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem AND ExtSourceSystem = _PurchaseOrderItem.ExtSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _PurchaseOrderQuantityUnit ON PurchaseOrderQuantityUnit = _PurchaseOrderQuantityUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Deliverydatecategory AS _DeliveryDateCategory ON DelivDateCategory = _DeliveryDateCategory.DelivDateCategory  -- association [1..1]
;