I_PurgDocScheduleLine

DDL: I_PURGDOCSCHEDULELINE SQL: IMMPRGDOCSCHEDLN Type: view BASIC

Purchasing Document Schedule Line

I_PurgDocScheduleLine is a Basic CDS View that provides data about "Purchasing Document Schedule Line" in SAP S/4HANA. It reads from 1 data source (eket) and exposes 44 fields with key fields PurchasingDocument, PurchasingDocumentItem, ScheduleLine. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
eket eket from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Purchaserequisitionitem _PurchaseRequisitionItem $projection.PurchaseRequisition = _PurchaseRequisitionItem.PurchaseRequisition and $projection.PurchaseRequisitionItem = _PurchaseRequisitionItem.PurchaseRequisitionItem
[1..1] I_Purchaserequisition _PurchaseRequisition $projection.PurchaseRequisition = _PurchaseRequisition.PurchaseRequisition
[1..1] I_Deliverydatecategory _DeliveryDateCategory $projection.DelivDateCategory = _DeliveryDateCategory.DelivDateCategory

Annotations (10)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Purchasing Document Schedule Line view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IMMPRGDOCSCHEDLN view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument eket ebeln Source PurchDoc
KEY PurchasingDocumentItem eket ebelp Item pur. doc.
KEY ScheduleLine etenr Schedule Line
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 eket menge WarrCountValue
ScheduleLineOrderDate bedat Start date
RoughGoodsReceiptQty wemng Received
SchedulingAgreementReleaseType abart Settl. Category
CommittedDeliveryDate dat01 Finish date
SchedLinePrevDelivDate altdt Prev.deliv.date
SchedulingLineDataAgingFilter _dataaging Data Aging
PurchaseRequisition eket banfn Requisition
PurchaseRequisitionItem eket bnfpo Requisn. item
SourceOfCreation estkz Creation Ind.
PrevDelivQtyOfScheduleLine ameng Replenishmt qty
NoOfRemindersOfScheduleLine 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.
RouteSchedule aulwe Route Schedule
ProductAvailabilityTime mbuhr Matl Staging Tme
ScheduleLineUniqueID eket uniqueid Schedule line
_PurchaseRequisition _PurchaseRequisition
_PurchaseRequisitionItem _PurchaseRequisitionItem
_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_PurgDocScheduleLine.
-- 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: IMMPRGDOCSCHEDLN

CREATE VIEW I_PurgDocScheduleLine AS
SELECT
  eket.ebeln AS PurchasingDocument,
  eket.ebelp AS PurchasingDocumentItem,
  etenr AS ScheduleLine,
  lpein AS DelivDateCategory,
  eindt AS ScheduleLineDeliveryDate,
  slfdt AS SchedLineStscDeliveryDate,
  startdate AS PerformancePeriodStartDate,
  enddate AS PerformancePeriodEndDate,
  uzeit AS ScheduleLineDeliveryTime,
  eket.menge AS ScheduleLineOrderQuantity,
  bedat AS ScheduleLineOrderDate,
  wemng AS RoughGoodsReceiptQty,
  abart AS SchedulingAgreementReleaseType,
  dat01 AS CommittedDeliveryDate,
  altdt AS SchedLinePrevDelivDate,
  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,
  aulwe AS RouteSchedule,
  mbuhr AS ProductAvailabilityTime,
  eket.uniqueid AS ScheduleLineUniqueID
FROM eket
LEFT OUTER JOIN I_Purchaserequisitionitem AS _PurchaseRequisitionItem ON PurchaseRequisition = _PurchaseRequisitionItem.PurchaseRequisition AND PurchaseRequisitionItem = _PurchaseRequisitionItem.PurchaseRequisitionItem  -- association [0..1]
LEFT OUTER JOIN I_Purchaserequisition AS _PurchaseRequisition ON PurchaseRequisition = _PurchaseRequisition.PurchaseRequisition  -- association [1..1]
LEFT OUTER JOIN I_Deliverydatecategory AS _DeliveryDateCategory ON DelivDateCategory = _DeliveryDateCategory.DelivDateCategory  -- association [1..1]
;