SEPMRA_I_ScheduleLineTP
EPMRA: Transactional BO SalesOrderSL
SEPMRA_I_ScheduleLineTP is a CDS View that provides data about "EPMRA: Transactional BO SalesOrderSL" in SAP S/4HANA. It reads from 1 data source (SEPM_I_SlsOrdItemSchedLine_E) and exposes 10 fields with key fields SalesOrder, SalesOrderItem, ScheduleLine. It has 3 associations to related views. Part of development package S_ODATA_EPMRA_SO_MAN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| SEPM_I_SlsOrdItemSchedLine_E | sl | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | SEPMRA_I_SalesOrderTP | _SalesOrder | $projection.SalesOrder = _SalesOrder.SalesOrder |
| [1] | SEPMRA_I_SalesOrderItemTP | _SalesOrderItem | $projection.SalesOrder = _SalesOrderItem.SalesOrder and $projection.SalesOrderItem = _SalesOrderItem.SalesOrderItem |
| [0..1] | SEPM_I_UnitOfMeasure | _QuantityUnit | $projection.QuantityUnit = _QuantityUnit.UnitOfMeasure |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SEPMRAISLTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | EPMRA: Transactional BO SalesOrderSL | view | |
| ObjectModel.writeDraftPersistence | SEPMRA_SL_DRFT | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.updateEnabled | true | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrder | SEPM_I_SlsOrdItemSchedLine_E | SalesOrder | SD Document |
| KEY | SalesOrderItem | SEPM_I_SlsOrdItemSchedLine_E | SalesOrderItem | Sales Order Item |
| KEY | ScheduleLine | SEPM_I_SlsOrdItemSchedLine_E | ScheduleLine | Schedule Line |
| DeliveryDate | Delivery Date | |||
| DeliveryDateTime | SEPM_I_SlsOrdItemSchedLine_E | DeliveryDateTime | ||
| QuantityUnit | SEPM_I_SlsOrdItemSchedLine_E | QuantityUnit | Unit of measure | |
| Quantity | ||||
| _SalesOrder | _SalesOrder | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _QuantityUnit | _QuantityUnit |
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 SEPMRA_I_ScheduleLineTP.
-- 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 SEPMRA_I_ScheduleLineTP AS
SELECT
sl.SalesOrder AS SalesOrder,
sl.SalesOrderItem AS SalesOrderItem,
sl.ScheduleLine AS ScheduleLine,
cast( left(cast(DeliveryDateTime as abap.char(23)), 8) as abap.dats ) AS DeliveryDate,
sl.DeliveryDateTime AS DeliveryDateTime,
sl.QuantityUnit AS QuantityUnit,
cast(ceil(sl.Quantity) as sepmra_quantityasint preserving type ) AS Quantity
FROM SEPM_I_SlsOrdItemSchedLine_E AS sl
LEFT OUTER JOIN SEPMRA_I_SalesOrderTP AS _SalesOrder ON SalesOrder = _SalesOrder.SalesOrder -- association [1]
LEFT OUTER JOIN SEPMRA_I_SalesOrderItemTP AS _SalesOrderItem ON SalesOrder = _SalesOrderItem.SalesOrder AND SalesOrderItem = _SalesOrderItem.SalesOrderItem -- association [1]
LEFT OUTER JOIN SEPM_I_UnitOfMeasure AS _QuantityUnit ON QuantityUnit = _QuantityUnit.UnitOfMeasure -- association [0..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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