I_OrderOperationBySemKey
Order Operation Basic
I_OrderOperationBySemKey is a Basic CDS View (Dimension) that provides data about "Order Operation Basic" in SAP S/4HANA. It reads from 2 data sources (I_LogisticsOrderBasic, I_OrderOperationBasic) and exposes 11 fields with key fields OrderID, Sequence, OrderOperation. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_LogisticsOrderBasic | afko | inner |
| I_OrderOperationBasic | afvc | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_LogisticsOrder | _Order | $projection.OrderID = _Order.OrderID |
| [0..1] | I_OrderSequenceBySemKey | _OrderSequence | $projection.OrderID = _OrderSequence.OrderID and $projection.Sequence = _OrderSequence.Sequence |
| [1..1] | I_OrderOperation | _OrderOperationInternalID | $projection.OrderInternalID = _OrderOperationInternalID.OrderInternalID and $projection.OrderOperationInternalID = _OrderOperationInternalID.OrderOperationInternalID |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| Consumption.ranked | true | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | OrderOperation | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Order Operation Basic | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderID | I_LogisticsOrderBasic | OrderID | Order ID |
| KEY | Sequence | I_OrderOperationBasic | Sequence | Visit Sequence |
| KEY | OrderOperation | I_OrderOperationBasic | Operation_2 | |
| OrderInternalID | I_OrderOperationBasic | OrderInternalID | Plan No.f.Oper. | |
| OrderOperationInternalID | I_OrderOperationBasic | OrderOperationInternalID | Plan No.f.Oper. | |
| OperationText | I_OrderOperationBasic | OperationText | Description | |
| OperationSecondText | I_OrderOperationBasic | OperationSecondText | Description | |
| _Order | _Order | |||
| _OrderSequence | _OrderSequence | |||
| _OrderOperationInternalID | _OrderOperationInternalID | |||
| _OrderInternalID | I_OrderOperationBasic | _OrderInternalID |
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_OrderOperationBySemKey.
-- 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 I_OrderOperationBySemKey AS
SELECT
afko.OrderID AS OrderID,
afvc.Sequence AS Sequence,
afvc.Operation_2 AS OrderOperation,
afvc.OrderInternalID AS OrderInternalID,
afvc.OrderOperationInternalID AS OrderOperationInternalID,
afvc.OperationText AS OperationText,
afvc.OperationSecondText AS OperationSecondText,
afvc._OrderInternalID AS _OrderInternalID
FROM I_OrderOperationBasic AS afvc
INNER JOIN I_LogisticsOrderBasic AS afko ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_LogisticsOrder AS _Order ON OrderID = _Order.OrderID -- association [1..1]
LEFT OUTER JOIN I_OrderSequenceBySemKey AS _OrderSequence ON OrderID = _OrderSequence.OrderID AND Sequence = _OrderSequence.Sequence -- association [0..1]
LEFT OUTER JOIN I_OrderOperation AS _OrderOperationInternalID ON OrderInternalID = _OrderOperationInternalID.OrderInternalID AND OrderOperationInternalID = _OrderOperationInternalID.OrderOperationInternalID -- 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