C_MfgOrderObjPgComp

DDL: C_MFGORDEROBJPGCOMP Type: view_entity CONSUMPTION

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)

SourceAliasJoin Type
I_MfgOrderOperationComponent comp from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_MfgOrderOperationBySemanKey _MfgOrderOperationBySemanKey $projection.ManufacturingOrder = _MfgOrderOperationBySemanKey.ManufacturingOrder and $projection.ManufacturingOrderSequence = _MfgOrderOperationBySemanKey.ManufacturingOrderSequence and $projection.ManufacturingOrderOperation = _MfgOrderOperationBySemanKey.ManufacturingOrderOperation

Annotations (10)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;