I_SALESDOCUMENTSCHEDULELINE

CDS View

Sales Document Schedule Line

I_SALESDOCUMENTSCHEDULELINE is a CDS View in S/4HANA. Sales Document Schedule Line. It contains 68 fields. 60 CDS views read from this table.

CDS Views using this table (60)

ViewTypeJoinVDMDescription
/VSCEW/C_Disposition_VE view_entity left_outer Disposition VE (Scheduling Agreement)
Atpc_Cds_Vbep view from CDS View on VBEP Table for ATP BOP
C_ESJIMaxDelivCreationDate view from CONSUMPTION Maximum Delivery Creation Date for Sales Order
C_MassChangeSlsOrdItmSchdLn view from CONSUMPTION Mass Change of Sales Order Schedule Line
C_MassChgOrdWthoutChrgSchdLn view from CONSUMPTION Mass Chg of Sls Ord Without Charge SchdLn
C_MassChgSlsSchedgAgrmtSchdLn view from CONSUMPTION Mass Change of Sls Schedg Agrmnt SchdLn
C_MRPSchedulingAgreementCard view_entity inner CONSUMPTION Scheduling Agreement Quick View
C_RFM_MaSaDoSlsOrdSchedLine view from CONSUMPTION Sales Order Schedule Line Details
C_SalesDocumentSchedLineDEX view from CONSUMPTION Data Extraction for Sales Document Schedule Lines
C_SalesDocumentSchedLineDEX_1 view from CONSUMPTION Data Extraction for Sales Document Schedule Lines
C_SlsDocFlfmtSlsDocSchdLn view from CONSUMPTION Sales Doc Fulfillment: Sales Doc Schedule Line
C_SlsDocSchedLineDeliveryBlkd view from CONSUMPTION Sales Doc Schedule Line Delivery Blocked
C_SlsDocScheduleLineTP view_entity from CONSUMPTION Sales Document Schedule Line - TP
I_AlignSlsOrdAcctAssgdSl view from BASIC Sales Order Schedule line data
I_ARunItmRsnCode view left_outer COMPOSITE Basic View for Reason Code of ARun
I_ARunOvwConfStrgy view left_outer COMPOSITE View for Confirmation Strategy of ARun
I_CustomerReturnScheduleLine view from BASIC Returns Order Schedule Line
I_DigitalVehScheduleLine view_entity from COMPOSITE Schedule line delivery date for SO item
I_ExcessRqmtQtyPerSlsItm view from BASIC Aggregated Quantity Per Sales Item
I_MRPSalesDemand view inner COMPOSITE MRP Sales Demand
I_RFM_MaSaDoSlsOrdItmAggrg view from BASIC Aggregated Quantity Per Sales Item
I_RFM_SlsOrdGnrcAggrg view from COMPOSITE Generic Item aggregation
I_SalesOrderScheduleLine view from BASIC Sales Order Schedule Line
I_SalesSchedgAgrmtSchedLine view from BASIC Schedule Line of Sales Scheduling Agreement
I_SlsDocItemConfDeliveryDate view from COMPOSITE Sales Document Item Conf. delivery date
I_SlsDocItemReqdDeliveryDate view from COMPOSITE Sales Document Item Req. delivery date
I_SlsDocItmDelivCreationDate view from COMPOSITE Sales Document Item Deliv. Creation Date
I_SlsDocSchedLineAnalytics view from COMPOSITE Sales Document Schedule Line Analytics
I_SlsOrdFlfmtScheduleLine view from COMPOSITE SOFM Sales Order Scheduleline
I_SlsOrdWthoutChrgSchedLine view from BASIC Schedule Line for Sales Order Without Charge
I_SupDmndAllDocSDItmBsc view from BASIC Basic View for Sales Document
P_ABOP_HRF_Sales view_entity from BASIC Sales Data for ABOP Field Catalog
P_ABOPFC_SALES_EXT view_entity from BASIC Sales Data for ABOP Field Catalog
P_ABOPFieldCatalog view from BASIC ABOP Field Catalog
P_ABOPRlvtSalesRequirement view_entity from COMPOSITE Advncd BOP Run for All Rlvt Sales Docs
P_ABOPSalesDocScheduleLine view from COMPOSITE Where Condition for Sales Selection
P_CustRetItemScheduleLine view_entity from CONSUMPTION Customer Return Item ScheduleLine
P_ForecastDemandSales view inner COMPOSITE Sales of Materials with Forecast Demand
P_MassChgSlsDocSchdLnReadReq view from CONSUMPTION Mass Chg of Sales Doc SchdLn Read Req
P_ProdAllocSalesSchedLine view inner CONSUMPTION Product Allocation Sales Order Schedule Lines
P_ProdAllocSalesStatus view_entity from CONSUMPTION Status information on sales order schedule line level
P_ReqdProdAllocSalesSchedLine view_entity inner COMPOSITE Requested Product Allocation Sales Order Schedule Lines
P_RFDYConfFigsBySalesOrderItem view_entity from CONSUMPTION RFDY Confirmation Figures By Sales Order Item
P_SalesOrderDeliveryBlkd1 view from COMPOSITE SOFM Delivery Blocked Sales Order 1
P_SalesOrderItemDeliveryBlkd view from COMPOSITE SOFM Delivery Block Reason for Sales Order Item
P_SalesOrderItemDeliveryBlkd1 view from COMPOSITE SOFM Delivery Block Reason for Sales Order Item 1
P_SalesOrdersDeliveryDate view from COMPOSITE Delivery Date for Sales Order
P_SchdAgrItmSchdLnCnt view_entity from COMPOSITE Count the Sched.Lns per Sched.Agr.Item
P_SlsDocFlfmtSlsDocItem1 view from CONSUMPTION Sales Doc Fulfillment: Sales Doc Item - Delivered Quantity
P_SlsDocItemDeliveryBlkd1 view from COMPOSITE Sales Doc Item Delivery Blocked
P_SlsDocItemPrdtdDelivDelay1 view from CONSUMPTION Predicted Delivery Delay 1
P_SlsDocItmSchdLnAnlyts2 view from COMPOSITE Sales Document Item Schedule Line Analytics 2
P_SlsDocSchedLineAnlyts view from COMPOSITE Sales Document Schedule Line Analytics
P_SlsOrdConfAnalytics view from COMPOSITE Aggregated Schedule Lines for Confirmation Info
P_SOTFieldCatalog_Sales view from COMPOSITE Private source of sales documents for SOT in aATP
P_SupAssgmtSDItmQty view from COMPOSITE Supply Assignment Sales Document Item Quantity
P_SupDmndAllDocSDDate view inner BASIC View for Sales Document Date/Quantity Calculation
P_SupDmndOvwSDDate view from COMPOSITE View for Earliest Requested Delivery Date for Sales Document
R_HUPSchedLineTP view_entity from TRANSACTIONAL Schedule Lines (HUP)
rfm_scc_so_schedule_line_agg view from RFM SO Scheducule Line Aggregation

