I_MfgOrderSplitChildOrder
Child Order of Manufacturing Order Split
I_MfgOrderSplitChildOrder is a Basic CDS View that provides data about "Child Order of Manufacturing Order Split" in SAP S/4HANA. It reads from 3 data sources (above, I_LogisticsOrderBasic, afsprel) and exposes 25 fields with key fields MfgOrderSplitChildOrder, MfgOrderSplitByProduct. It has 11 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| above | above | inner |
| I_LogisticsOrderBasic | afko | inner |
| afsprel | afsprel | from |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ManufacturingOrder | _ChildOrder | $projection.MfgOrderSplitChildOrder = _ChildOrder.ManufacturingOrder |
| [1..1] | I_ManufacturingOrder | _ParentOrder | $projection.MfgOrderSplitParentOrder = _ParentOrder.ManufacturingOrder |
| [1..1] | I_ManufacturingOrder | _LeadingOrder | $projection.MfgOrderSplitLeadingOrder = _LeadingOrder.ManufacturingOrder |
| [1..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [1..1] | I_CalendarDate | _CreationDate | $projection.CreationDate = _CreationDate.CalendarDate |
| [0..1] | I_Product | _ByProduct | $projection.MfgOrderSplitByProduct = _ByProduct.Product |
| [0..*] | I_Batch | _ByProductBatch | $projection.MfgOrderSplitByProduct = _ByProductBatch.Material and $projection.MfgOrderSplitByProductBatch = _ByProductBatch.Batch |
| [0..1] | I_MaterialDocumentYear | _MaterialDocumentYear | $projection.ByProductMaterialDocumentYear = _MaterialDocumentYear.MaterialDocumentYear |
| [0..1] | I_MaterialDocumentHeader_2 | _MaterialDocumentHeader | $projection.ByProductMaterialDocumentYear = _MaterialDocumentHeader.MaterialDocumentYear and $projection.ByProductMaterialDocument = _MaterialDocumentHeader.MaterialDocument |
| [0..1] | I_MaterialDocumentItem_2 | _MaterialDocumentItem | $projection.ByProductMaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear and $projection.ByProductMaterialDocument = _MaterialDocumentItem.MaterialDocument and $projection.ByProductMaterialDocumentItem = _MaterialDocumentItem.MaterialDocumentItem |
| [1..1] | I_UnitOfMeasure | _OperationUnit | $projection.OperationUnit = _OperationUnit.UnitOfMeasure |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMFGORDERSPLIT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Child Order of Manufacturing Order Split | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MfgOrderSplitChildOrder | afsprel | c_aufnr | Child Order |
| KEY | MfgOrderSplitByProduct | afsprel | byproduct | By-Product |
| MfgOrderSplitUUID | afsprel | order_split_uuid | Order Split UUID | |
| MfgOrderSplitChildOrderIntID | afsprel | splcnt | Child Order Counter | |
| MfgOrderSplitParentOrder | afsprel | p_aufnr | ParentOrder | |
| MfgOrderSplitLeadingOrder | afsprel | l_aufnr | Leading Order | |
| ByProductMaterialDocument | afsprel | byprod_mat_doc | GR Document | |
| ByProductMaterialDocumentItem | afsprel | byprod_mat_item | Document Item | |
| ByProductMaterialDocumentYear | afsprel | byprod_mat_year | Document Year | |
| CreationDate | ||||
| CreationTime | afsprel | stime | Time | |
| CreatedByUser | afsprel | suser | User Name | |
| OperationUnit | ||||
| MfgOrderSplitQuantity | afsprel | splq | Split Quantity | |
| _ChildOrder | _ChildOrder | |||
| _LeadingOrder | _LeadingOrder | |||
| _ParentOrder | _ParentOrder | |||
| _ByProduct | _ByProduct | |||
| _ByProductBatch | _ByProductBatch | |||
| _MaterialDocumentYear | _MaterialDocumentYear | |||
| _MaterialDocumentHeader | _MaterialDocumentHeader | |||
| _MaterialDocumentItem | _MaterialDocumentItem | |||
| _CreationDate | _CreationDate | |||
| _CreatedByUser | _CreatedByUser | |||
| _OperationUnit | _OperationUnit |
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_MfgOrderSplitChildOrder.
-- 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: IMFGORDERSPLIT
CREATE VIEW I_MfgOrderSplitChildOrder AS
SELECT
afsprel.c_aufnr AS MfgOrderSplitChildOrder,
afsprel.byproduct AS MfgOrderSplitByProduct,
afsprel.order_split_uuid AS MfgOrderSplitUUID,
afsprel.splcnt AS MfgOrderSplitChildOrderIntID,
afsprel.p_aufnr AS MfgOrderSplitParentOrder,
afsprel.l_aufnr AS MfgOrderSplitLeadingOrder,
afsprel.byprod_mat_doc AS ByProductMaterialDocument,
afsprel.byprod_mat_item AS ByProductMaterialDocumentItem,
afsprel.byprod_mat_year AS ByProductMaterialDocumentYear,
cast(afsprel.sdate as erdat preserving type) AS CreationDate,
afsprel.stime AS CreationTime,
afsprel.suser AS CreatedByUser,
cast(afsprel.qunit as operationunit preserving type) AS OperationUnit,
afsprel.splq AS MfgOrderSplitQuantity
FROM afsprel
INNER JOIN I_LogisticsOrderBasic AS afko ON /* join condition not captured in parsed metadata */
INNER JOIN above ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ManufacturingOrder AS _ChildOrder ON MfgOrderSplitChildOrder = _ChildOrder.ManufacturingOrder -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _ParentOrder ON MfgOrderSplitParentOrder = _ParentOrder.ManufacturingOrder -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _LeadingOrder ON MfgOrderSplitLeadingOrder = _LeadingOrder.ManufacturingOrder -- association [1..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _CreationDate ON CreationDate = _CreationDate.CalendarDate -- association [1..1]
LEFT OUTER JOIN I_Product AS _ByProduct ON MfgOrderSplitByProduct = _ByProduct.Product -- association [0..1]
LEFT OUTER JOIN I_Batch AS _ByProductBatch ON MfgOrderSplitByProduct = _ByProductBatch.Material AND MfgOrderSplitByProductBatch = _ByProductBatch.Batch -- association [0..*]
LEFT OUTER JOIN I_MaterialDocumentYear AS _MaterialDocumentYear ON ByProductMaterialDocumentYear = _MaterialDocumentYear.MaterialDocumentYear -- association [0..1]
LEFT OUTER JOIN I_MaterialDocumentHeader_2 AS _MaterialDocumentHeader ON ByProductMaterialDocumentYear = _MaterialDocumentHeader.MaterialDocumentYear AND ByProductMaterialDocument = _MaterialDocumentHeader.MaterialDocument -- association [0..1]
LEFT OUTER JOIN I_MaterialDocumentItem_2 AS _MaterialDocumentItem ON ByProductMaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear AND ByProductMaterialDocument = _MaterialDocumentItem.MaterialDocument AND ByProductMaterialDocumentItem = _MaterialDocumentItem.MaterialDocumentItem -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _OperationUnit ON OperationUnit = _OperationUnit.UnitOfMeasure -- 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