I_DeliveryDueIndex

DDL: I_DELIVERYDUEINDEX SQL: ISDDLVDUEINDEX Type: view BASIC

Delivery Due Index

I_DeliveryDueIndex (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Supply Chain

I_DeliveryDueIndex is a Basic CDS View that provides data about "Delivery Due Index" in SAP S/4HANA. It reads from 1 data source (vepvg) and exposes 47 fields with key fields ShippingPoint, DeliveryCreationDate, DeliveryPriority, Route, ForwardingAgent. It has 15 associations to related views.

SAP Help Documentation

CategoryCDS Views for Outbound Delivery Documents
StatusReleased
Corresponding DataSourceVEPVG
Purpose
This CDS view allows you to retrieve sales documents that contain items that are due for delivery. This CDS view provides the data to answer the following business questions: Which sales documents have items that are still due for delivery? Did any errors occur when a sales document containing items that were due for delivery was processed? Was an item in stock when a sales document containing items that were due for delivery was processed? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: V_LIKP_VST (Delivery: Authorization for Shipping Points)

Structure
Further important fields Important fields in this view include the following: Field Name Description ShippingPoint Shipping Point / Receiving Point DeliveryCreationDate Delivery Creation Date DeliveryPriority Delivery Priority Route Route ForwardingAgent Forwarding Agent GoodsIssueDate Goods Issue Date ShipToParty Ship-to Party SDDocument Sales and Distribution Document Number DeliveryBlockReason Reason given for a delivery block for header or a schedule line SoldToParty Sold-to Party SalesOrganization Sales Organization DistributionChannel Distribution Channel Division Division SalesOffice Sales Office SalesGroup Sales Group CompleteDeliveryIsDefined Complete Delivery Defined for Each Sales Order? HeaderGrossWeight Gross weight of all schedule lines for this key HeaderWeightUnit Weight Unit HeaderVolume Volume of all schedule lines for this key HeaderVolumeUnit Volume Unit ProcessingTimeInDays Processing time in days SoldToPartyAddressID Address number of the sold-to party ShipToPartyAddressID Address number of the ship-to party SalesDocumentType Sales Document Type OrderCombinationIsAllowed Indicates whether the delivery contains items that can be combined with items in another delivery. The following values are possible: NULL indicates that an order contains combineable items X indicates that it does not

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentLE-SHP-GF
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageSupply Chain for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view allows you to retrieve sales documents that contain items that are due for delivery.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>Which sales documents have items that are still due for delivery?</p></li> <li><p>Did any errors occur when a sales document containing items that were due for delivery was processed?</p></li> <li><p>Was an item in stock when a sales document containing items that were due for delivery was processed? </p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
vepvg vepvg from

Associations (15)

CardinalityTargetAliasCondition
[0..1] I_UnitOfMeasure _HeaderWeightUnit $projection.HeaderWeightUnit = _HeaderWeightUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _HeaderVolumeUnit $projection.HeaderVolumeUnit = _HeaderVolumeUnit.UnitOfMeasure
[0..1] I_ShippingPoint _ShippingPoint $projection.ShippingPoint = _ShippingPoint.ShippingPoint
[0..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization
[0..1] I_SalesOffice _SalesOffice $projection.SalesOffice = _SalesOffice.SalesOffice
[0..1] I_DistributionChannel _DistributionChannel $projection.DistributionChannel = _DistributionChannel.DistributionChannel
[0..1] I_Division _Division $projection.Division = _Division.Division
[0..1] I_SalesGroup _SalesGroup $projection.SalesGroup = _SalesGroup.SalesGroup
[0..1] I_Customer _ShipToParty $projection.ShipToParty = _ShipToParty.Customer
[0..1] I_Customer _SoldToParty $projection.SoldToParty = _SoldToParty.Customer
[0..1] I_Route _Route $projection.Route = _Route.Route
[0..1] I_DeliveryPriority _DeliveryPriority $projection.DeliveryPriority = _DeliveryPriority.DeliveryPriority
[0..1] I_DeliveryBlockReason _DeliveryBlockReason $projection.DeliveryBlockReason = _DeliveryBlockReason.DeliveryBlockReason
[0..1] I_SalesDocumentType _SalesDocumentType $projection.SalesDocumentType = _SalesDocumentType.SalesDocumentType
[0..1] I_SalesDocument _SalesDocument $projection.SDDocument = _SalesDocument.SalesDocument

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ISDDLVDUEINDEX view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Delivery Due Index view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataExtraction.enabled false view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (47)

KeyFieldSource TableSource FieldDescription
KEY ShippingPoint vstel Shipping Point / Receiving Point
KEY DeliveryCreationDate ledat Delivery Creation Date
KEY DeliveryPriority lprio Delivery Priority
KEY Route route Vehicle route
KEY ForwardingAgent spdnr Forwarding Agent
KEY GoodsIssueDate wadat Planned Gds Mvmt
KEY ShipToParty kunwe Ship-to Party
KEY SDDocument vbeln Sales and Distribution Document Number
KEY DeliveryBlockReason lifsp Delivery block for header or schedule line
SoldToParty kunnr Stock customer
SalesOrganization vkorg Sales Organization
DistributionChannel vtweg Distribution Channel
Division spart Source supplier
SalesOffice vkbur Sales Office
SalesGroup vkgrp Sales Group
CompleteDeliveryIsDefined autlf Complete Delivery Defined for Each Sales Order
HeaderGrossWeight brgew Open gross weight of all schedule lines for this key
HeaderWeightUnit gewei Unit of Weight
HeaderVolume volum Open volume of all schedule lines for this key
HeaderVolumeUnit voleh Volume Unit
ProcessingTimeInDays bearz Processing time in days
SoldToPartyAddressID adrnr_ag Address number of the sold-to party
ShipToPartyAddressID adrnr_we Address number of the ship-to party
SalesDocumentType auart Sales Document Type
OrderCombinationIsAllowed kzazu Inverse Cumulated Indicator: Order Combination
TransportationMgmtControlKey _SalesDocument TransportationMgmtControlKey Control Key for Document Transfer to TM
OverallChmlCmplncStatus _SalesDocument OverallChmlCmplncStatus Product Marketability Status (All Items)
int1asOvrlChmlCmplncStsCriticality
OverallDangerousGoodsStatus _SalesDocument OverallDangerousGoodsStatus Dangerous Goods Status (All Items)
int1asOvrlDngrsGdsStsCriticality
OverallSafetyDataSheetStatus _SalesDocument OverallSafetyDataSheetStatus Safety Data Sheet Status (All Items)
int1asOvrlSftyDataSheetStsCritlty
_ShippingPoint _ShippingPoint
_Route _Route
_DeliveryBlockReason _DeliveryBlockReason
_ShipToParty _ShipToParty
_SoldToParty _SoldToParty
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_Division _Division
_SalesOffice _SalesOffice
_SalesGroup _SalesGroup
_HeaderWeightUnit _HeaderWeightUnit
_HeaderVolumeUnit _HeaderVolumeUnit
_DeliveryPriority _DeliveryPriority
_SalesDocumentType _SalesDocumentType
_SalesDocument _SalesDocument

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_DeliveryDueIndex.
-- 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: ISDDLVDUEINDEX

CREATE VIEW I_DeliveryDueIndex AS
SELECT
  vstel AS ShippingPoint,
  ledat AS DeliveryCreationDate,
  lprio AS DeliveryPriority,
  Route,
  spdnr AS ForwardingAgent,
  wadat AS GoodsIssueDate,
  kunwe AS ShipToParty,
  vbeln AS SDDocument,
  lifsp AS DeliveryBlockReason,
  kunnr AS SoldToParty,
  vkorg AS SalesOrganization,
  vtweg AS DistributionChannel,
  spart AS Division,
  vkbur AS SalesOffice,
  vkgrp AS SalesGroup,
  autlf AS CompleteDeliveryIsDefined,
  brgew AS HeaderGrossWeight,
  gewei AS HeaderWeightUnit,
  volum AS HeaderVolume,
  voleh AS HeaderVolumeUnit,
  bearz AS ProcessingTimeInDays,
  adrnr_ag AS SoldToPartyAddressID,
  adrnr_we AS ShipToPartyAddressID,
  auart AS SalesDocumentType,
  kzazu AS OrderCombinationIsAllowed,
  _SalesDocument.TransportationMgmtControlKey AS TransportationMgmtControlKey,
  _SalesDocument.OverallChmlCmplncStatus AS OverallChmlCmplncStatus,
  cast( case _SalesDocument.OverallChmlCmplncStatus when '' then 0 when 'A' then 3 when 'C' then 1 when 'D' then 1 when 'E' then 1 when 'F' then 1 else 0 end as abap.int1 ) as OvrlChmlCmplncStsCriticality AS int1asOvrlChmlCmplncStsCriticality,
  _SalesDocument.OverallDangerousGoodsStatus AS OverallDangerousGoodsStatus,
  cast( case _SalesDocument.OverallDangerousGoodsStatus when '' then 0 when 'A' then 3 when 'B' then 2 when 'C' then 1 when 'D' then 1 else 0 end as abap.int1 ) as OvrlDngrsGdsStsCriticality AS int1asOvrlDngrsGdsStsCriticality,
  _SalesDocument.OverallSafetyDataSheetStatus AS OverallSafetyDataSheetStatus,
  cast( case _SalesDocument.OverallSafetyDataSheetStatus when '' then 0 when 'A' then 3 when 'B' then 2 when 'C' then 1 when 'D' then 1 else 0 end as abap.int1 ) as OvrlSftyDataSheetStsCritlty AS int1asOvrlSftyDataSheetStsCritlty
FROM vepvg
LEFT OUTER JOIN I_UnitOfMeasure AS _HeaderWeightUnit ON HeaderWeightUnit = _HeaderWeightUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _HeaderVolumeUnit ON HeaderVolumeUnit = _HeaderVolumeUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_ShippingPoint AS _ShippingPoint ON ShippingPoint = _ShippingPoint.ShippingPoint  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_SalesOffice AS _SalesOffice ON SalesOffice = _SalesOffice.SalesOffice  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel  -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division  -- association [0..1]
LEFT OUTER JOIN I_SalesGroup AS _SalesGroup ON SalesGroup = _SalesGroup.SalesGroup  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _ShipToParty ON ShipToParty = _ShipToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Route AS _Route ON Route = _Route.Route  -- association [0..1]
LEFT OUTER JOIN I_DeliveryPriority AS _DeliveryPriority ON DeliveryPriority = _DeliveryPriority.DeliveryPriority  -- association [0..1]
LEFT OUTER JOIN I_DeliveryBlockReason AS _DeliveryBlockReason ON DeliveryBlockReason = _DeliveryBlockReason.DeliveryBlockReason  -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentType AS _SalesDocumentType ON SalesDocumentType = _SalesDocumentType.SalesDocumentType  -- association [0..1]
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON SDDocument = _SalesDocument.SalesDocument  -- association [0..1]
;