Fields (68)

KeyField CDS FieldsUsed in Views
KEY mandt mandt 1
KEY RequestedDeliveryDate RequestedDeliveryDate 5
KEY RequestedDeliveryTime RequestedDeliveryTime 2
KEY SalesDocument ATPRelevantDocument,CustomerReturn,delnr,ProdAllocAssignedOrder,RequirementDocumentNumber,SalesDocument,SalesOrder 19
KEY SalesDocumentItem ATPRelevantDocumentItem,delps,ProdAllocAssignedOrderItem,RequirementDocumentItem,SalesDocumentItem,SalesOrderItem,SalesOrderWithoutChargeItem,SalesSchedulingAgreementItem 20
KEY ScheduleLine ATPRelevantDocScheduleLine,delet,ScheduleLine,ScheduleLineForEdit 13
_BaseUnit _BaseUnit 1
_DelivBlockReasonForSchedLine _DelivBlockReasonForSchedLine,_DeliveryBlockReason 5
_GoodsMovementType _GoodsMovementType 2
_ManufacturingOrder _ManufacturingOrder 1
_OrderID _OrderID 1
_OrderQuantityUnit _OrderQuantityUnit 4
_ProdAvailabilityCheckRqmtType _ProdAvailabilityCheckRqmtType 1
_SalesDocument _SalesDocument 6
_SalesDocumentItem _SalesDocumentItem 2
_ScheduleLineCategory _ScheduleLineCategory 2
_ScheduleLineConfStatus _ScheduleLineConfStatus 1
_TradeCmplncLegalCtrlChkSts _TradeCmplncLegalCtrlChkSts 1
_TransactionCurrency _TransactionCurrency 4
BaseUnit BaseUnit 2
ConfdOrderQtyByMatlAvailCheck ConfdOrderQtyByMatlAvailCheck 5
ConfdSchedLineReqdDelivDate ConfdSchedLineReqdDelivDate,RequestedDate,RequestedDeliveryDate 5
ConfirmedDeliveryDate ConfirmedDeliveryDate 3
ConfirmedDeliveryTime ConfirmedDeliveryTime 1
ConfirmedRqmtQtyInBaseUnit ConfirmedRqmtQtyInBaseUnit 1
CorrectedQtyInOrderQtyUnit CorrectedQtyInOrderQtyUnit 4
DelivBlockReasonForSchedLine DelivBlockReasonForSchedLine,DeliveryBlockReason 8
DeliveredQtyInOrderQtyUnit DeliveredQtyInOrderQtyUnit 4
DeliveredQuantityInBaseUnit DeliveredQuantityInBaseUnit 2
DeliveryCreationDate DeliveryCreationDate 1
DeliveryDate DeliveryDate,RequestedDeliveryDate 9
GoodsIssueDate GoodsIssueDate,wadat 5
GoodsIssueTime GoodsIssueTime,wauhr 2
GoodsMovementType bwart,GoodsMovementType 3
IsConfirmedDelivSchedLine IsConfirmedDelivSchedLine 4
IsRequestedDelivSchedLine IsRequestedDelivSchedLine 4
ItemIsDeliveryRelevant ItemIsDeliveryRelevant 1
LoadingDate lddat,LoadingDate 6
LoadingTime lduhr,LoadingTime 2
MRPRequiredQuantityInBaseUnit MRPRequiredQuantityInBaseUnit 2
OpenConfdDelivQtyInBaseUnit OpenConfdDelivQtyInBaseUnit 3
OpenConfdDelivQtyInOrdQtyUnit OpenConfdDelivQtyInOrdQtyUnit 3
OpenDeliveryNetAmount OpenDeliveryNetAmount 2
OpenReqdDelivQtyInBaseUnit OpenReqdDelivQtyInBaseUnit 2
OpenReqdDelivQtyInOrdQtyUnit OpenReqdDelivQtyInOrdQtyUnit 2
OrderID OrderID 4
OrderQuantityUnit OrderQuantityUnit 9
OrderSchedulingGroup OrderSchedulingGroup 1
OrderToBaseQuantityDnmntr OrderToBaseQuantityDnmntr 1
OrderToBaseQuantityNmrtr OrderToBaseQuantityNmrtr 1
PlannedOrder PlannedOrder 1
ProdAvailabilityCheckRqmtType ProdAvailabilityCheckRqmtType 1
ProdAvailyCheckPlanningType ProdAvailyCheckPlanningType 1
ProductAvailabilityDate ProductAvailabilityDate 9
ProductAvailabilityTime mat_avail_time,ProductAvailabilityTime 2
ProductAvailCheckRqmtDate ProductAvailCheckRqmtDate 1
PurchaseRequisition banfn,PurchaseRequisition 3
PurchaseRequisitionItem bnfpo,PurchaseRequisitionItem 3
PurchasingDocumentCategory PurchasingDocumentCategory 1
PurchasingOrderType PurchasingOrderType 1
RequestedRqmtQtyInBaseUnit open_reqqty,RequestedRqmtQtyInBaseUnit 2
ScheduleLineCategory ScheduleLineCategory,sline_category 8
ScheduleLineConfirmationStatus ScheduleLineConfirmationStatus 1
ScheduleLineOrderQuantity ScheduleLineOrderQuantity 6
TradeCmplncLegalCtrlChkSts TradeCmplncLegalCtrlChkSts 1
TransactionCurrency TransactionCurrency 5
TransportationPlanningDate tddat,TransportationPlanningDate 5
TransportationPlanningTime tduhr,TransportationPlanningTime 2
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Sales Document Schedule Line'
@VDM: {
  viewType: #BASIC,
  lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AbapCatalog.sqlViewName: 'ISDSLSDOCSCHEDLN'
@AccessControl.authorizationCheck:#CHECK
@ObjectModel: {
   representativeKey: 'ScheduleLine',
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XL
   },
   supportedCapabilities: [ #ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE ],
   modelingPattern: #ANALYTICAL_DIMENSION
}
@Metadata.ignorePropagatedAnnotations: true
@Analytics:{dataCategory:#DIMENSION}
@Metadata.allowExtensions: true

define view I_SalesDocumentScheduleLine
  as select from vbep
  association [1..1] to I_SalesDocument              as _SalesDocument                 on  $projection.SalesDocument = _SalesDocument.SalesDocument
  association [1..1] to I_SalesDocumentItem          as _SalesDocumentItem             on  $projection.SalesDocumentItem = _SalesDocumentItem.SalesDocumentItem
                                                                                       and $projection.SalesDocument     = _SalesDocumentItem.SalesDocument
  association [0..1] to I_ScheduleLineCategory       as _ScheduleLineCategory          on  $projection.ScheduleLineCategory = _ScheduleLineCategory.ScheduleLineCategory
  association [0..1] to I_ProdAvailyCheckRqmtType    as _ProdAvailabilityCheckRqmtType on  $projection.ProdAvailabilityCheckRqmtType = _ProdAvailabilityCheckRqmtType.ProdAvailabilityCheckRqmtType
                                                                                       and $projection.ProdAvailyCheckPlanningType   = _ProdAvailabilityCheckRqmtType.ProdAvailyCheckPlanningType
  association [0..1] to I_ScheduleLineConfStatus     as _ScheduleLineConfStatus        on  $projection.ScheduleLineConfirmationStatus = _ScheduleLineConfStatus.ScheduleLineConfirmationStatus
  association [0..1] to I_MfgOrder                   as _OrderID                       on  $projection.OrderID = _OrderID.ManufacturingOrder
  association [0..1] to I_ManufacturingOrder         as _ManufacturingOrder            on  $projection.OrderID = _ManufacturingOrder.ManufacturingOrder
  association [0..1] to I_UnitOfMeasure              as _OrderQuantityUnit             on  $projection.OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure
  //Todo:association[0..1] to I_PurchaseOrderTypeName

  association [0..1] to I_UnitOfMeasure              as _BaseUnit                      on  $projection.BaseUnit = _BaseUnit.UnitOfMeasure
  association [0..1] to I_DeliveryBlockReason        as _DelivBlockReasonForSchedLine  on  $projection.DelivBlockReasonForSchedLine = _DelivBlockReasonForSchedLine.DeliveryBlockReason
  association [0..1] to I_GoodsMovementType          as _GoodsMovementType             on  $projection.GoodsMovementType = _GoodsMovementType.GoodsMovementType
  association [0..1] to I_Currency                   as _TransactionCurrency           on  $projection.TransactionCurrency = _TransactionCurrency.Currency
  association [0..1] to I_TradeCmplncLegalCtrlChkSts as _TradeCmplncLegalCtrlChkSts    on  $projection.TradeCmplncLegalCtrlChkSts = _TradeCmplncLegalCtrlChkSts.TradeCmplncLegalCtrlChkSts
{
      //Key

      @ObjectModel.foreignKey.association: '_SalesDocument'
  key vbep.vbeln                                                  as SalesDocument,
      @ObjectModel.foreignKey.association: '_SalesDocumentItem'
  key posnr                                                       as SalesDocumentItem,
  key etenr                                                       as ScheduleLine,

      //category

      @ObjectModel.foreignKey.association: '_ScheduleLineCategory'
      cast(ettyp as vdm_sd_schedule_line_cat preserving type )    as ScheduleLineCategory,

      //sales

      @Semantics.unitOfMeasure: true
      @ObjectModel.foreignKey.association: '_OrderQuantityUnit'
      vrkme                                                       as OrderQuantityUnit,
      umvkn                                                       as OrderToBaseQuantityDnmntr,
      umvkz                                                       as OrderToBaseQuantityNmrtr,
      @Semantics.unitOfMeasure: true
      @ObjectModel.foreignKey.association: '_BaseUnit'
      meins                                                       as BaseUnit,
      edatu                                                       as DeliveryDate,
      prgrs                                                       as DelivDateCategory,

      //requested

      case when
          vbep.wmeng != 0
      then
          'X'
      else
          ''
      end                                                         as IsRequestedDelivSchedLine,
      case when
          vbep.wmeng != 0
      then
          vbep.edatu
      --else
      --    ''    -- to enforce a NULL-value, that is needed by ODATA
      end                                                         as RequestedDeliveryDate,
      case when
          vbep.wmeng != 0
      then
          vbep.ezeit
      --else
      --    ''    -- to enforce a NULL-value, that is needed by ODATA
      end                                                         as RequestedDeliveryTime,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
      vbep.wmeng                                                  as ScheduleLineOrderQuantity,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
      vbep.cmeng                                                  as CorrectedQtyInOrderQtyUnit,

      //confrimed

      case when
          vbep.bmeng != 0
      then
          'X'
      else
          ''
      end                                                         as IsConfirmedDelivSchedLine,
      case when
          vbep.bmeng != 0
      then
          vbep.edatu
      --else
      --    ''  -- to enforce a NULL-value, that is needed by ODATA
      end                                                         as ConfirmedDeliveryDate,
      case when
          vbep.bmeng != 0
      then
          vbep.ezeit
      --else
      --    ''  -- to enforce a NULL-value, that is needed by ODATA
       end                                                        as ConfirmedDeliveryTime,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
      vbep.bmeng                                                  as ConfdOrderQtyByMatlAvailCheck,
      vbep.req_dlvdate                                            as ConfdSchedLineReqdDelivDate,
      //availibity

      cast(mbdat as vdm_sd_prod_availy_date preserving type )     as ProductAvailabilityDate,

      //Availibility

      mbuhr                                                       as ProductAvailabilityTime,
      bddat                                                       as ProductAvailCheckRqmtDate,
      bdart                                                       as ProdAvailabilityCheckRqmtType,
      plart                                                       as ProdAvailyCheckPlanningType,
      @ObjectModel.foreignKey.association: '_ScheduleLineConfStatus'
      wepos                                                       as ScheduleLineConfirmationStatus,
      bedar                                                       as RequirementsClass,

      //InternalProcurement

      plnum                                                       as PlannedOrder,
      @ObjectModel.foreignKey.association: '_OrderID'
      vbep.aufnr                                                  as OrderID,

      //SchedulingAgreement

      abart                                                       as SchedulingAgreementReleaseType,
      abruf                                                       as ScheduleLineByForecastDelivery,
      fsh_os_id                                                   as OrderSchedulingGroup,
      aeskd                                                       as CustEngineeringChgStatus,

      //Purchasing

      cast(banfn as vdm_purchaserequisition preserving type )     as PurchaseRequisition,
      cast(bnfpo as mm_a_purchaserequisitionitem preserving type) as PurchaseRequisitionItem,
      bsart                                                       as PurchasingOrderType,
      bstyp                                                       as PurchasingDocumentCategory,

      //shipping

      crea_dlvdate                                                as DeliveryCreationDate,
      cast(tddat as tddat_plan preserving type )                  as TransportationPlanningDate,
      tduhr                                                       as TransportationPlanningTime,
      wadat                                                       as GoodsIssueDate,
      lddat                                                       as LoadingDate,
      wauhr                                                       as GoodsIssueTime,
      lduhr                                                       as LoadingTime,
      lfrel                                                       as ItemIsDeliveryRelevant,
      @ObjectModel.foreignKey.association: '_DelivBlockReasonForSchedLine'
      lifsp                                                       as DelivBlockReasonForSchedLine,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
      ordqty_su                                                   as OpenReqdDelivQtyInOrdQtyUnit,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      ordqty_bu                                                   as OpenReqdDelivQtyInBaseUnit,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
      ocdqty_su                                                   as OpenConfdDelivQtyInOrdQtyUnit,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      ocdqty_bu                                                   as OpenConfdDelivQtyInBaseUnit,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
      dlvqty_su                                                   as DeliveredQtyInOrderQtyUnit,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      dlvqty_bu                                                   as DeliveredQuantityInBaseUnit,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      rrqqty_bu                                                   as RequestedRqmtQtyInBaseUnit,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      crqqty_bu                                                   as ConfirmedRqmtQtyInBaseUnit,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      vbep.lmeng                                                  as MRPRequiredQuantityInBaseUnit,

      @ObjectModel.foreignKey.association: '_GoodsMovementType'
      bwart                                                       as GoodsMovementType,
      aulwe                                                       as RouteSchedule,

      @DefaultAggregation: #SUM
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      odn_amount                                                  as OpenDeliveryNetAmount,
      @Semantics.currencyCode: true
      @ObjectModel.foreignKey.association: '_TransactionCurrency'
      vbep.waerk                                                  as TransactionCurrency,
      @ObjectModel.foreignKey.association: '_TradeCmplncLegalCtrlChkSts'
      vbep.lccst                                                  as TradeCmplncLegalCtrlChkSts,

      @ObjectModel.association.type: [#TO_COMPOSITION_ROOT]
      _SalesDocument,
      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT]
      _SalesDocumentItem,
      _ScheduleLineCategory,
      _ProdAvailabilityCheckRqmtType,
      _ScheduleLineConfStatus,
      _TransactionCurrency,      
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: '_ManufacturingOrder'
      _OrderID,
      _ManufacturingOrder,
      _OrderQuantityUnit,
      _BaseUnit,
      _DelivBlockReasonForSchedLine,
      _GoodsMovementType,
      _TradeCmplncLegalCtrlChkSts
};