R_CustomerReturnsDeliveryTP

DDL: R_CUSTOMERRETURNSDELIVERYTP Type: view_entity TRANSACTIONAL

Customer Returns Delivery - TP

R_CustomerReturnsDeliveryTP is a Transactional CDS View that provides data about "Customer Returns Delivery - TP" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocument) and exposes 104 fields with key field CustomerReturnDelivery. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocument CustomerReturnsDelivery from

Associations (4)

CardinalityTargetAliasCondition
[0..1] E_DeliveryDocument _Extension $projection.CustomerReturnDelivery = _Extension.DeliveryDocument
[1..*] R_CustomerReturnsDelivItemTP _Item
[1..*] R_CustRetDelivPartnerTP _Partner
[0..*] R_CustRetDelivTextTP _Text

Annotations (10)

NameValueLevelField
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
ObjectModel.sapObjectNodeType.name CustomerReturnsDelivery view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey CustomerReturnDelivery view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Customer Returns Delivery - TP view

Fields (104)

KeyFieldSource TableSource FieldDescription
KEY CustomerReturnDelivery DeliveryDocument Outbound Delivery
ShipToParty ShipToParty Ship-To Party (obsolete)
SoldToParty SoldToParty Sold-to Party
Supplier Supplier Supplier
ReceivingPlant ReceivingPlant Receiving Plant
CustomerGroup CustomerGroup Customer Group
Warehouse Warehouse Warehouse No.
WarehouseGate WarehouseGate Door for Whse
WarehouseStagingArea WarehouseStagingArea Staging Area
HandlingUnitInStock HandlingUnitInStock HU in Stock
TotalNumberOfPackage TotalNumberOfPackage No. of Packages
RouteSchedule RouteSchedule Route Schedule
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
BillOfLading BillOfLading Bill of Lading
GoodsMovementSlipNumber GoodsIssueOrReceiptSlipNumber GR/GI Slip No.
TransportationGroup TransportationGroup Trans. Group
ShipmentBlockReason ShipmentBlockReason ShpmtBlReason
ShippingCondition ShippingCondition Shipping Conditions
ShippingType ShippingType Shipping Type
SpecialProcessingCode SpecialProcessingCode Spec.Processing
MeansOfTransport MeansOfTransport Shipment ID
MeansOfTransportType MeansOfTransportType Packag.Mat.Type
MeansOfTransportRefMaterial MeansOfTransportRefMaterial MeansTransp.
ExternalTransportSystem ExternalTransportSystem ID Transp.Syst.
FactoryCalendarByCustomer FactoryCalendarByCustomer FactoryCalendar
HeaderGrossWeight HeaderGrossWeight Total Weight
HeaderNetWeight HeaderNetWeight Net Weight
HeaderWeightUnit HeaderWeightUnit Weight Unit
HeaderVolume HeaderVolume Volume
HeaderVolumeUnit HeaderVolumeUnit Volume Unit
IsExportDelivery IsExportDelivery Export
HeaderBillingBlockReason HeaderBillingBlockReason Billing Block
InternalFinancialDocument InternalFinancialDocument Financ.Doc.No.
DepreciationInPercent DepreciationPercentage Depreciation
PaymentGuaranteeProcedure PaymentGuaranteeProcedure Paym.Guar.Proc.
TransactionCurrency TransactionCurrency Transaction Currency
StatisticsCurrency StatisticsCurrency Stats. Currency
DeliveryDocumentBySupplier DeliveryDocumentBySupplier Lifex
ExternalIdentificationType ExternalIdentificationType Type Ext. Ident
ShippingPoint ShippingPoint Shipping Point
SalesOrganization SalesOrganization Sales Organization
SalesOffice SalesOffice Sales Office
SalesDistrict SalesDistrict Sales District
CreatedByUser CreatedByUser User Name
LastChangedByUser LastChangedByUser User Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
LastChangeDate LastChangeDate Time Stamp
DeliveryVersion DeliveryVersion DLV.Version
DeliveryPriority DeliveryPriority Delivery Prior.
DeliveryBlockReason DeliveryBlockReason Delivery Block
DeliveryDocumentType DeliveryDocumentType Delivery Type
SDDocumentCategory SDDocumentCategory Document Cat.
CompleteDeliveryIsDefined CompleteDeliveryIsDefined Complete Dlv.
OrderCombinationIsAllowed OrderCombinationIsAllowed Order Combinat.
DocumentDate DocumentDate Journal Entry Date
PickDate PickingDate Pick Date
PickTime PickingTime Picking Time
TransportationPlanningDate TransportationPlanningDate TranspPlngDate
TransportationPlanningTime TransportationPlanningTime Tr. Plan. Time
LoadingDate LoadingDate Loading Date
LoadingTime LoadingTime Loading Time
PlannedGoodsMovementDate PlannedGoodsIssueDate Planned Gds Mvmt
PlannedGoodsMovementTime GI Time
DeliveryDate DeliveryDate Delivery Date
DeliveryTime DeliveryTime TimeOfDelivery
BillingDocumentDate BillingDocumentDate Billing Date
IntercompanyBillingDate IntercompanyBillingDate Intco Bill Date
ActualGoodsMovementDate ActualGoodsMovementDate Actual GI Date
ActualGoodsMovementTime GI Time
ProofOfDeliveryDate ProofOfDeliveryDate POD Date
ProofOfDeliveryTime ConfirmationTime Confirm. Time
ShippingLocationTimeZone ShippingLocationTimeZone Del. loc. tzone
ReceivingLocationTimeZone ReceivingLocationTimeZone Rec. time zone
OverallPickStatus OverallPickingStatus Picking Status
OverallWarehouseActivityStatus OverallWarehouseActivityStatus WM Activity Sts
OverallPickConfStatus OverallPickingConfStatus Confirmation
OverallPackingStatus OverallPackingStatus Packing Status
OverallGoodsMovementStatus OverallGoodsMovementStatus Goods Mvmnt Sts
OverallDelivReltdBillgStatus OverallDelivReltdBillgStatus Del.Rel.BillgSt
TransportationPlanningStatus TransportationPlanningStatus Transp.Plng Sts
DistrStatusByDecentralizedWrhs DistrStatusByDecentralizedWrhs StatDecntrlWhse
OverallProofOfDeliveryStatus OverallProofOfDeliveryStatus POD Status
OverallIntcoBillingStatus OverallIntcoBillingStatus
TotalCreditCheckStatus TotalCreditCheckStatus OverallCredStat
OverallDeliveryProcessStatus OverallSDProcessStatus Overall Status
TotalBlockStatus TotalBlockStatus Ovrl Block Sts
OverallDelivConfStatus OverallDelivConfStatus Deliv. Conf.Sts
HdrGeneralIncompletionStatus HdrGeneralIncompletionStatus Overall Header
HeaderDelivIncompletionStatus HeaderDelivIncompletionStatus Delivery – Item
HeaderPickIncompletionStatus HeaderPickgIncompletionStatus Picking/Putaway–Item
HeaderPackingIncompletionSts HeaderPackingIncompletionSts Packing – Item
HdrGoodsMvtIncompletionStatus HdrGoodsMvtIncompletionStatus GoodsMvt–Header
HeaderBillgIncompletionStatus HeaderBillgIncompletionStatus Billing Doc.
OvrlItmGeneralIncompletionSts OvrlItmGeneralIncompletionSts All Items
OvrlItmPackingIncompletionSts OvrlItmPackingIncompletionSts Packing – Items
OvrlItmPickIncompletionSts OvrlItmPickingIncompletionSts Picking/Ptwy – Items
OvrlItmDelivIncompletionSts OvrlItmDelivIncompletionSts Deliv–All Itms
OvrlItmGdsMvtIncompletionSts OvrlItmGdsMvtIncompletionSts GdsMvt–All Itms
DeliveryIsInPlant DeliveryIsInPlant In Plant
_Item _Item
_Partner _Partner
_Text _Text

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_CustomerReturnsDeliveryTP.
-- 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_CustomerReturnsDeliveryTP AS
SELECT
  DeliveryDocument AS CustomerReturnDelivery,
  ShipToParty,
  SoldToParty,
  Supplier,
  ReceivingPlant,
  CustomerGroup,
  Warehouse,
  WarehouseGate,
  WarehouseStagingArea,
  HandlingUnitInStock,
  TotalNumberOfPackage,
  RouteSchedule,
  IncotermsClassification,
  IncotermsTransferLocation,
  BillOfLading,
  GoodsIssueOrReceiptSlipNumber AS GoodsMovementSlipNumber,
  TransportationGroup,
  ShipmentBlockReason,
  ShippingCondition,
  ShippingType,
  SpecialProcessingCode,
  MeansOfTransport,
  MeansOfTransportType,
  MeansOfTransportRefMaterial,
  ExternalTransportSystem,
  FactoryCalendarByCustomer,
  HeaderGrossWeight,
  HeaderNetWeight,
  HeaderWeightUnit,
  HeaderVolume,
  HeaderVolumeUnit,
  IsExportDelivery,
  HeaderBillingBlockReason,
  InternalFinancialDocument,
  DepreciationPercentage AS DepreciationInPercent,
  PaymentGuaranteeProcedure,
  TransactionCurrency,
  StatisticsCurrency,
  DeliveryDocumentBySupplier,
  ExternalIdentificationType,
  ShippingPoint,
  SalesOrganization,
  SalesOffice,
  SalesDistrict,
  CreatedByUser,
  LastChangedByUser,
  CreationDate,
  CreationTime,
  LastChangeDate,
  DeliveryVersion,
  DeliveryPriority,
  DeliveryBlockReason,
  DeliveryDocumentType,
  SDDocumentCategory,
  CompleteDeliveryIsDefined,
  OrderCombinationIsAllowed,
  DocumentDate,
  PickingDate AS PickDate,
  PickingTime AS PickTime,
  TransportationPlanningDate,
  TransportationPlanningTime,
  LoadingDate,
  LoadingTime,
  PlannedGoodsIssueDate AS PlannedGoodsMovementDate,
  cast(GoodsIssueTime as le_wauhr preserving type) AS PlannedGoodsMovementTime,
  DeliveryDate,
  DeliveryTime,
  BillingDocumentDate,
  IntercompanyBillingDate,
  ActualGoodsMovementDate,
  cast(ActualGoodsMovementTime as le_wauhr_ist preserving type) AS ActualGoodsMovementTime,
  ProofOfDeliveryDate,
  ConfirmationTime AS ProofOfDeliveryTime,
  ShippingLocationTimeZone,
  ReceivingLocationTimeZone,
  OverallPickingStatus AS OverallPickStatus,
  OverallWarehouseActivityStatus,
  OverallPickingConfStatus AS OverallPickConfStatus,
  OverallPackingStatus,
  OverallGoodsMovementStatus,
  OverallDelivReltdBillgStatus,
  TransportationPlanningStatus,
  DistrStatusByDecentralizedWrhs,
  OverallProofOfDeliveryStatus,
  OverallIntcoBillingStatus,
  TotalCreditCheckStatus,
  OverallSDProcessStatus AS OverallDeliveryProcessStatus,
  TotalBlockStatus,
  OverallDelivConfStatus,
  HdrGeneralIncompletionStatus,
  HeaderDelivIncompletionStatus,
  HeaderPickgIncompletionStatus AS HeaderPickIncompletionStatus,
  HeaderPackingIncompletionSts,
  HdrGoodsMvtIncompletionStatus,
  HeaderBillgIncompletionStatus,
  OvrlItmGeneralIncompletionSts,
  OvrlItmPackingIncompletionSts,
  OvrlItmPickingIncompletionSts AS OvrlItmPickIncompletionSts,
  OvrlItmDelivIncompletionSts,
  OvrlItmGdsMvtIncompletionSts,
  DeliveryIsInPlant
FROM I_DeliveryDocument AS CustomerReturnsDelivery
LEFT OUTER JOIN E_DeliveryDocument AS _Extension ON CustomerReturnDelivery = _Extension.DeliveryDocument  -- association [0..1]
LEFT OUTER JOIN R_CustomerReturnsDelivItemTP AS _Item ON /* condition not available in parsed metadata */  -- association [1..*]
LEFT OUTER JOIN R_CustRetDelivPartnerTP AS _Partner ON /* condition not available in parsed metadata */  -- association [1..*]
LEFT OUTER JOIN R_CustRetDelivTextTP AS _Text ON /* condition not available in parsed metadata */  -- association [0..*]
;