I_TripOutbDeliveryItemTP

DDL: I_TRIPOUTBDELIVERYITEMTP SQL: ITRIPOTBDLITEMTP Type: view TRANSACTIONAL

Outbound Delivery Items

I_TripOutbDeliveryItemTP is a Transactional CDS View that provides data about "Outbound Delivery Items" in SAP S/4HANA. It reads from 4 data sources (likp, lips, oij_el_cp_layt, oij08_tripotbdel) and exposes 25 fields with key fields TripDoc, TripDocItem, OutboundDelivery, OutboundDeliveryItem. It has 5 associations to related views.

Data Sources (4)

SourceAliasJoin Type
likp likp left_outer
lips lips left_outer
oij_el_cp_layt oij_el_cp_layt left_outer
oij08_tripotbdel outbdelv from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_TripItemTP _TripItemTP $projection.TripDoc = _TripItemTP.TripDoc and $projection.TripDocItem = _TripItemTP.TripDocItem
[1..1] I_TripHeadTP _TripHeadTP $projection.TripDoc = _TripHeadTP.TripDoc
[0..*] I_TripOutboundDeliveryKeyVH _TripOutboundDeliveryKeyVH $projection.OutboundDeliveryForEdit = _TripOutboundDeliveryKeyVH.OutboundDelivery
[0..*] I_TripOutboundDeliveryVH _TripOutboundDeliveryVH $projection.OutboundDeliveryForEdit = _TripOutboundDeliveryVH.OutboundDelivery and $projection.OutboundDeliveryItemForEdit = _TripOutboundDeliveryVH.OutboundDeliveryItem
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.ScheduledQuantityUnit = _UnitOfMeasure.UnitOfMeasure

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ITRIPOTBDLITEMTP view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
EndUserText.label Outbound Delivery Items view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.writeDraftPersistence ITRIPOBDLITMTP_D view
AbapCatalog.preserveKey true view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY TripDoc oij08_tripotbdel trip_id Trip ID
KEY TripDocItem oij08_tripotbdel trip_item Trip Item Number
KEY OutboundDelivery oij08_tripotbdel vbeln SD Sched. Agmt
KEY OutboundDeliveryItem oij08_tripotbdel posnr WBS Element
TripType _TripHeadTP TripType
OutboundDeliveryForEdit oij08_tripotbdel vbeln SD Sched. Agmt
OutboundDeliveryItemForEdit oij08_tripotbdel posnr WBS Element
NominationExtNumber oij08_tripotbdel nomnr Single-Character Flag
ShipmentNumber oij08_tripotbdel shnumber Bulk shipment
DeliveryType likp lfart Settl Doc Type
ScheduledMaterial lips matnr Vehicle Model
ScheduledQuantity lips lfimg Delivery Qty
ScheduledQuantityUnit lips vrkme UoM for SubItm CCD
DemurrageAmount oij08_tripotbdel allocated_charge Pot. demurrage
DemurrageAmountCrcy oij08_tripotbdel dem_curr DemurrCurr
ShipToParty likp kunnr Stock customer
SoldToParty likp kunag Sold-to Party
VehicleId oij_el_cp_layt vehicle Vehicle Number
ShippingPoint likp vstel ShpPtDeparture
Plant lips werks Receiving Plant
_UnitOfMeasure _UnitOfMeasure
_TripHeadTP _TripHeadTP
_TripItemTP _TripItemTP
_TripOutboundDeliveryKeyVH _TripOutboundDeliveryKeyVH
_TripOutboundDeliveryVH _TripOutboundDeliveryVH

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_TripOutbDeliveryItemTP.
-- 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: ITRIPOTBDLITEMTP

CREATE VIEW I_TripOutbDeliveryItemTP AS
SELECT
  outbdelv.trip_id AS TripDoc,
  outbdelv.trip_item AS TripDocItem,
  outbdelv.vbeln AS OutboundDelivery,
  outbdelv.posnr AS OutboundDeliveryItem,
  _TripHeadTP.TripType AS TripType,
  outbdelv.vbeln AS OutboundDeliveryForEdit,
  outbdelv.posnr AS OutboundDeliveryItemForEdit,
  outbdelv.nomnr AS NominationExtNumber,
  outbdelv.shnumber AS ShipmentNumber,
  likp.lfart AS DeliveryType,
  lips.matnr AS ScheduledMaterial,
  lips.lfimg AS ScheduledQuantity,
  lips.vrkme AS ScheduledQuantityUnit,
  outbdelv.allocated_charge AS DemurrageAmount,
  outbdelv.dem_curr AS DemurrageAmountCrcy,
  likp.kunnr AS ShipToParty,
  likp.kunag AS SoldToParty,
  oij_el_cp_layt.vehicle AS VehicleId,
  likp.vstel AS ShippingPoint,
  lips.werks AS Plant
FROM oij08_tripotbdel AS outbdelv
LEFT OUTER JOIN likp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN lips ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN oij_el_cp_layt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_TripItemTP AS _TripItemTP ON TripDoc = _TripItemTP.TripDoc AND TripDocItem = _TripItemTP.TripDocItem  -- association [1..1]
LEFT OUTER JOIN I_TripHeadTP AS _TripHeadTP ON TripDoc = _TripHeadTP.TripDoc  -- association [1..1]
LEFT OUTER JOIN I_TripOutboundDeliveryKeyVH AS _TripOutboundDeliveryKeyVH ON OutboundDeliveryForEdit = _TripOutboundDeliveryKeyVH.OutboundDelivery  -- association [0..*]
LEFT OUTER JOIN I_TripOutboundDeliveryVH AS _TripOutboundDeliveryVH ON OutboundDeliveryForEdit = _TripOutboundDeliveryVH.OutboundDelivery AND OutboundDeliveryItemForEdit = _TripOutboundDeliveryVH.OutboundDeliveryItem  -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON ScheduledQuantityUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
;