C_MfgOrderObjPgComp
Manufacturing Order Object Page Com
C_MfgOrderObjPgComp is a Consumption CDS View that provides data about "Manufacturing Order Object Page Com" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderOperationComponent) and exposes 33 fields with key fields Reservation, ReservationItem, RecordType. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrderOperationComponent | comp | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MfgOrderOperationBySemanKey | _MfgOrderOperationBySemanKey | $projection.ManufacturingOrder = _MfgOrderOperationBySemanKey.ManufacturingOrder and $projection.ManufacturingOrderSequence = _MfgOrderOperationBySemanKey.ManufacturingOrderSequence and $projection.ManufacturingOrderOperation = _MfgOrderOperationBySemanKey.ManufacturingOrderOperation |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Manufacturing Order Object Page Com | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.representativeKey | ReservationItem | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.allowExtensions | true | view | |
| UI.headerInfo.typeName | Component | view | |
| UI.headerInfo.typeNamePlural | Components | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Reservation | I_MfgOrderOperationComponent | Reservation | Reservation |
| KEY | ReservationItem | I_MfgOrderOperationComponent | ReservationItem | Reservation Item |
| KEY | RecordType | I_MfgOrderOperationComponent | RecordType | Reservation Record Type |
| BillOfMaterialItemNumber | I_MfgOrderOperationComponent | BillOfMaterialItemNumber | Item | |
| BOMItemDescription | I_MfgOrderOperationComponent | BOMItemDescription | BOM Item Text | |
| Material | I_MfgOrderOperationComponent | Material | Vehicle Model | |
| MaterialName | ||||
| Plant | I_MfgOrderOperationComponent | Plant | Valuation Area | |
| ProductionPlant | I_MfgOrderOperationComponent | ProductionPlant | Prod plnt | |
| MatlCompRequirementDate | I_MfgOrderOperationComponent | MatlCompRequirementDate | Reqmts date | |
| BaseUnit | I_MfgOrderOperationComponent | BaseUnit | Unit | |
| RequiredQuantity | I_MfgOrderOperationComponent | RequiredQuantity | Requirement qty | |
| WithdrawnQuantity | I_MfgOrderOperationComponent | WithdrawnQuantity | Withdrawn Quantity | |
| BOMItem | I_MfgOrderOperationComponent | BOMItem | ||
| StorageLocation | ||||
| SupplyArea | I_MfgOrderOperationComponent | SupplyArea | Supply Area | |
| ManufacturingOrderSequence | I_MfgOrderOperationComponent | ManufacturingOrderSequence | ||
| ManufacturingOrder | I_MfgOrderOperationComponent | ManufacturingOrder | Production Order | |
| ManufacturingOrderOperation | I_MfgOrderOperationComponent | ManufacturingOrderOperation | Activity | |
| ManufacturingOrderCategory | I_MfgOrderOperationComponent | ManufacturingOrderCategory | ||
| ManufacturingOrderType | I_MfgOrderOperationComponent | ManufacturingOrderType | ||
| OrderInternalBillOfOperations | I_MfgOrderOperationComponent | OrderInternalBillOfOperations | Order Internal Bill of Operations | |
| _OrdInternalBillOfOperations | I_MfgOrderOperationComponent | _OrdInternalBillOfOperations | ||
| _Material | I_MfgOrderOperationComponent | _Material | ||
| _MfgOrderSequence | I_MfgOrderOperationComponent | _MfgOrderSequence | ||
| _MfgOrder | I_MfgOrderOperationComponent | _MfgOrder | ||
| _MfgOrderOperationBySemanKey | I_MfgOrderOperationComponent | _MfgOrderOperationBySemanKey | ||
| _StorageLocation | I_MfgOrderOperationComponent | _StorageLocation | ||
| _SupplyArea | I_MfgOrderOperationComponent | _SupplyArea | ||
| _Plant | I_MfgOrderOperationComponent | _Plant | ||
| _MfgOrderType | I_MfgOrderOperationComponent | _MfgOrderType | ||
| _Reservation | I_MfgOrderOperationComponent | _Reservation | ||
| _MfgOrderCategory | I_MfgOrderOperationComponent | _MfgOrderCategory |
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 C_MfgOrderObjPgComp.
-- 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 C_MfgOrderObjPgComp AS
SELECT
comp.Reservation AS Reservation,
comp.ReservationItem AS ReservationItem,
comp.RecordType AS RecordType,
comp.BillOfMaterialItemNumber AS BillOfMaterialItemNumber,
comp.BOMItemDescription AS BOMItemDescription,
comp.Material AS Material,
cast(comp._Material._Text[1:Language=$session.system_language].MaterialName as maktx) AS MaterialName,
comp.Plant AS Plant,
comp.ProductionPlant AS ProductionPlant,
comp.MatlCompRequirementDate AS MatlCompRequirementDate,
comp.BaseUnit AS BaseUnit,
comp.RequiredQuantity AS RequiredQuantity,
comp.WithdrawnQuantity AS WithdrawnQuantity,
comp.BOMItem AS BOMItem,
cast(comp.StorageLocation as pph_lgort preserving type ) AS StorageLocation,
comp.SupplyArea AS SupplyArea,
comp.ManufacturingOrderSequence AS ManufacturingOrderSequence,
comp.ManufacturingOrder AS ManufacturingOrder,
comp.ManufacturingOrderOperation AS ManufacturingOrderOperation,
comp.ManufacturingOrderCategory AS ManufacturingOrderCategory,
comp.ManufacturingOrderType AS ManufacturingOrderType,
comp.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
comp._OrdInternalBillOfOperations AS _OrdInternalBillOfOperations,
comp._Material AS _Material,
comp._MfgOrderSequence AS _MfgOrderSequence,
comp._MfgOrder AS _MfgOrder,
comp._MfgOrderOperationBySemanKey AS _MfgOrderOperationBySemanKey,
comp._StorageLocation AS _StorageLocation,
comp._SupplyArea AS _SupplyArea,
comp._Plant AS _Plant,
comp._MfgOrderType AS _MfgOrderType,
comp._Reservation AS _Reservation,
comp._MfgOrderCategory AS _MfgOrderCategory
FROM I_MfgOrderOperationComponent AS comp
LEFT OUTER JOIN I_MfgOrderOperationBySemanKey AS _MfgOrderOperationBySemanKey ON ManufacturingOrder = _MfgOrderOperationBySemanKey.ManufacturingOrder AND ManufacturingOrderSequence = _MfgOrderOperationBySemanKey.ManufacturingOrderSequence AND ManufacturingOrderOperation = _MfgOrderOperationBySemanKey.ManufacturingOrderOperation -- 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