C_DelivDocItemIncomplete

DDL: C_DELIVDOCITEMINCOMPLETE SQL: CDELIVDOCITMDE03 Type: view CONSUMPTION

Delivery Doc Item Incomplete Data

C_DelivDocItemIncomplete is a Consumption CDS View that provides data about "Delivery Doc Item Incomplete Data" in SAP S/4HANA. It reads from 2 data sources (I_SalesOrderInDelivIncomplete, I_DeliveryDocumentItem) and exposes 77 fields with key fields DeliveryDocument, DeliveryDocumentItem. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_SalesOrderInDelivIncomplete Issue inner
I_DeliveryDocumentItem Item from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_DeliveryDocumentItem _Extension $projection.DeliveryDocument = _Extension.DeliveryDocument and $projection.DeliveryDocumentItem = _Extension.DeliveryDocumentItem

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey DeliveryDocumentItem view
EndUserText.label Delivery Doc Item Incomplete Data view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
Search.searchable false view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName CDELIVDOCITMDE03 view

Fields (77)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument I_DeliveryDocumentItem DeliveryDocument Outbound Delivery
KEY DeliveryDocumentItem I_DeliveryDocumentItem DeliveryDocumentItem Outb. Delivery Item
DeliveryDocumentItemCategory I_DeliveryDocumentItem DeliveryDocumentItemCategory Item Category
DeliveryDocumentItemText I_DeliveryDocumentItem DeliveryDocumentItemText Short Text
DueDays I_SalesOrderInDelivIncomplete DueDays Processing Time
Material
MaterialName
MaterialByCustomer I_DeliveryDocumentItem MaterialByCustomer Customer Mat.
MaterialGroup
Batch I_DeliveryDocumentItem Batch Lot No.
Plant I_DeliveryDocumentItem Plant Valuation Area
Warehouse I_DeliveryDocumentItem Warehouse Warehouse No.
WarehouseName
StorageLocation I_DeliveryDocumentItem StorageLocation StorageLocation
ActualDeliveryQuantity I_DeliveryDocumentItem ActualDeliveryQuantity Base quantity
DeliveryQuantityUnit I_DeliveryDocumentItem DeliveryQuantityUnit Unit of measure
ItemGrossWeight I_DeliveryDocumentItem ItemGrossWeight Gross Weight
ItemNetWeight I_DeliveryDocumentItem ItemNetWeight Net Weight
ItemWeightUnit I_DeliveryDocumentItem ItemWeightUnit Unit of Weight
ItemVolume I_DeliveryDocumentItem ItemVolume Volume
ItemVolumeUnit I_DeliveryDocumentItem ItemVolumeUnit Volume Unit
LoadingGroup I_DeliveryDocumentItem LoadingGroup Loading Group
TransportationGroup I_DeliveryDocumentItem TransportationGroup Trans. Group
GoodsMovementType I_DeliveryDocumentItem GoodsMovementType Movement Type
InventorySpecialStockType I_DeliveryDocumentItem InventorySpecialStockType Special Stock Type
StockType I_DeliveryDocumentItem StockType Stock Type
WarehouseStagingArea I_DeliveryDocumentItem WarehouseStagingArea Staging Area
WarehouseStagingAreaName
OverdelivTolrtdLmtRatioInPct I_DeliveryDocumentItem OverdelivTolrtdLmtRatioInPct Overdeliv. Tol.
UnderdelivTolrtdLmtRatioInPct I_DeliveryDocumentItem UnderdelivTolrtdLmtRatioInPct Underdel. Tol.
ItemBillingBlockReason I_DeliveryDocumentItem ItemBillingBlockReason Billing Block
PickingStatus I_DeliveryDocumentItem PickingStatus Status Value
DeliveryRelatedBillingStatus I_DeliveryDocumentItem DeliveryRelatedBillingStatus Del.Rel.BillgSt
PackingStatus I_DeliveryDocumentItem PackingStatus Packing Status
PickingConfirmationStatus I_DeliveryDocumentItem PickingConfirmationStatus Confirmation
WarehouseActivityStatus I_DeliveryDocumentItem WarehouseActivityStatus WM Activity Sts
GoodsMovementStatus I_DeliveryDocumentItem GoodsMovementStatus Gds Movemt Status
ItemGeneralIncompletionStatus
ItemDeliveryIncompletionStatus
ItemPickingIncompletionStatus
ItemPackingIncompletionStatus
ItemBillingIncompletionStatus
ItemGdsMvtIncompletionSts
int1asItmGenIncompltnStsCriticality
int1asItmDelivIncompltnStsCritlty
int1asItmPickingIncompltnStsCritlty
int1asItmPackgIncompltnStsCritlty
int1asItmGdsMvtIncompltnStsCritlty
int1asItmBillingIncompltnStsCritlty
_DeliveryDocument _DeliveryDocument
_ItemCategory _ItemCategory
_Material _Material
_MaterialGroup _MaterialGroup
_Plant _Plant
_Warehouse _Warehouse
_StorageLocation _StorageLocation
_DeliveryQuantityUnit _DeliveryQuantityUnit
_ItemWeightUnit _ItemWeightUnit
_ItemVolumeUnit _ItemVolumeUnit
_LoadingGroup _LoadingGroup
_TransportationGroup _TransportationGroup
_GoodsMovementType _GoodsMovementType
_InventorySpecialStockType _InventorySpecialStockType
_WarehouseStagingArea _WarehouseStagingArea
_ItemBillingBlockReason _ItemBillingBlockReason
_PickingStatus _PickingStatus
_DeliveryRelatedBillingStatus _DeliveryRelatedBillingStatus
_PackingStatus _PackingStatus
_PickingConfirmationStatus _PickingConfirmationStatus
_WarehouseActivityStatus _WarehouseActivityStatus
_GoodsMovementStatus _GoodsMovementStatus
_ItemGeneralIncompletionStatus _ItemGeneralIncompletionStatus
_ItemDelivIncompletionSts _ItemDelivIncompletionSts
_ItemPickingIncompletionStatus _ItemPickingIncompletionStatus
_ItemPackingIncompletionStatus _ItemPackingIncompletionStatus
_ItemBillingIncompletionStatus _ItemBillingIncompletionStatus
_ItemGdsMvtIncompletionSts _ItemGdsMvtIncompletionSts

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 C_DelivDocItemIncomplete.
-- 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: CDELIVDOCITMDE03

