I_SupDmndAllDocOpenDeliveries
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)
| Source | Alias | Join Type |
|---|---|---|
| kna1 | kna1 | inner |
| lips | lips | inner |
| I_SupDmndMaterialPlant | marc | inner |
| vbbe | vbbe | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA