I_CntrlPurgDocSchedLineEnhcd

DDL: I_CNTRLPURGDOCSCHEDLINEENHCD SQL: ICPURGDOCSLENCD Type: view BASIC

Central Purchasing Document ScheduleLine Enhanced

I_CntrlPurgDocSchedLineEnhcd is a Basic CDS View that provides data about "Central Purchasing Document ScheduleLine Enhanced" in SAP S/4HANA. It reads from 1 data source (mmpur_anaexteket) and exposes 110 fields with key fields PurchasingDocument, PurchasingDocumentItem, ScheduleLine, ProcurementHubSourceSystem. It has 18 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mmpur_anaexteket ScheduleLineEnhanced from

Associations (18)

CardinalityTargetAliasCondition
[1..1] I_ProcmtHubPurgOrg _HubPurchasingOrg $projection.ProcurementHubSourceSystem = _HubPurchasingOrg.ProcurementHubSourceSystem and $projection.PurchasingOrganization = _HubPurchasingOrg.ProcmtHubPurchasingOrg
[1..1] I_ProcmtHubPurgGroup _HubPurchasingGroup $projection.ProcurementHubSourceSystem = _HubPurchasingGroup.ProcurementHubSourceSystem and $projection.PurchasingGroup = _HubPurchasingGroup.ProcmtHubPurchasingGroup
[1..1] I_ProcmtHubSupplier _Supplier $projection.Supplier = _Supplier.ProcmtHubFixedSupplier and $projection.ProcurementHubSourceSystem = _Supplier.ProcurementHubSourceSystem
[1..1] I_BackendPlantForPurg _HubPlant $projection.Plant = _HubPlant.Plant and $projection.CompanyCode = _HubPlant.CompanyCode and $projection.ProcurementHubSourceSystem = _HubPlant.ProcurementHubSourceSystem
[1..1] I_BackendCoCodeForPurg _HubCompanyCode $projection.CompanyCode = _HubCompanyCode.CompanyCode and $projection.ProcurementHubSourceSystem = _HubCompanyCode.ProcurementHubSourceSystem
[1..1] I_ProcmtHubProduct _Material $projection.Material = _Material.ProcmtHubProduct and $projection.ProcurementHubSourceSystem = _Material.ProcurementHubSourceSystem
[1..1] I_ProcmtHubProductGroup _ProcmtHubProductGroupVH $projection.MaterialGroup = _ProcmtHubProductGroupVH.ProcmtHubProductGroup and $projection.ProcurementHubSourceSystem = _ProcmtHubProductGroupVH.ProcurementHubSourceSystem
[1..1] I_Currency _AnalyticalReportingCurrency $projection.AnalyticalReportingCurrency = _AnalyticalReportingCurrency.Currency
[1..1] I_Currency _AnalyticalReportingCurrency2 $projection.AnalyticalReportingCurrency2 = _AnalyticalReportingCurrency2.Currency
[1..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[1..1] I_Currency _DocumentCurrency $projection.DocumentCurrency = _DocumentCurrency.Currency
[1..1] I_UnitOfMeasure _POQuantityUnit $projection.PurchaseOrderQuantityUnit = _POQuantityUnit.UnitOfMeasure --
[0..1] I_UnitOfMeasure _OrderQuantityUnit $projection.OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure
[0..1] I_PurchasingDocumentCategory _PurchasingDocumentCategory $projection.PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory
[1..1] I_ProcmtHubPurgDocItmCat _PurgDocumentItemCategory $projection.PurchasingDocumentItemCategory = _PurgDocumentItemCategory.ItemCategory and $projection.ProcurementHubSourceSystem = _PurgDocumentItemCategory.ProcurementHubSourceSystem
[1..1] I_ProcmtHubPurgDocType _PurchasingDocumentType $projection.PurchasingDocumentCategory = _PurchasingDocumentType.PurchasingDocumentCategory and $projection.PurchasingDocumentType = _PurchasingDocumentType.PurchasingDocumentType and $projection.ProcurementHubSourceSystem = _PurchasingDocumentType.ExtSourceSystem
[1..1] I_BackendSourceSystem _BackendSourceSystem $projection.ProcurementHubSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem
[0..1] I_AccountAssignmentCategory _AccountAssignmentCategory $projection.AccountAssignmentCategory = _AccountAssignmentCategory.AccountAssignmentCategory

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICPURGDOCSLENCD view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Central Purchasing Document ScheduleLine Enhanced view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey PurchasingDocument view

Fields (110)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument mmpur_anaexteket ebeln Source PurchDoc
KEY PurchasingDocumentItem mmpur_anaexteket ebelp Item pur. doc.
KEY ScheduleLine mmpur_anaexteket etenr Schedule Line
KEY ProcurementHubSourceSystem be_source_sys Connected System ID
ScheduleLineUniqueID mmpur_anaexteket uniqueid Schedule line
PurchasingOrganization mmpur_anaexteket ekorg Purchasing Org.
PurchasingGroup mmpur_anaexteket ekgrp Sub. purchasing grp
CompanyCode mmpur_anaexteket bukrs Value
Supplier mmpur_anaexteket lifnr Vendor no.
Plant mmpur_anaexteket werks Receiving Plant
Material mmpur_anaexteket matnr Vehicle Model
MaterialGroup mmpur_anaexteket matkl Product Sold Group
ServicePerformer mmpur_anaexteket serviceperformer Service Performer
AnlytlCrcyExchangeRateStatus zero_val_repcurr_ind Reporting Currency
AnalyticalReportingCurrency waers_repcurr1 Reporting Currency 1
AnalyticalReportingCurrency2 waers_repcurr2 Reporting Currency 2
DocumentCurrency waers Transaction Currency
CompanyCodeCurrency waers_base Company Currency
NetPriceInReportingCurrency netpr_repcurr1 Net Price: Re. Cu. 1
NetPriceInReportingCurrency2 netpr_repcurr2 Net Price: Re. Cu. 2
NetPriceAmount netpr Price
NetPriceInCompanyCodeCrcy netpr_base Net Price: Cmp Cur.
NetAmountInReportingCurrency netwr_sl_repcurr1 Net Amt Rpting Crcy1
NetAmountInReportingCurrency2 netwr_sl_repcurr2 Net Amt Rpting Crcy2
NetAmount netwr Value
NetAmountInCoCodeCurrency netwr_base Net Amt (Co. Crcy)
OpenAmountInReportingCurrency obmng_netwr_repcurr1 Open Amount
OpenAmountInReportingCurrency2 obmng_netwr_repcurr2 Open Amount
OpenAmountInDocumentCurrency obmng_netwr Open Amt (Doc. Crcy)
OpenAmountInCompanyCodeCrcy obmng_netwr_base Open Amt in Co. Crcy
ScheduleLineOpenQuantity obmng Open Quantity
OrderQuantityUnit meins Valuation Unit
IsCompletelyDelivered elikz Delivery Completion
GoodsReceiptIsExpected wepos Goods Receipt
PurchasingDocumentDeletionCode loekz Status
PurchasingCompletenessStatus memory Incomplete
PurchasingDocumentCategory bstyp Source doc.cat.
PurchasingDocumentType bsart Stnd purch.ord.
PurchasingDocumentItemCategory pstyp Item Category
AccountAssignmentCategory knttp AcctAssgnCat:CC
CreationDate aedat Obsolete
PurchasingDocumentStatus statu Vehicle Status
CreatedByUser ernam User Name
CreatedByUserName userdescription Full Name
LastChangeDateTime lastchangedatetime Timestamp
PurchasingProcessingStatus procstat Tour Status
PurchasingDocumentOrderDate bedat_pohdr Document Date
PurchasingDocumentIsAged isaged Document aged
OrderQuantity menge_ekpo PO Quantity
PurchaseOrderQuantityUnit meins_ekpo Order Unit
ProductTypeCode producttype Product Type Group
ReleaseIsNotCompleted frgrl Subj.to Release
IsReturnsItem retpo Returns Item
ScheduleLineDeliveryDate eindt Initial Entry
SchedLineStscDeliveryDate slfdt Stat. Del. Date
ScheduleLineOrderQuantity menge WarrCountValue
PrevDelivQtyOfScheduleLine ameng Replenishmt qty
GoodsReceiptQuantity wemng Received
ScheduleLineIssuedQuantity wamng Issued
ScheduleLineDeliveryTime uzeit Time
PurchaseRequisition banfn Requisition
PurchaseRequisitionItem bnfpo Requisn. item
SourceOfCreation estkz Creation Ind.
ScheduleLineOrderDate bedat Start date
SchedulingAgreementReleaseType abart Settl. Category
ScheduleLineCommittedQuantity mng02 Scrap
CommittedDeliveryDate dat01 Finish date
SchedLinePrevDelivDate altdt Prev.deliv.date
ProductAvailabilityDate mbdat Mat.Avail.Date
MaterialStagingTime mbuhr Matl Staging Tme
LoadingDate lddat Loading Date
LoadingTime lduhr Loading Time
TransportationPlanningDate tddat TranspPlngDate
TransportationPlanningTime tduhr Tr. Plan. Time
GoodsIssueDate wadat Planned Gds Mvmt
GoodsIssueTime wauhr GI Time
STOLatestPossibleGRDate eldat Planned dates
STOLatestPossibleGRTime eluhr GR End Time
PurchaseContractItem ktpnr Agreement Item
PurchaseContract konnr Agreement
MultipleAcctAssgmtDistribution vrtkz Distribution
OrderPriceUnitToOrderUnitNmrtr bpumz Qty Conversion
OrdPriceUnitToOrderUnitDnmntr bpumn Qty Conversion
NetPriceQuantity peinh Unit of measure
PerformancePeriodStartDate startdate Valid From
PerformancePeriodEndDate enddate Term to
OrderPriceUnit bprme PO Price Unit
BaseUnit lmein Base Unit
SupplyingPlant reswk Supplying Plant
OrderItemQtyToBaseQtyNmrtr umrez Numerator
OrderItemQtyToBaseQtyDnmntr umren Denominator
SchedgLineDataAgingFilterDate _dataaging Data Aging
_BackendSourceSystem _BackendSourceSystem
_POQuantityUnit _POQuantityUnit
_HubPurchasingOrg _HubPurchasingOrg
_HubPurchasingGroup _HubPurchasingGroup
_HubCompanyCode _HubCompanyCode
_Supplier _Supplier
_HubPlant _HubPlant
_Material _Material
_ProcmtHubProductGroupVH _ProcmtHubProductGroupVH
_PurchasingDocumentCategory _PurchasingDocumentCategory
_PurchasingDocumentType _PurchasingDocumentType
_PurgDocumentItemCategory _PurgDocumentItemCategory
_AnalyticalReportingCurrency _AnalyticalReportingCurrency
_AnalyticalReportingCurrency2 _AnalyticalReportingCurrency2
_DocumentCurrency _DocumentCurrency
_CompanyCodeCurrency _CompanyCodeCurrency
_OrderQuantityUnit _OrderQuantityUnit
_AccountAssignmentCategory _AccountAssignmentCategory

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_CntrlPurgDocSchedLineEnhcd.
-- 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: ICPURGDOCSLENCD

CREATE VIEW I_CntrlPurgDocSchedLineEnhcd AS
SELECT
  ScheduleLineEnhanced.ebeln AS PurchasingDocument,
  ScheduleLineEnhanced.ebelp AS PurchasingDocumentItem,
  ScheduleLineEnhanced.etenr AS ScheduleLine,
  be_source_sys AS ProcurementHubSourceSystem,
  ScheduleLineEnhanced.uniqueid AS ScheduleLineUniqueID,
  ScheduleLineEnhanced.ekorg AS PurchasingOrganization,
  ScheduleLineEnhanced.ekgrp AS PurchasingGroup,
  ScheduleLineEnhanced.bukrs AS CompanyCode,
  ScheduleLineEnhanced.lifnr AS Supplier,
  ScheduleLineEnhanced.werks AS Plant,
  ScheduleLineEnhanced.matnr AS Material,
  ScheduleLineEnhanced.matkl AS MaterialGroup,
  ScheduleLineEnhanced.serviceperformer AS ServicePerformer,
  zero_val_repcurr_ind AS AnlytlCrcyExchangeRateStatus,
  waers_repcurr1 AS AnalyticalReportingCurrency,
  waers_repcurr2 AS AnalyticalReportingCurrency2,
  waers AS DocumentCurrency,
  waers_base AS CompanyCodeCurrency,
  netpr_repcurr1 AS NetPriceInReportingCurrency,
  netpr_repcurr2 AS NetPriceInReportingCurrency2,
  netpr AS NetPriceAmount,
  netpr_base AS NetPriceInCompanyCodeCrcy,
  netwr_sl_repcurr1 AS NetAmountInReportingCurrency,
  netwr_sl_repcurr2 AS NetAmountInReportingCurrency2,
  netwr AS NetAmount,
  netwr_base AS NetAmountInCoCodeCurrency,
  obmng_netwr_repcurr1 AS OpenAmountInReportingCurrency,
  obmng_netwr_repcurr2 AS OpenAmountInReportingCurrency2,
  obmng_netwr AS OpenAmountInDocumentCurrency,
  obmng_netwr_base AS OpenAmountInCompanyCodeCrcy,
  obmng AS ScheduleLineOpenQuantity,
  meins AS OrderQuantityUnit,
  elikz AS IsCompletelyDelivered,
  wepos AS GoodsReceiptIsExpected,
  loekz AS PurchasingDocumentDeletionCode,
  memory AS PurchasingCompletenessStatus,
  bstyp AS PurchasingDocumentCategory,
  bsart AS PurchasingDocumentType,
  pstyp AS PurchasingDocumentItemCategory,
  knttp AS AccountAssignmentCategory,
  aedat AS CreationDate,
  statu AS PurchasingDocumentStatus,
  ernam AS CreatedByUser,
  userdescription AS CreatedByUserName,
  LastChangeDateTime,
  procstat AS PurchasingProcessingStatus,
  bedat_pohdr AS PurchasingDocumentOrderDate,
  isaged AS PurchasingDocumentIsAged,
  menge_ekpo AS OrderQuantity,
  meins_ekpo AS PurchaseOrderQuantityUnit,
  producttype AS ProductTypeCode,
  frgrl AS ReleaseIsNotCompleted,
  retpo AS IsReturnsItem,
  eindt AS ScheduleLineDeliveryDate,
  slfdt AS SchedLineStscDeliveryDate,
  menge AS ScheduleLineOrderQuantity,
  ameng AS PrevDelivQtyOfScheduleLine,
  wemng AS GoodsReceiptQuantity,
  wamng AS ScheduleLineIssuedQuantity,
  uzeit AS ScheduleLineDeliveryTime,
  banfn AS PurchaseRequisition,
  bnfpo AS PurchaseRequisitionItem,
  estkz AS SourceOfCreation,
  bedat AS ScheduleLineOrderDate,
  abart AS SchedulingAgreementReleaseType,
  mng02 AS ScheduleLineCommittedQuantity,
  dat01 AS CommittedDeliveryDate,
  altdt AS SchedLinePrevDelivDate,
  mbdat AS ProductAvailabilityDate,
  mbuhr AS MaterialStagingTime,
  lddat AS LoadingDate,
  lduhr AS LoadingTime,
  tddat AS TransportationPlanningDate,
  tduhr AS TransportationPlanningTime,
  wadat AS GoodsIssueDate,
  wauhr AS GoodsIssueTime,
  eldat AS STOLatestPossibleGRDate,
  eluhr AS STOLatestPossibleGRTime,
  ktpnr AS PurchaseContractItem,
  konnr AS PurchaseContract,
  vrtkz AS MultipleAcctAssgmtDistribution,
  bpumz AS OrderPriceUnitToOrderUnitNmrtr,
  bpumn AS OrdPriceUnitToOrderUnitDnmntr,
  peinh AS NetPriceQuantity,
  startdate AS PerformancePeriodStartDate,
  enddate AS PerformancePeriodEndDate,
  bprme AS OrderPriceUnit,
  lmein AS BaseUnit,
  reswk AS SupplyingPlant,
  umrez AS OrderItemQtyToBaseQtyNmrtr,
  umren AS OrderItemQtyToBaseQtyDnmntr
FROM mmpur_anaexteket AS ScheduleLineEnhanced
LEFT OUTER JOIN I_ProcmtHubPurgOrg AS _HubPurchasingOrg ON ProcurementHubSourceSystem = _HubPurchasingOrg.ProcurementHubSourceSystem AND PurchasingOrganization = _HubPurchasingOrg.ProcmtHubPurchasingOrg  -- association [1..1]
LEFT OUTER JOIN I_ProcmtHubPurgGroup AS _HubPurchasingGroup ON ProcurementHubSourceSystem = _HubPurchasingGroup.ProcurementHubSourceSystem AND PurchasingGroup = _HubPurchasingGroup.ProcmtHubPurchasingGroup  -- association [1..1]
LEFT OUTER JOIN I_ProcmtHubSupplier AS _Supplier ON Supplier = _Supplier.ProcmtHubFixedSupplier AND ProcurementHubSourceSystem = _Supplier.ProcurementHubSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_BackendPlantForPurg AS _HubPlant ON Plant = _HubPlant.Plant AND CompanyCode = _HubPlant.CompanyCode AND ProcurementHubSourceSystem = _HubPlant.ProcurementHubSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_BackendCoCodeForPurg AS _HubCompanyCode ON CompanyCode = _HubCompanyCode.CompanyCode AND ProcurementHubSourceSystem = _HubCompanyCode.ProcurementHubSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_ProcmtHubProduct AS _Material ON Material = _Material.ProcmtHubProduct AND ProcurementHubSourceSystem = _Material.ProcurementHubSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_ProcmtHubProductGroup AS _ProcmtHubProductGroupVH ON MaterialGroup = _ProcmtHubProductGroupVH.ProcmtHubProductGroup AND ProcurementHubSourceSystem = _ProcmtHubProductGroupVH.ProcurementHubSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _AnalyticalReportingCurrency ON AnalyticalReportingCurrency = _AnalyticalReportingCurrency.Currency  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _AnalyticalReportingCurrency2 ON AnalyticalReportingCurrency2 = _AnalyticalReportingCurrency2.Currency  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _DocumentCurrency ON DocumentCurrency = _DocumentCurrency.Currency  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _POQuantityUnit ON PurchaseOrderQuantityUnit = _POQuantityUnit.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _OrderQuantityUnit ON OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentCategory AS _PurchasingDocumentCategory ON PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_ProcmtHubPurgDocItmCat AS _PurgDocumentItemCategory ON PurchasingDocumentItemCategory = _PurgDocumentItemCategory.ItemCategory AND ProcurementHubSourceSystem = _PurgDocumentItemCategory.ProcurementHubSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_ProcmtHubPurgDocType AS _PurchasingDocumentType ON PurchasingDocumentCategory = _PurchasingDocumentType.PurchasingDocumentCategory AND PurchasingDocumentType = _PurchasingDocumentType.PurchasingDocumentType AND ProcurementHubSourceSystem = _PurchasingDocumentType.ExtSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_BackendSourceSystem AS _BackendSourceSystem ON ProcurementHubSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_AccountAssignmentCategory AS _AccountAssignmentCategory ON AccountAssignmentCategory = _AccountAssignmentCategory.AccountAssignmentCategory  -- association [0..1]
;