CREATE VIEW C_DelivDocItemIncomplete AS
SELECT
  Item.DeliveryDocument AS DeliveryDocument,
  Item.DeliveryDocumentItem AS DeliveryDocumentItem,
  Item.DeliveryDocumentItemCategory AS DeliveryDocumentItemCategory,
  Item.DeliveryDocumentItemText AS DeliveryDocumentItemText,
  Issue.DueDays AS DueDays,
  cast(Item.Material as productnumber preserving type ) AS Material,
  Item._Material._Text[1:Language=$session.system_language].MaterialName AS MaterialName,
  Item.MaterialByCustomer AS MaterialByCustomer,
  cast(Item.MaterialGroup as productgroup preserving type ) AS MaterialGroup,
  Item.Batch AS Batch,
  Item.Plant AS Plant,
  Item.Warehouse AS Warehouse,
  Item._Warehouse._Text[1:Language=$session.system_language].WarehouseName AS WarehouseName,
  Item.StorageLocation AS StorageLocation,
  Item.ActualDeliveryQuantity AS ActualDeliveryQuantity,
  Item.DeliveryQuantityUnit AS DeliveryQuantityUnit,
  Item.ItemGrossWeight AS ItemGrossWeight,
  Item.ItemNetWeight AS ItemNetWeight,
  Item.ItemWeightUnit AS ItemWeightUnit,
  Item.ItemVolume AS ItemVolume,
  Item.ItemVolumeUnit AS ItemVolumeUnit,
  Item.LoadingGroup AS LoadingGroup,
  Item.TransportationGroup AS TransportationGroup,
  Item.GoodsMovementType AS GoodsMovementType,
  Item.InventorySpecialStockType AS InventorySpecialStockType,
  Item.StockType AS StockType,
  Item.WarehouseStagingArea AS WarehouseStagingArea,
  Item._WarehouseStagingArea._Text[1:Language=$session.system_language].WarehouseStagingAreaName AS WarehouseStagingAreaName,
  Item.OverdelivTolrtdLmtRatioInPct AS OverdelivTolrtdLmtRatioInPct,
  Item.UnderdelivTolrtdLmtRatioInPct AS UnderdelivTolrtdLmtRatioInPct,
  Item.ItemBillingBlockReason AS ItemBillingBlockReason,
  Item.PickingStatus AS PickingStatus,
  Item.DeliveryRelatedBillingStatus AS DeliveryRelatedBillingStatus,
  Item.PackingStatus AS PackingStatus,
  Item.PickingConfirmationStatus AS PickingConfirmationStatus,
  Item.WarehouseActivityStatus AS WarehouseActivityStatus,
  Item.GoodsMovementStatus AS GoodsMovementStatus,
  cast(Item.ItemGeneralIncompletionStatus as item_general_incompletion_sts preserving type) AS ItemGeneralIncompletionStatus,
  cast(Item.ItemDeliveryIncompletionStatus as itm_deliv_incompletion_status preserving type) AS ItemDeliveryIncompletionStatus,
  cast(Item.ItemPickingIncompletionStatus as itm_pickg_incompletion_status preserving type) AS ItemPickingIncompletionStatus,
  cast(Item.ItemPackingIncompletionStatus as itm_packg_incompletion_status preserving type) AS ItemPackingIncompletionStatus,
  cast(Item.ItemBillingIncompletionStatus as itms_incompltn_sts_billg preserving type) AS ItemBillingIncompletionStatus,
  cast(Item.ItemGdsMvtIncompletionSts as itm_gdsmvt_incompletion_status preserving type) AS ItemGdsMvtIncompletionSts,
  cast( case when ItemGeneralIncompletionStatus <> 'C' and DueDays > 0 then 2 when ItemGeneralIncompletionStatus <> 'C' and DueDays <= 0 then 1 else 3 end as abap.int1 ) as ItmGenIncompltnStsCriticality AS int1asItmGenIncompltnStsCriticality,
  cast( case when ItemDeliveryIncompletionStatus <> 'C' and DueDays > 0 then 2 when ItemDeliveryIncompletionStatus <> 'C' and DueDays <= 0 then 1 else 3 end as abap.int1 ) as ItmDelivIncompltnStsCritlty AS int1asItmDelivIncompltnStsCritlty,
  cast( case when ItemPickingIncompletionStatus <> 'C' and DueDays > 0 then 2 when ItemPickingIncompletionStatus <> 'C' and DueDays <= 0 then 1 else 3 end as abap.int1 ) as ItmPickingIncompltnStsCritlty AS int1asItmPickingIncompltnStsCritlty,
  cast( case when ItemPackingIncompletionStatus <> 'C' and DueDays > 0 then 2 when ItemPackingIncompletionStatus <> 'C' and DueDays <= 0 then 1 else 3 end as abap.int1 ) as ItmPackgIncompltnStsCritlty AS int1asItmPackgIncompltnStsCritlty,
  cast( case when ItemGdsMvtIncompletionSts <> 'C' and DueDays > 0 then 2 when ItemGdsMvtIncompletionSts <> 'C' and DueDays <= 0 then 1 else 3 end as abap.int1 ) as ItmGdsMvtIncompltnStsCritlty AS int1asItmGdsMvtIncompltnStsCritlty,
  cast( case when ItemBillingIncompletionStatus <> 'C' and DueDays > 0 then 2 when ItemBillingIncompletionStatus <> 'C' and DueDays <= 0 then 1 else 3 end as abap.int1 ) as ItmBillingIncompltnStsCritlty AS int1asItmBillingIncompltnStsCritlty
FROM I_DeliveryDocumentItem AS Item
INNER JOIN I_SalesOrderInDelivIncomplete AS Issue ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN E_DeliveryDocumentItem AS _Extension ON DeliveryDocument = _Extension.DeliveryDocument AND DeliveryDocumentItem = _Extension.DeliveryDocumentItem  -- association [0..1]
;