I_SchedgAgrmtSchedLineEnhcd

DDL: I_SCHEDGAGRMTSCHEDLINEENHCD SQL: ISCHEDGAGRMTENHD Type: view BASIC

Scheduling Agreement from Analytical table

I_SchedgAgrmtSchedLineEnhcd is a Basic CDS View that provides data about "Scheduling Agreement from Analytical table" in SAP S/4HANA. It reads from 1 data source (mmpur_ana_eket) and exposes 122 fields with key fields SchedulingAgreement, SchedulingAgreementItem, ScheduleLine, ProcurementHubSourceSystem. It has 20 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mmpur_ana_eket ScheduleLineEnhanced from

Associations (20)

CardinalityTargetAliasCondition
[1..1] I_PurchasingOrganization _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[1..1] I_PurchasingGroup _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[1..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_Material _Material $projection.Material = _Material.Material
[1..1] I_MaterialGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup
[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 _OrderQuantityUnit $projection.OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure
[1..1] I_UnitOfMeasure _PurgDocQuantityUnit $projection.PurgDocOrderQuantityUnit = _PurgDocQuantityUnit.UnitOfMeasure
[0..1] I_PurgDocumentItemCategory _PurgDocumentItemCategory $projection.PurchasingDocumentItemCategory = _PurgDocumentItemCategory.PurchasingDocumentItemCategory
[1..1] I_PurchasingDocumentCategory _PurchasingDocumentCategory $projection.PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory
[0..1] I_PurchasingDocumentType _PurchasingDocumentType $projection.PurchasingDocumentCategory = _PurchasingDocumentType.PurchasingDocumentCategory and $projection.PurchasingDocumentType = _PurchasingDocumentType.PurchasingDocumentType
[1..1] I_Deliverydatecategory _DeliveryDateCategory $projection.DelivDateCategory = _DeliveryDateCategory.DelivDateCategory
[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_BackendSourceSystem _BackendSourceSystem $projection.ProcurementHubSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ISCHEDGAGRMTENHD view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Scheduling Agreement from Analytical table 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

Fields (122)

KeyFieldSource TableSource FieldDescription
KEY SchedulingAgreement mmpur_ana_eket ebeln Source PurchDoc
KEY SchedulingAgreementItem mmpur_ana_eket ebelp Item pur. doc.
KEY ScheduleLine mmpur_ana_eket etenr Schedule Line
KEY ProcurementHubSourceSystem be_source_sys Connected System ID
ScheduleLineUniqueID mmpur_ana_eket uniqueid Schedule line
PurchasingOrganization mmpur_ana_eket ekorg Purchasing Org.
PurchasingGroup mmpur_ana_eket ekgrp Sub. purchasing grp
CompanyCode mmpur_ana_eket bukrs Value
Supplier mmpur_ana_eket lifnr Vendor no.
Plant mmpur_ana_eket werks Receiving Plant
Material mmpur_ana_eket matnr Vehicle Model
MaterialGroup mmpur_ana_eket matkl Product Sold Group
ServicePerformer mmpur_ana_eket 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
PurchasingDocumentOrigin statu Vehicle Status
CreatedByUser ernam User Name
LastChangeDateTime lastchangedatetime Timestamp
PurchasingProcessingStatus procstat Tour Status
PurchasingDocumentOrderDate bedat_pohdr Document Date
PurchasingDocumentIsAged isaged Document aged
OrderQuantity menge_ekpo PO Quantity
PurgDocOrderQuantityUnit meins_ekpo Order Unit
ProductTypeCode producttype Product Type Group
ReleaseIsNotCompleted frgrl Subj.to Release
IsReturnsItem retpo Returns Item
PurgDocSchdLnHasNextDelivery ndd Next Del. Line Flag
ScheduleLineDeliveryDate eindt Initial Entry
SchedLineStscDeliveryDate slfdt Stat. Del. Date
OriglPurgDocSchedLineDelivDte or_eindt Original Dlv Dte
OriglPurgDocItemStstclDelivDte or_slfdt Origl Ststcl Dlv Dte
DelivDateCategory lpein Price Unit
ScheduleLineOrderQuantity menge WarrCountValue
PrevDelivQtyOfScheduleLine ameng Replenishmt qty
GoodsReceiptQuantity wemng Received
ScheduleLineIssuedQuantity wamng Issued
ScheduleLineDeliveryTime uzeit Time
PurchaseRequisition banfn Requisition
PurchaseRequisitionItem bnfpo Requisn. item
StorageLocation lgort Sublocation
SourceOfCreation estkz Creation Ind.
PurchasingSchdLnNrOfReminders mahnz No. Rem./Exp.
SchedulingAgreementReleaseType abart Settl. Category
ScheduleLineCommittedQuantity mng02 Scrap
ProductAvailabilityDate mbdat Mat.Avail.Date
ProductAvailabilityTime 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
RoughGoodsReceiptQty wemng Received
PurchaseContractItem ktpnr Agreement Item
PurchaseContract konnr Agreement
MultipleAcctAssgmtDistribution vrtkz Distribution
PurchaseOrderDate bedat Start date
OrderPriceUnitToOrderUnitNmrtr bpumz Qty Conversion
OrdPriceUnitToOrderUnitDnmntr bpumn Qty Conversion
NetPriceQuantity peinh Unit of measure
OrderPriceUnit bprme PO Price Unit
PerformancePeriodStartDate startdate Valid From
PerformancePeriodEndDate enddate Term to
SupplyingPlant reswk Supplying Plant
PurgDocItmAnlytsIndIsActv dimension_ind Dimension Ind.
PurDocItmFirstGRPostingDate firstgrpostingdate First GR Date
PurDocItmFinalGRPostingDate finalgrpostingdate Final GR Date
OriglPurgDocItm1stGRPostgDte or_firstgrpostingdate Original First GR Dt
OriglPurgDocItmFnlGRPostgDte or_finalgrpostingdate Original Final GR Dt
TimeVarianceInDays timevarianceindays Overdue Days
TimeVarianceInPct timevarianceinpct Stat. Delivery Var
TimeVarianceInPctByDelivDate timevarianceinpctbydelivdate Delivery Date Var
TimeVarianceScore timevariancescore Time Variance Score
TimeVarianceScoreByDelivDate timevariancescorebydelivdate Delivery Date Score
_BackendSourceSystem _BackendSourceSystem
_PurchaseRequisition _PurchaseRequisition
_PurchaseRequisitionItem _PurchaseRequisitionItem
_DeliveryDateCategory _DeliveryDateCategory
_PurgDocQuantityUnit _PurgDocQuantityUnit
_PurchasingOrganization _PurchasingOrganization
_PurchasingGroup _PurchasingGroup
_CompanyCode _CompanyCode
_Supplier _Supplier
_Plant _Plant
_Material _Material
_MaterialGroup _MaterialGroup
_PurchasingDocumentCategory _PurchasingDocumentCategory
_PurchasingDocumentType _PurchasingDocumentType
_PurgDocumentItemCategory _PurgDocumentItemCategory
_AnalyticalReportingCurrency _AnalyticalReportingCurrency
_AnalyticalReportingCurrency2 _AnalyticalReportingCurrency2
_DocumentCurrency _DocumentCurrency
_CompanyCodeCurrency _CompanyCodeCurrency
_OrderQuantityUnit _OrderQuantityUnit

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_SchedgAgrmtSchedLineEnhcd.
-- 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: ISCHEDGAGRMTENHD

CREATE VIEW I_SchedgAgrmtSchedLineEnhcd AS
SELECT
  ScheduleLineEnhanced.ebeln AS SchedulingAgreement,
  ScheduleLineEnhanced.ebelp AS SchedulingAgreementItem,
  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 PurchasingDocumentOrigin,
  ernam AS CreatedByUser,
  LastChangeDateTime,
  procstat AS PurchasingProcessingStatus,
  bedat_pohdr AS PurchasingDocumentOrderDate,
  isaged AS PurchasingDocumentIsAged,
  menge_ekpo AS OrderQuantity,
  meins_ekpo AS PurgDocOrderQuantityUnit,
  producttype AS ProductTypeCode,
  frgrl AS ReleaseIsNotCompleted,
  retpo AS IsReturnsItem,
  ndd AS PurgDocSchdLnHasNextDelivery,
  eindt AS ScheduleLineDeliveryDate,
  slfdt AS SchedLineStscDeliveryDate,
  or_eindt AS OriglPurgDocSchedLineDelivDte,
  or_slfdt AS OriglPurgDocItemStstclDelivDte,
  lpein AS DelivDateCategory,
  menge AS ScheduleLineOrderQuantity,
  ameng AS PrevDelivQtyOfScheduleLine,
  wemng AS GoodsReceiptQuantity,
  wamng AS ScheduleLineIssuedQuantity,
  uzeit AS ScheduleLineDeliveryTime,
  banfn AS PurchaseRequisition,
  bnfpo AS PurchaseRequisitionItem,
  lgort AS StorageLocation,
  estkz AS SourceOfCreation,
  mahnz AS PurchasingSchdLnNrOfReminders,
  abart AS SchedulingAgreementReleaseType,
  mng02 AS ScheduleLineCommittedQuantity,
  mbdat AS ProductAvailabilityDate,
  mbuhr AS ProductAvailabilityTime,
  lddat AS LoadingDate,
  lduhr AS LoadingTime,
  tddat AS TransportationPlanningDate,
  tduhr AS TransportationPlanningTime,
  wadat AS GoodsIssueDate,
  wauhr AS GoodsIssueTime,
  eldat AS STOLatestPossibleGRDate,
  eluhr AS STOLatestPossibleGRTime,
  wemng AS RoughGoodsReceiptQty,
  ktpnr AS PurchaseContractItem,
  konnr AS PurchaseContract,
  vrtkz AS MultipleAcctAssgmtDistribution,
  bedat AS PurchaseOrderDate,
  bpumz AS OrderPriceUnitToOrderUnitNmrtr,
  bpumn AS OrdPriceUnitToOrderUnitDnmntr,
  peinh AS NetPriceQuantity,
  bprme AS OrderPriceUnit,
  startdate AS PerformancePeriodStartDate,
  enddate AS PerformancePeriodEndDate,
  reswk AS SupplyingPlant,
  dimension_ind AS PurgDocItmAnlytsIndIsActv,
  firstgrpostingdate AS PurDocItmFirstGRPostingDate,
  finalgrpostingdate AS PurDocItmFinalGRPostingDate,
  or_firstgrpostingdate AS OriglPurgDocItm1stGRPostgDte,
  or_finalgrpostingdate AS OriglPurgDocItmFnlGRPostgDte,
  TimeVarianceInDays,
  TimeVarianceInPct,
  TimeVarianceInPctByDelivDate,
  TimeVarianceScore,
  TimeVarianceScoreByDelivDate
FROM mmpur_ana_eket AS ScheduleLineEnhanced
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [1..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup  -- 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 _OrderQuantityUnit ON OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _PurgDocQuantityUnit ON PurgDocOrderQuantityUnit = _PurgDocQuantityUnit.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_PurgDocumentItemCategory AS _PurgDocumentItemCategory ON PurchasingDocumentItemCategory = _PurgDocumentItemCategory.PurchasingDocumentItemCategory  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentCategory AS _PurchasingDocumentCategory ON PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory  -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocumentType AS _PurchasingDocumentType ON PurchasingDocumentCategory = _PurchasingDocumentType.PurchasingDocumentCategory AND PurchasingDocumentType = _PurchasingDocumentType.PurchasingDocumentType  -- association [0..1]
LEFT OUTER JOIN I_Deliverydatecategory AS _DeliveryDateCategory ON DelivDateCategory = _DeliveryDateCategory.DelivDateCategory  -- association [1..1]
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_BackendSourceSystem AS _BackendSourceSystem ON ProcurementHubSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem  -- association [1..1]
;