R_CustomerReturnsDeliveryTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_DeliveryDocument | CustomerReturnsDelivery | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_DeliveryDocument | _Extension | $projection.CustomerReturnDelivery = _Extension.DeliveryDocument |
| [1..*] | R_CustomerReturnsDelivItemTP | _Item | |
| [1..*] | R_CustRetDelivPartnerTP | _Partner | |
| [0..*] | R_CustRetDelivTextTP | _Text | |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
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