I_CustomerReturnScheduleLine
Returns Order Schedule Line
I_CustomerReturnScheduleLine is a Basic CDS View (Dimension) that provides data about "Returns Order Schedule Line" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentScheduleLine) and exposes 44 fields with key fields CustomerReturn, CustomerReturnItem, ScheduleLine. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentScheduleLine | SalesDocumentScheduleLine | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CustomerReturn | _CustomerReturn | $projection.CustomerReturn = _CustomerReturn.CustomerReturn |
| [1..1] | I_CustomerReturnItem | _CustomerReturnItem | $projection.CustomerReturn = _CustomerReturnItem.CustomerReturn and $projection.CustomerReturnItem = _CustomerReturnItem.CustomerReturnItem |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | ScheduleLine | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Returns Order Schedule Line | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISDCUSTRETSCHDLN | view | |
| Metadata.allowExtensions | true | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerReturn | I_SalesDocumentScheduleLine | SalesDocument | SD Document |
| KEY | CustomerReturnItem | SalesDocumentItem | Sales Document Item | |
| KEY | ScheduleLine | ScheduleLine | Schedule Line | |
| ScheduleLineCategory | ScheduleLineCategory | Sched.Line Cat. | ||
| OrderQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| OrderToBaseQuantityDnmntr | OrderToBaseQuantityDnmntr | Denominator | ||
| OrderToBaseQuantityNmrtr | OrderToBaseQuantityNmrtr | Numerator | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| RequestedDeliveryDate | I_SalesDocumentScheduleLine | RequestedDeliveryDate | Requested Delivery Date | |
| RequestedDeliveryTime | RequestedDeliveryTime | |||
| ScheduleLineOrderQuantity | ScheduleLineOrderQuantity | Scheduled Qty | ||
| CorrectedQtyInOrderQtyUnit | CorrectedQtyInOrderQtyUnit | Corr.qty | ||
| ConfirmedDeliveryDate | ConfirmedDeliveryDate | Confirmed Delivery Date | ||
| ConfirmedDeliveryTime | ConfirmedDeliveryTime | |||
| ConfdOrderQtyByMatlAvailCheck | ConfdOrderQtyByMatlAvailCheck | Quantity | ||
| ConfdSchedLineReqdDelivDate | ConfdSchedLineReqdDelivDate | Delivery Date | ||
| ScheduleLineConfirmationStatus | ScheduleLineConfirmationStatus | Goods Receipt | ||
| OrderID | I_SalesDocumentScheduleLine | OrderID | Order ID | |
| DeliveryCreationDate | DeliveryCreationDate | Delivery Date | ||
| TransportationPlanningDate | TransportationPlanningDate | TranspPlngDate | ||
| TransportationPlanningTime | TransportationPlanningTime | Tr. Plan. Time | ||
| LoadingDate | LoadingDate | Loading Date | ||
| LoadingTime | LoadingTime | Loading Time | ||
| ItemIsDeliveryRelevant | ItemIsDeliveryRelevant | Item rel.f.dlv. | ||
| DelivBlockReasonForSchedLine | DelivBlockReasonForSchedLine | Delivery Block | ||
| OpenReqdDelivQtyInOrdQtyUnit | OpenReqdDelivQtyInOrdQtyUnit | Open Quantity | ||
| OpenReqdDelivQtyInBaseUnit | OpenReqdDelivQtyInBaseUnit | Open Quantity | ||
| OpenConfdDelivQtyInOrdQtyUnit | OpenConfdDelivQtyInOrdQtyUnit | Open Quantity | ||
| OpenConfdDelivQtyInBaseUnit | OpenConfdDelivQtyInBaseUnit | Open Quantity | ||
| DeliveredQtyInOrderQtyUnit | DeliveredQtyInOrderQtyUnit | Delivered Qty | ||
| DeliveredQuantityInBaseUnit | DeliveredQuantityInBaseUnit | Delivered Qty | ||
| GoodsMovementType | GoodsMovementType | Movement Type | ||
| OpenDeliveryNetAmount | OpenDeliveryNetAmount | Open Delivery Amount | ||
| TransactionCurrency | I_SalesDocumentScheduleLine | TransactionCurrency | Transaction Currency | |
| _CustomerReturn | _CustomerReturn | |||
| _CustomerReturnItem | _CustomerReturnItem | |||
| _ScheduleLineCategory | _ScheduleLineCategory | |||
| _ScheduleLineConfStatus | _ScheduleLineConfStatus | |||
| _TransactionCurrency | I_SalesDocumentScheduleLine | _TransactionCurrency | ||
| _OrderID | _OrderID | |||
| _OrderQuantityUnit | _OrderQuantityUnit | |||
| _BaseUnit | _BaseUnit | |||
| _DelivBlockReasonForSchedLine | _DelivBlockReasonForSchedLine | |||
| _GoodsMovementType | _GoodsMovementType |
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_CustomerReturnScheduleLine.
-- 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: ISDCUSTRETSCHDLN
CREATE VIEW I_CustomerReturnScheduleLine AS
SELECT
SalesDocumentScheduleLine.SalesDocument AS CustomerReturn,
SalesDocumentItem AS CustomerReturnItem,
ScheduleLine,
ScheduleLineCategory,
OrderQuantityUnit,
OrderToBaseQuantityDnmntr,
OrderToBaseQuantityNmrtr,
BaseUnit,
SalesDocumentScheduleLine.RequestedDeliveryDate AS RequestedDeliveryDate,
RequestedDeliveryTime,
ScheduleLineOrderQuantity,
CorrectedQtyInOrderQtyUnit,
ConfirmedDeliveryDate,
ConfirmedDeliveryTime,
ConfdOrderQtyByMatlAvailCheck,
ConfdSchedLineReqdDelivDate,
ScheduleLineConfirmationStatus,
SalesDocumentScheduleLine.OrderID AS OrderID,
DeliveryCreationDate,
TransportationPlanningDate,
TransportationPlanningTime,
LoadingDate,
LoadingTime,
ItemIsDeliveryRelevant,
DelivBlockReasonForSchedLine,
OpenReqdDelivQtyInOrdQtyUnit,
OpenReqdDelivQtyInBaseUnit,
OpenConfdDelivQtyInOrdQtyUnit,
OpenConfdDelivQtyInBaseUnit,
DeliveredQtyInOrderQtyUnit,
DeliveredQuantityInBaseUnit,
GoodsMovementType,
OpenDeliveryNetAmount,
SalesDocumentScheduleLine.TransactionCurrency AS TransactionCurrency,
SalesDocumentScheduleLine._TransactionCurrency AS _TransactionCurrency
FROM I_SalesDocumentScheduleLine AS SalesDocumentScheduleLine
LEFT OUTER JOIN I_CustomerReturn AS _CustomerReturn ON CustomerReturn = _CustomerReturn.CustomerReturn -- association [1..1]
LEFT OUTER JOIN I_CustomerReturnItem AS _CustomerReturnItem ON CustomerReturn = _CustomerReturnItem.CustomerReturn AND CustomerReturnItem = _CustomerReturnItem.CustomerReturnItem -- association [1..1]
;
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