N_OrderOperation
Order Operation Aux
N_OrderOperation is a CDS View that provides data about "Order Operation Aux" in SAP S/4HANA. It reads from 2 data sources (I_WorkCenterText, afvc) and exposes 9 fields with key fields OrderInternalID, OrderOperationInternalID. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkCenterText | _WorkCenterText | left_outer |
| afvc | afvg | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_OrderInternalID | _OrderInternalID | $projection.OrderInternalID = _OrderInternalID.OrderInternalID -- for ESH |
| [0..1] | I_WorkCenter | _WorkCenter | $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID and $projection.WorkCenterTypeCode = _WorkCenter.WorkCenterCategoryCode |
| [0..1] | I_OrderOperationLongText | _LongText | $projection.OrderInternalID = _LongText.OrderInternalID and $projection.OrderOperationInternalID = _LongText.OrderOperationInternalID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | NORDEROPERATION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ObjectModel.representativeKey | OrderOperationInternalID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.auxiliaryEntity.for.entity | I_OrderOperation | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Order Operation Aux | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderInternalID | afvc | aufpl | TaskList No.Ops |
| KEY | OrderOperationInternalID | afvc | aplzl | Plan No.f.Oper. |
| WorkCenterInternalID | afvc | arbid | WorkCtrGp plan. | |
| WorkCenterTypeCode | ||||
| Plant | afvc | werks | Receiving Plant | |
| WorkCenterText | I_WorkCenterText | WorkCenterText | Work Center Text | |
| _OrderInternalID | _OrderInternalID | |||
| _WorkCenter | _WorkCenter | |||
| _LongText | _LongText |
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 N_OrderOperation.
-- 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: NORDEROPERATION
CREATE VIEW N_OrderOperation AS
SELECT
afvg.aufpl AS OrderInternalID,
afvg.aplzl AS OrderOperationInternalID,
afvg.arbid AS WorkCenterInternalID,
'A' AS WorkCenterTypeCode,
afvg.werks AS Plant,
_WorkCenterText.WorkCenterText AS WorkCenterText
FROM afvc AS afvg
LEFT OUTER JOIN I_WorkCenterText AS _WorkCenterText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OrderInternalID AS _OrderInternalID ON OrderInternalID = _OrderInternalID.OrderInternalID -- association [1..1]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterInternalID = _WorkCenter.WorkCenterInternalID AND WorkCenterTypeCode = _WorkCenter.WorkCenterCategoryCode -- association [0..1]
LEFT OUTER JOIN I_OrderOperationLongText AS _LongText ON OrderInternalID = _LongText.OrderInternalID AND OrderOperationInternalID = _LongText.OrderOperationInternalID -- 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