I_SupDmndAllDocOpenDeliveries

DDL: I_SUPDMNDALLDOCOPENDELIVERIES Type: view BASIC

View for Open Deliveries

I_SupDmndAllDocOpenDeliveries is a Basic CDS View that provides data about "View for Open Deliveries" in SAP S/4HANA. It reads from 4 data sources (kna1, lips, I_SupDmndMaterialPlant, vbbe) and exposes 38 fields.

Data Sources (4)

SourceAliasJoin Type
kna1 kna1 inner
lips lips inner
I_SupDmndMaterialPlant marc inner
vbbe vbbe inner

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ISUPDMNDADODLV view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
EndUserText.label View for Open Deliveries view

Fields (38)

KeyFieldSource TableSource FieldDescription
RequirementDocumentNumber vbbe vbeln SD Sched. Agmt
RequirementDocumentItem vbbe posnr WBS Element
HigherLvlItmOfBatSpltItm lips uecha HghLevItmBatch
RequirementType
RequestedDate vbbe mbdat Mat.Avail.Date
ProductAvailabilityDate vbbe mbdat Mat.Avail.Date
RequestedDeliveryDate vbbe mbdat Mat.Avail.Date
DeliveredQuantity vbbe omeng Open Quantity
BaseUnit vbbe meins Valuation Unit
DeliveryTimeInDays
NumberOfDays
ShippingType likp vsart Shp.type: stage
Material vbbe matnr Vehicle Model
Plant vbbe werks Receiving Plant
MaterialGroup lips matkl Product Sold Group
MaterialType I_SupDmndMaterialPlant MaterialType Material Type
CrossPlantConfigurableProduct I_SupDmndMaterialPlant CrossPlantConfigurableProduct Cross-plant CP
RequirementSegment lips sgt_rcat Req. Segment
SDDocumentCategory likp vbtyp TSW Det.Doc typ
DeliveryDocumentType likp lfart Settl Doc Type
SalesOrganization likp vkorg SD Sales Org.
DistributionChannel lips vtweg RefDistCh-Cust/Mat.
Division lips spart Source supplier
SalesDistrict likp bzirk Sales District
SoldToParty likp kunag Sold-to Party
StorageLocation vbbe lgort Sublocation
SalesDocument vbbe vbele Business docum.
SalesDocumentItem vbbe posne Items
chargelseendasBatch
InventorySpecialStockType vbbe sobkz Special Stock
Reservation lips fsh_rsnum Reservation
ReservationItem lips fsh_rspos Item no.
IsBusinessPurposeCompleted kna1 cvp_xblck Purpose Completed
NetPriceAmount lips netpr Price
DocumentCurrency likp waerk Doc. Currency
ReferenceSDDocument vgbel Reference Doc.
ReferenceSDDocumentItem vgpos Reference Item
ReferenceSDDocumentCategory vgtyp Trans. Type

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_SupDmndAllDocOpenDeliveries.
-- 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.

CREATE VIEW I_SupDmndAllDocOpenDeliveries AS
SELECT
  vbbe.vbeln AS RequirementDocumentNumber,
  vbbe.posnr AS RequirementDocumentItem,
  lips.uecha AS HigherLvlItmOfBatSpltItm,
  'VJ' AS RequirementType,
  vbbe.mbdat AS RequestedDate,
  vbbe.mbdat AS ProductAvailabilityDate,
  vbbe.mbdat AS RequestedDeliveryDate,
  vbbe.omeng AS DeliveredQuantity,
  vbbe.meins AS BaseUnit,
  dats_days_between( vbbe.mbdat, cast( $session.system_date as abap.dats ) ) AS DeliveryTimeInDays,
  dats_days_between( likp.wadat, cast( $session.system_date as abap.dats ) ) AS NumberOfDays,
  likp.vsart AS ShippingType,
  vbbe.matnr AS Material,
  vbbe.werks AS Plant,
  lips.matkl AS MaterialGroup,
  marc.MaterialType AS MaterialType,
  marc.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
  lips.sgt_rcat AS RequirementSegment,
  likp.vbtyp AS SDDocumentCategory,
  likp.lfart AS DeliveryDocumentType,
  likp.vkorg AS SalesOrganization,
  lips.vtweg AS DistributionChannel,
  lips.spart AS Division,
  likp.bzirk AS SalesDistrict,
  likp.kunag AS SoldToParty,
  vbbe.lgort AS StorageLocation,
  vbbe.vbele AS SalesDocument,
  vbbe.posne AS SalesDocumentItem,
  case when marc.IsInternalBatchManaged = '1' then vbbe.charg else '' end as Batch AS chargelseendasBatch,
  vbbe.sobkz AS InventorySpecialStockType,
  lips.fsh_rsnum AS Reservation,
  lips.fsh_rspos AS ReservationItem,
  kna1.cvp_xblck AS IsBusinessPurposeCompleted,
  lips.netpr AS NetPriceAmount,
  likp.waerk AS DocumentCurrency,
  vgbel AS ReferenceSDDocument,
  vgpos AS ReferenceSDDocumentItem,
  vgtyp AS ReferenceSDDocumentCategory
INNER JOIN lips ON /* join condition not captured in parsed metadata */
INNER JOIN vbbe ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupDmndMaterialPlant AS marc ON /* join condition not captured in parsed metadata */
INNER JOIN kna1 ON /* join condition not captured in parsed metadata */
;