R_CustomerReturnsDelivItemTP

DDL: R_CUSTOMERRETURNSDELIVITEMTP Type: view_entity TRANSACTIONAL

Customer Returns Delivery Item - TP

R_CustomerReturnsDelivItemTP is a Transactional CDS View that provides data about "Customer Returns Delivery Item - TP" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocumentItem) and exposes 133 fields with key fields CustomerReturnDelivery, CustomerReturnDeliveryItem. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocumentItem CustomerReturnsDeliveryItem from

Associations (3)

CardinalityTargetAliasCondition
[0..1] E_DeliveryDocumentItem _Extension $projection.CustomerReturnDelivery = _Extension.DeliveryDocument and $projection.CustomerReturnDeliveryItem = _Extension.DeliveryDocumentItem
[0..*] R_CustRetDelivItemTextTP _ItemText
[0..*] R_CustRetDelivItemSerialNmbrTP _SerialNumber

Annotations (9)

NameValueLevelField
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.representativeKey CustomerReturnDeliveryItem view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Customer Returns Delivery Item - TP view

Fields (133)

KeyFieldSource TableSource FieldDescription
KEY CustomerReturnDelivery Outbound Delivery
KEY CustomerReturnDeliveryItem Outb. Delivery Item
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
LastChangeDate LastChangeDate Time Stamp
ActualDeliveredQtyInBaseUnit Qty (stckp.unt)
OrderQuantityUnit DeliveryQuantityUnit Unit of measure
ActualDeliveredQtyInOrderUnit Base quantity
PickQuantityInBaseUnit
PickQuantityInOrderUnit
QuantityIsFixed QuantityIsFixed Qty. is fixed
OriginalDeliveryQuantity OriginalDeliveryQuantity Base quantity
BaseUnit BaseUnit Unit of Measure
DeliveryToBaseQuantityDnmntr DeliveryToBaseQuantityDnmntr Denominator
DeliveryToBaseQuantityNmrtr DeliveryToBaseQuantityNmrtr Numerator
ItemGrossWeight ItemGrossWeight Gross Weight
ItemNetWeight ItemNetWeight Net Weight
ItemWeightUnit ItemWeightUnit Unit of Weight
ItemVolume ItemVolume Volume
ItemVolumeUnit ItemVolumeUnit Volume Unit
PickStatus PickingStatus Status Value
WarehouseActivityStatus WarehouseActivityStatus WM Activity Sts
PickConfirmationStatus PickingConfirmationStatus Confirmation
PackingStatus PackingStatus Packing Status
GoodsMovementStatus GoodsMovementStatus Gds Movemt Status
ProofOfDeliveryStatus ProofOfDeliveryStatus POD status
DeliveryRelatedBillingStatus DeliveryRelatedBillingStatus Del.Rel.BillgSt
IntercompanyBillingStatus IntercompanyBillingStatus
DeliveryItemProcessStatus SDProcessStatus Overall Status
ItemGeneralIncompletionStatus ItemGeneralIncompletionStatus Overall Header
ItemDeliveryIncompletionStatus ItemDeliveryIncompletionStatus Delivery – Item
ItemPickIncompletionStatus ItemPickingIncompletionStatus Picking/Putaway–Item
ItemGdsMvtIncompletionSts ItemGdsMvtIncompletionSts GoodsMvt–Header
ItemPackingIncompletionStatus ItemPackingIncompletionStatus Packing – Item
ItemBillingIncompletionStatus ItemBillingIncompletionStatus Billing Doc.
IsCompletelyDelivered IsCompletelyDelivered Is completely delivered
InspectionLot InspectionLot Inspection Lot
InspectionPartialLot InspectionPartialLot Partial Lot
Material Material Vehicle Model
DeliveryDocumentItemText DeliveryDocumentItemText Short Text
MaterialByCustomer MaterialByCustomer Customer Mat.
AlternateProductNumber AlternateProductNumber Alt.ProdNr.
CustEngineeringChgStatus CustEngineeringChgStatus Engin. Change
BOMExplosion BOMExplosion Serial Number
HigherLevelItem HigherLevelItem Higher-Lev.Item
InternationalArticleNumber InternationalArticleNumber EAN/UPC
OriginallyRequestedMaterial OriginallyRequestedMaterial MaterialEntered
MaterialGroup MaterialGroup Product Group
AdditionalMaterialGroup1 AdditionalMaterialGroup1 MaterialGroup 1
AdditionalMaterialGroup2 AdditionalMaterialGroup2 MaterialGroup 2
AdditionalMaterialGroup3 AdditionalMaterialGroup3 MaterialGroup 3
AdditionalMaterialGroup4 AdditionalMaterialGroup4 MaterialGroup 4
AdditionalMaterialGroup5 AdditionalMaterialGroup5 MaterialGroup 5
Batch Batch Lot No.
MaterialIsBatchManaged MaterialIsBatchManaged Batch Mgmt Rqt(Plnt)
ShelfLifeExpirationDate ShelfLifeExpirationDate SLED/BBD
ManufactureDate ManufactureDate Date of Manuf.
BatchClassification BatchClassification Int.object no.
BatchBySupplier BatchBySupplier Supplier Batch
HigherLvlItmOfBatSpltItm HigherLvlItmOfBatSpltItm HghLevItmBatch
NumberOfSerialNumbers NumberOfSerialNumbers No.serial no.
ProductConfiguration ProductConfiguration Object Number
ProductHierarchyNode ProductHierarchyNode Prod. Hierarchy
Plant Plant Valuation Area
StorageLocation StorageLocation StorageLocation
StorageBin StorageBin Storage Bin
StorageType StorageType Storage Type
Warehouse Warehouse Warehouse No.
WarehouseStorageBin Storage Bin
WarehouseStagingArea WarehouseStagingArea Staging Area
WarehouseStockCategory Stock Category
ProductAvailabilityDate ProductAvailabilityDate Mat.Avail.Date
ProductAvailabilityTime ProductAvailabilityTime Matl Staging Tme
LoadingGroup LoadingGroup Loading Group
TransportationGroup TransportationGroup Trans. Group
MaterialFreightGroup MaterialFreightGroup Mat.Freight Grp
FixedShipgProcgDurationInDays FixedShipgProcgDurationInDays Fixed proc.time
VarblShipgProcgDurationInDays VarblShipgProcgDurationInDays Var. proc. time
ProofOfDeliveryRelevanceCode ProofOfDeliveryRelevanceCode POD rel. RC/SC
ReceivingPoint ReceivingPoint Recv. Point
BillingRelevanceCode ItemIsBillingRelevant Relev.for Bill.
ItemBillingBlockReason ItemBillingBlockReason Billing Block
PaymentGuaranteeForm PaymentGuaranteeForm PaytGuarantForm
BusinessArea BusinessArea Business Area
ControllingArea ControllingArea Controlling Area
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
ManufacturingOrder OrderID Order ID
ManufacturingOrderItem OrderItem Item Number
GLAccount GLAccount General Ledger
InventoryValuationType InventoryValuationType Valuation Type
IsSeparateValuation IsSeparateValuation Separate val.
DepartmentClassificationByCust DepartmentClassificationByCust Department
ReferenceSDDocument ReferenceSDDocument Reference Doc.
ReferenceSDDocumentItem ReferenceSDDocumentItem Reference Item
ReferenceSDDocumentCategory ReferenceSDDocumentCategory Prec.Doc.Categ.
ReferenceDocumentLogicalSystem ReferenceDocumentLogicalSystem Ref. Doc. Lgcl Syst.
PartialDeliveryIsAllowed PartialDeliveryIsAllowed Partial Deliv.
UnlimitedOverdeliveryIsAllowed UnlimitedOverdeliveryIsAllowed Unlimited Tol.
OverdelivTolrtdLmtRatioInPct OverdelivTolrtdLmtRatioInPct Overdeliv. Tol.
UnderdelivTolrtdLmtRatioInPct UnderdelivTolrtdLmtRatioInPct Underdel. Tol.
SalesDocumentItemType SalesDocumentItemType Item Type
SalesGroup SalesGroup Sales Group
SalesOffice SalesOffice Sales Office
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
DeliveryGroup DeliveryGroup Delivery Group
DeliveryDocumentItemCategory DeliveryDocumentItemCategory Item Category
GoodsMovementType GoodsMovementType Movement Type
StockType StockType Stock Type
IsNotGoodsMovementsRelevant IsNotGoodsMovementsRelevant No gds movement
GoodsMovementReasonCode GoodsMovementReasonCode Reason for Mvmt
InventorySpecialStockType InventorySpecialStockType Special Stock Type
SubsequentMovementType SubsequentMovementType Sub.movmnt type
PrimaryPostingSwitch PrimaryPostingSwitch Main posting id
ConsumptionPosting ConsumptionPosting Consumption Posting
StatisticsDate StatisticsDate Statistics Date
AdditionalCustomerGroup1 AdditionalCustomerGroup1 Customer Grp 1
AdditionalCustomerGroup2 AdditionalCustomerGroup2 Customer Grp 2
AdditionalCustomerGroup3 AdditionalCustomerGroup3 Customer Grp 3
AdditionalCustomerGroup4 AdditionalCustomerGroup4 Customer Grp 4
AdditionalCustomerGroup5 AdditionalCustomerGroup5 Customer Grp 5
IssgOrRcvgStockCategory Stock Category
IssgOrRcvgMaterial IssgOrRcvgMaterial Transfer Material
IssuingOrReceivingPlant IssuingOrReceivingPlant Transfer Plant
IssuingOrReceivingStorageLoc IssuingOrReceivingStorageLoc Receiving SLoc.
IssgOrRcvgBatch IssgOrRcvgBatch Transfer Batch
IssgOrRcvgValuationType IssgOrRcvgValuationType Val. Type Tfr.
IssgOrRcvgSpclStockCode IssgOrRcvgSpclStockInd Special Stock
_ItemText _ItemText
_SerialNumber _SerialNumber
_Delivery _Delivery

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 R_CustomerReturnsDelivItemTP.
-- 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 R_CustomerReturnsDelivItemTP AS
SELECT
  cast(DeliveryDocument as customer_return_delivery preserving type) AS CustomerReturnDelivery,
  cast(DeliveryDocumentItem as customer_return_delivery_item preserving type) AS CustomerReturnDeliveryItem,
  CreatedByUser,
  CreationDate,
  CreationTime,
  LastChangeDate,
  cast(ActualDeliveredQtyInBaseUnit as le_lgmng2 preserving type) AS ActualDeliveredQtyInBaseUnit,
  DeliveryQuantityUnit AS OrderQuantityUnit,
  cast(ActualDeliveryQuantity as le_lfimg2 preserving type) AS ActualDeliveredQtyInOrderUnit,
  cast( 0.00 as pikmg_bu ) AS PickQuantityInBaseUnit,
  cast( 0.00 as pikmg ) AS PickQuantityInOrderUnit,
  QuantityIsFixed,
  OriginalDeliveryQuantity,
  BaseUnit,
  DeliveryToBaseQuantityDnmntr,
  DeliveryToBaseQuantityNmrtr,
  ItemGrossWeight,
  ItemNetWeight,
  ItemWeightUnit,
  ItemVolume,
  ItemVolumeUnit,
  PickingStatus AS PickStatus,
  WarehouseActivityStatus,
  PickingConfirmationStatus AS PickConfirmationStatus,
  PackingStatus,
  GoodsMovementStatus,
  ProofOfDeliveryStatus,
  DeliveryRelatedBillingStatus,
  IntercompanyBillingStatus,
  SDProcessStatus AS DeliveryItemProcessStatus,
  ItemGeneralIncompletionStatus,
  ItemDeliveryIncompletionStatus,
  ItemPickingIncompletionStatus AS ItemPickIncompletionStatus,
  ItemGdsMvtIncompletionSts,
  ItemPackingIncompletionStatus,
  ItemBillingIncompletionStatus,
  IsCompletelyDelivered,
  InspectionLot,
  InspectionPartialLot,
  Material,
  DeliveryDocumentItemText,
  MaterialByCustomer,
  AlternateProductNumber,
  CustEngineeringChgStatus,
  BOMExplosion,
  HigherLevelItem,
  InternationalArticleNumber,
  OriginallyRequestedMaterial,
  MaterialGroup,
  AdditionalMaterialGroup1,
  AdditionalMaterialGroup2,
  AdditionalMaterialGroup3,
  AdditionalMaterialGroup4,
  AdditionalMaterialGroup5,
  Batch,
  MaterialIsBatchManaged,
  ShelfLifeExpirationDate,
  ManufactureDate,
  BatchClassification,
  BatchBySupplier,
  HigherLvlItmOfBatSpltItm,
  NumberOfSerialNumbers,
  ProductConfiguration,
  ProductHierarchyNode,
  Plant,
  StorageLocation,
  StorageBin,
  StorageType,
  Warehouse,
  cast(WarehouseStorageBin as le_lgpbe preserving type) AS WarehouseStorageBin,
  WarehouseStagingArea,
  cast(WarehouseStockCategory as le_bestq preserving type) AS WarehouseStockCategory,
  ProductAvailabilityDate,
  ProductAvailabilityTime,
  LoadingGroup,
  TransportationGroup,
  MaterialFreightGroup,
  FixedShipgProcgDurationInDays,
  VarblShipgProcgDurationInDays,
  ProofOfDeliveryRelevanceCode,
  ReceivingPoint,
  ItemIsBillingRelevant AS BillingRelevanceCode,
  ItemBillingBlockReason,
  PaymentGuaranteeForm,
  BusinessArea,
  ControllingArea,
  CostCenter,
  ProfitCenter,
  OrderID AS ManufacturingOrder,
  OrderItem AS ManufacturingOrderItem,
  GLAccount,
  InventoryValuationType,
  IsSeparateValuation,
  DepartmentClassificationByCust,
  ReferenceSDDocument,
  ReferenceSDDocumentItem,
  ReferenceSDDocumentCategory,
  ReferenceDocumentLogicalSystem,
  PartialDeliveryIsAllowed,
  UnlimitedOverdeliveryIsAllowed,
  OverdelivTolrtdLmtRatioInPct,
  UnderdelivTolrtdLmtRatioInPct,
  SalesDocumentItemType,
  SalesGroup,
  SalesOffice,
  DistributionChannel,
  Division,
  DeliveryGroup,
  DeliveryDocumentItemCategory,
  GoodsMovementType,
  StockType,
  IsNotGoodsMovementsRelevant,
  GoodsMovementReasonCode,
  InventorySpecialStockType,
  SubsequentMovementType,
  PrimaryPostingSwitch,
  ConsumptionPosting,
  StatisticsDate,
  AdditionalCustomerGroup1,
  AdditionalCustomerGroup2,
  AdditionalCustomerGroup3,
  AdditionalCustomerGroup4,
  AdditionalCustomerGroup5,
  cast(IssgOrRcvgStockCategory as le_umbestq preserving type) AS IssgOrRcvgStockCategory,
  IssgOrRcvgMaterial,
  IssuingOrReceivingPlant,
  IssuingOrReceivingStorageLoc,
  IssgOrRcvgBatch,
  IssgOrRcvgValuationType,
  IssgOrRcvgSpclStockInd AS IssgOrRcvgSpclStockCode
FROM I_DeliveryDocumentItem AS CustomerReturnsDeliveryItem
LEFT OUTER JOIN E_DeliveryDocumentItem AS _Extension ON CustomerReturnDelivery = _Extension.DeliveryDocument AND CustomerReturnDeliveryItem = _Extension.DeliveryDocumentItem  -- association [0..1]
LEFT OUTER JOIN R_CustRetDelivItemTextTP AS _ItemText ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_CustRetDelivItemSerialNmbrTP AS _SerialNumber ON /* condition not available in parsed metadata */  -- association [0..*]
;