I_SrvcPartsDeliveryBasic
Delivery
I_SrvcPartsDeliveryBasic is a Basic CDS View that provides data about "Delivery" in SAP S/4HANA. It reads from 1 data source (/scmb/inbdlvdat) and exposes 94 fields with key fields SCMAdvncdShipgNotifUUID, SCMAdvncdShipgNotifItemUUID. It has 12 associations to related views. It is exposed through 2 OData services (SERVICEPARTSTRANSPORTDURATION, SERVICEPARTSTRANSPORTDURATION).
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /scmb/inbdlvdat | InboundMonitor | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SrvcPartsDeliveryStatusBasic | _Status | $projection.SCMAdvncdShipgNotifUUID = _Status.SCMAdvncdShipgNotifUUID and $projection.SCMAdvncdShipgNotifItemUUID = _Status.SCMAdvncdShipgNotifItemUUID |
| [0..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [0..1] | I_LocationAnalytics | _StartLocationAnalytics | $projection.StartLocation = _StartLocationAnalytics.Location |
| [0..1] | I_LocationAnalytics | _DestinationLocationAnalytics | $projection.DestinationLocation = _DestinationLocationAnalytics.Location |
| [0..*] | I_LocationText | _StartLocationText | $projection.StartLocationUUID = _StartLocationText.LocationUUID |
| [0..*] | I_LocationText | _DestinationLocationText | $projection.DestinationLocationUUID = _DestinationLocationText.LocationUUID |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..*] | I_CalendarMonthText | _CalendarMonthText | $projection.CalendarMonth = _CalendarMonthText.CalendarMonth |
| [0..*] | I_CalendarQuarterText | _CalendarQuarterText | $projection.CalendarQuarter = _CalendarQuarterText.CalendarQuarter |
| [0..*] | I_WeekDayText | _WeekDayText | $projection.WeekDay = _WeekDayText.WeekDay |
| [1..1] | I_SrvcPartsForecastPeriodicity | _Periodicity | $projection.SrvcPartsApplication = _Periodicity.SrvcPartsApplication |
| [0..*] | I_SrvcPartsMTrMapping | _MTrMapping | $projection.MeansOfTransportExternal = _MTrMapping.MeansOfTransportExternal |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Delivery | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| SERVICEPARTSTRANSPORTDURATION | UI_SRVCPARTSTRANSPDURN_V2 | V2 | C1 | NOT_RELEASED |
| SERVICEPARTSTRANSPORTDURATION | UI_SRVCPARTSTRANSPDURN_V4 | V4 | C1 | NOT_RELEASED |
Fields (94)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SCMAdvncdShipgNotifUUID | /scmb/inbdlvdat | dlv_guid | ASN (GUID) |
| KEY | SCMAdvncdShipgNotifItemUUID | /scmb/inbdlvdat | dlv_item_guid | ASN Item |
| SCMAdvancedShippingNotif | /scmb/inbdlvdat | dlv_hdr | ASN (ID) | |
| SCMAdvancedShippingNotifItem | /scmb/inbdlvdat | dlv_item | ASN Item | |
| SCMDeliveryStatusExternal | /scmb/inbdlvdat | ext_status | External Status | |
| SCMPurchaseOrder | /scmb/inbdlvdat | pu_ref_hdr | Reference PO | |
| SCMPurchaseOrderItem | /scmb/inbdlvdat | pu_ref_itm | Ref. PO Item | |
| SCMPurchaseOrderScheduleLine | /scmb/inbdlvdat | pu_ref_sch | Ref.PO Schedule Line | |
| SCMDeliveryDocumentUUID | /scmb/inbdlvdat | ref_dlv_hdr_guid | Ref. Del. Doc.(GUID) | |
| SCMDeliveryDocumentItemUUID | /scmb/inbdlvdat | ref_dlv_itm_guid | Ref.Deliv.Item GUID | |
| SCMDeliveryDocument | /scmb/inbdlvdat | ref_dlv_hdr | Ref.Deliv. Doc. | |
| SCMDeliveryDocumentItem | /scmb/inbdlvdat | ref_dlv_itm | Ref. Del. Item | |
| SCMDeliveryNote | /scmb/inbdlvdat | lifex | Lifex | |
| SCMShipment | /scmb/inbdlvdat | traid | Shipment ID | |
| MeansOfTransportExternal | /scmb/inbdlvdat | tramode | MOT in Inb. Monitor | |
| SCMSupplier | /scmb/inbdlvdat | suppl_loc | Vendor | |
| Supplier | /scmb/inbdlvdat | lifnr | Vendor no. | |
| ShippingLocationTimeZone | /scmb/inbdlvdat | shpfr_timezone | Ship-Fr. Time Zone | |
| StartLocationUUID | /scmb/inbdlvdat | shpfr_locid | Start LocationID | |
| ShippingLocationType | /scmb/inbdlvdat | shpfr_loctype | Start Loc. Type | |
| SCMHierarchyParentNode | /scmb/inbdlvdat | shpto_loc_grp | Location Group | |
| ReceivingLocationTimeZone | /scmb/inbdlvdat | shpto_timezone | Time Zone Cust.Loc. | |
| DestinationLocationUUID | /scmb/inbdlvdat | shpto_locid | Target Loc. ID | |
| ReceivingLocationType | /scmb/inbdlvdat | shpto_loctype | Target Loc. Type | |
| SCMPlant | /scmb/inbdlvdat | plant | Valuation Area | |
| ProductGroupValue | /scmb/inbdlvdat | prodgroup | Product Group | |
| SCMProductUUID | /scmb/inbdlvdat | prod_guid | Product | |
| Product | /scmb/inbdlvdat | prod_nr | Product | |
| TotDeliveryQuantityInBaseUnit | /scmb/inbdlvdat | dlvquan | Delivery Qty | |
| DeliveryStatusQuantity | /scmb/inbdlvdat | dlvstatqty | Qty Status | |
| CumulativeGoodsReceiptQuantity | /scmb/inbdlvdat | dlvrecqty | Cum. GR Qty | |
| TotalAlertQuantity | /scmb/inbdlvdat | altquan | Alert Quantity | |
| TotReceiptQuantityInBaseUnit | /scmb/inbdlvdat | tgrmng_bme | Total GR Qty | |
| LastGoodsReceiptQuantity | /scmb/inbdlvdat | agrmng_bme | Last GR Qty | |
| ProductBaseUnit | /scmb/inbdlvdat | base_uom | Weight UoM | |
| SCMDeliveryStartDateTime | ||||
| SCMDeliveryAvailyDateTime | ||||
| SCMDeliveryStatusChgDateTime | ||||
| WarehouseTimeZone | /scmb/inbdlvdat | tzone | Time Zone Difference | |
| SCMDeliveryIsOpen | /scmb/inbdlvdat | flag_open | ASN Open | |
| SCMDeliveryIsLate | /scmb/inbdlvdat | flag_late | Delivery Late | |
| WarehouseLogicalSystem | /scmb/inbdlvdat | ext_system | Log. Source Syst. | |
| DeliveryIsMarkedForDeletion | /scmb/inbdlvdat | flag_del_rec | Deletion Indicator | |
| DeliveryUpdateCode | /scmb/inbdlvdat | updtmode | Update Mode BW | |
| DeliveryPriorityPointsValue | /scmb/inbdlvdat | priop_last | Priority Points | |
| DelivPriorityPointsLastDteTime | ||||
| DelivIsPlndForPriorityPoints | /scmb/inbdlvdat | priop_req | Prio. Points Req. | |
| DelivPriorityPointsReqdDteTime | ||||
| DelivIsMarkedForCriticalAlert | /scmb/inbdlvdat | cr_alert_req | Flgd Alert 7801 | |
| ContractPackagerLocation | /scmb/inbdlvdat | shpto_master_fc | CP Assigned Loc. | |
| ContractPackagerLocationType | /scmb/inbdlvdat | shpto_master_lt | Loc.Type of Ass.Loc. | |
| SCMProcessCategory | /scmb/inbdlvdat | process_type | Type of Data | |
| SCMPutawayQuantity | /scmb/inbdlvdat | putawayqty | Putaway Quantity | |
| SCMFirstDeliveryStatus | /scmb/inbdlvdat | first_status | First Delivery Sts | |
| DeliveryIsPushScenario | /scmb/inbdlvdat | push_scenario | TRUE | |
| StartLocation | /scmb/inbdlvdat | shpfr_loc | Ship-From Location | |
| DestinationLocation | /scmb/inbdlvdat | shpto_loc | Customer Location | |
| MeansOfTransportVehicle | _MTrMapping | MeansOfTransportVehicle | ||
| SCMDeliveryStatus | _Status | SCMDeliveryStatus | ||
| SCMDeliveryStatusStrtDate | _Status | SCMDeliveryStatusStrtDate | ||
| SCMDeliveryStatusDurnInHours | _Status | SCMDeliveryStatusDurnInHours | ||
| SrvcPartsApplication | ||||
| PlanningModel | ||||
| CalendarDate | ||||
| CalendarYear | ||||
| CalendarQuarter | ||||
| CalendarMonth | ||||
| CalendarWeek | ||||
| CalendarDay | ||||
| YearMonth | ||||
| YearQuarter | ||||
| YearWeek | ||||
| WeekDay | ||||
| FirstDayOfWeekDate | ||||
| FirstDayOfMonthDate | ||||
| CalendarDayOfYear | ||||
| YearDay | ||||
| _CalendarMonth | ||||
| _CalendarQuarter | ||||
| _CalendarYear | ||||
| _WeekDay | ||||
| _YearMonth | ||||
| _Periodicity | _Periodicity | |||
| _Status | _Status | |||
| _Product | _Product | |||
| _StartLocationAnalytics | _StartLocationAnalytics | |||
| _DestinationLocationAnalytics | _DestinationLocationAnalytics | |||
| _StartLocationText | _StartLocationText | |||
| _DestinationLocationText | _DestinationLocationText | |||
| _Supplier | _Supplier | |||
| _CalendarDate | _Status | _CalendarDate | ||
| _CalendarMonthText | _CalendarMonthText | |||
| _CalendarQuarterText | _CalendarQuarterText | |||
| _WeekDayText | _WeekDayText |
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_SrvcPartsDeliveryBasic.
-- 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_SrvcPartsDeliveryBasic AS
SELECT
InboundMonitor.dlv_guid AS SCMAdvncdShipgNotifUUID,
InboundMonitor.dlv_item_guid AS SCMAdvncdShipgNotifItemUUID,
InboundMonitor.dlv_hdr AS SCMAdvancedShippingNotif,
InboundMonitor.dlv_item AS SCMAdvancedShippingNotifItem,
InboundMonitor.ext_status AS SCMDeliveryStatusExternal,
InboundMonitor.pu_ref_hdr AS SCMPurchaseOrder,
InboundMonitor.pu_ref_itm AS SCMPurchaseOrderItem,
InboundMonitor.pu_ref_sch AS SCMPurchaseOrderScheduleLine,
InboundMonitor.ref_dlv_hdr_guid AS SCMDeliveryDocumentUUID,
InboundMonitor.ref_dlv_itm_guid AS SCMDeliveryDocumentItemUUID,
InboundMonitor.ref_dlv_hdr AS SCMDeliveryDocument,
InboundMonitor.ref_dlv_itm AS SCMDeliveryDocumentItem,
InboundMonitor.lifex AS SCMDeliveryNote,
InboundMonitor.traid AS SCMShipment,
InboundMonitor.tramode AS MeansOfTransportExternal,
InboundMonitor.suppl_loc AS SCMSupplier,
InboundMonitor.lifnr AS Supplier,
InboundMonitor.shpfr_timezone AS ShippingLocationTimeZone,
InboundMonitor.shpfr_locid AS StartLocationUUID,
InboundMonitor.shpfr_loctype AS ShippingLocationType,
InboundMonitor.shpto_loc_grp AS SCMHierarchyParentNode,
InboundMonitor.shpto_timezone AS ReceivingLocationTimeZone,
InboundMonitor.shpto_locid AS DestinationLocationUUID,
InboundMonitor.shpto_loctype AS ReceivingLocationType,
InboundMonitor.plant AS SCMPlant,
InboundMonitor.prodgroup AS ProductGroupValue,
InboundMonitor.prod_guid AS SCMProductUUID,
InboundMonitor.prod_nr AS Product,
InboundMonitor.dlvquan AS TotDeliveryQuantityInBaseUnit,
InboundMonitor.dlvstatqty AS DeliveryStatusQuantity,
InboundMonitor.dlvrecqty AS CumulativeGoodsReceiptQuantity,
InboundMonitor.altquan AS TotalAlertQuantity,
InboundMonitor.tgrmng_bme AS TotReceiptQuantityInBaseUnit,
InboundMonitor.agrmng_bme AS LastGoodsReceiptQuantity,
InboundMonitor.base_uom AS ProductBaseUnit,
cast ( InboundMonitor.shp_date as vdm_inbnd_tstmp_pro_ship ) AS SCMDeliveryStartDateTime,
cast ( InboundMonitor.avail_date as vdm_inbnd_tstmp_avail ) AS SCMDeliveryAvailyDateTime,
cast ( InboundMonitor.next_chg_date as vdm_inbnd_tstmp_nchg ) AS SCMDeliveryStatusChgDateTime,
InboundMonitor.tzone AS WarehouseTimeZone,
InboundMonitor.flag_open AS SCMDeliveryIsOpen,
InboundMonitor.flag_late AS SCMDeliveryIsLate,
InboundMonitor.ext_system AS WarehouseLogicalSystem,
InboundMonitor.flag_del_rec AS DeliveryIsMarkedForDeletion,
InboundMonitor.updtmode AS DeliveryUpdateCode,
InboundMonitor.priop_last AS DeliveryPriorityPointsValue,
cast ( InboundMonitor.priop_last_tstmp as vdm_inbnd_priop_tstmp ) AS DelivPriorityPointsLastDteTime,
InboundMonitor.priop_req AS DelivIsPlndForPriorityPoints,
cast ( InboundMonitor.priop_req_tstmp as vdm_inbnd_priop_req_tstmp ) AS DelivPriorityPointsReqdDteTime,
InboundMonitor.cr_alert_req AS DelivIsMarkedForCriticalAlert,
InboundMonitor.shpto_master_fc AS ContractPackagerLocation,
InboundMonitor.shpto_master_lt AS ContractPackagerLocationType,
InboundMonitor.process_type AS SCMProcessCategory,
InboundMonitor.putawayqty AS SCMPutawayQuantity,
InboundMonitor.first_status AS SCMFirstDeliveryStatus,
InboundMonitor.push_scenario AS DeliveryIsPushScenario,
InboundMonitor.shpfr_loc AS StartLocation,
InboundMonitor.shpto_loc AS DestinationLocation,
_MTrMapping.MeansOfTransportVehicle AS MeansOfTransportVehicle,
_Status.SCMDeliveryStatus AS SCMDeliveryStatus,
_Status.SCMDeliveryStatusStrtDate AS SCMDeliveryStatusStrtDate,
_Status.SCMDeliveryStatusDurnInHours AS SCMDeliveryStatusDurnInHours,
'SPP' AS SrvcPartsApplication,
cast ('000' as /sapapo/c_modelid ) AS PlanningModel,
_Status._CalendarDate.CalendarDate AS CalendarDate,
_Status._CalendarDate.CalendarYear AS CalendarYear,
_Status._CalendarDate.CalendarQuarter AS CalendarQuarter,
_Status._CalendarDate.CalendarMonth AS CalendarMonth,
_Status._CalendarDate.CalendarWeek AS CalendarWeek,
_Status._CalendarDate.CalendarDay AS CalendarDay,
_Status._CalendarDate.YearMonth AS YearMonth,
_Status._CalendarDate.YearQuarter AS YearQuarter,
_Status._CalendarDate.YearWeek AS YearWeek,
_Status._CalendarDate.WeekDay AS WeekDay,
_Status._CalendarDate.FirstDayOfWeekDate AS FirstDayOfWeekDate,
_Status._CalendarDate.FirstDayOfMonthDate AS FirstDayOfMonthDate,
_Status._CalendarDate.CalendarDayOfYear AS CalendarDayOfYear,
_Status._CalendarDate.YearDay AS YearDay,
_Status._CalendarDate._CalendarMonth AS _CalendarMonth,
_Status._CalendarDate._CalendarQuarter AS _CalendarQuarter,
_Status._CalendarDate._CalendarYear AS _CalendarYear,
_Status._CalendarDate._WeekDay AS _WeekDay,
_Status._CalendarDate._YearMonth AS _YearMonth,
_Status._CalendarDate AS _CalendarDate
FROM /scmb/inbdlvdat AS InboundMonitor
LEFT OUTER JOIN I_SrvcPartsDeliveryStatusBasic AS _Status ON SCMAdvncdShipgNotifUUID = _Status.SCMAdvncdShipgNotifUUID AND SCMAdvncdShipgNotifItemUUID = _Status.SCMAdvncdShipgNotifItemUUID -- association [0..*]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product -- association [0..1]
LEFT OUTER JOIN I_LocationAnalytics AS _StartLocationAnalytics ON StartLocation = _StartLocationAnalytics.Location -- association [0..1]
LEFT OUTER JOIN I_LocationAnalytics AS _DestinationLocationAnalytics ON DestinationLocation = _DestinationLocationAnalytics.Location -- association [0..1]
LEFT OUTER JOIN I_LocationText AS _StartLocationText ON StartLocationUUID = _StartLocationText.LocationUUID -- association [0..*]
LEFT OUTER JOIN I_LocationText AS _DestinationLocationText ON DestinationLocationUUID = _DestinationLocationText.LocationUUID -- association [0..*]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_CalendarMonthText AS _CalendarMonthText ON CalendarMonth = _CalendarMonthText.CalendarMonth -- association [0..*]
LEFT OUTER JOIN I_CalendarQuarterText AS _CalendarQuarterText ON CalendarQuarter = _CalendarQuarterText.CalendarQuarter -- association [0..*]
LEFT OUTER JOIN I_WeekDayText AS _WeekDayText ON WeekDay = _WeekDayText.WeekDay -- association [0..*]
LEFT OUTER JOIN I_SrvcPartsForecastPeriodicity AS _Periodicity ON SrvcPartsApplication = _Periodicity.SrvcPartsApplication -- association [1..1]
LEFT OUTER JOIN I_SrvcPartsMTrMapping AS _MTrMapping ON MeansOfTransportExternal = _MTrMapping.MeansOfTransportExternal -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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