I_MfgOrderOutputControl
Output Control of Manufacturing Order
I_MfgOrderOutputControl is a Composite CDS View that provides data about "Output Control of Manufacturing Order" in SAP S/4HANA. It reads from 2 data sources (P_MfgOrderPickableCompCount, I_ManufacturingOrder) and exposes 19 fields with key field ManufacturingOrder. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_MfgOrderPickableCompCount | CompCount | left_outer |
| I_ManufacturingOrder | ManOrder | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ManufacturingOrder | _ManufacturingOrder | $projection.ManufacturingOrder = _ManufacturingOrder.ManufacturingOrder |
| [1..1] | I_MfgOrderWithStatus | _MfgOrderWithStatus | $projection.ManufacturingOrder = _MfgOrderWithStatus.ManufacturingOrder |
| [1..1] | E_LogisticsOrder | _Extension | $projection.ManufacturingOrder = _Extension.OrderID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IPPMFGORDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Output Control of Manufacturing Order | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ManufacturingOrder | I_ManufacturingOrder | ManufacturingOrder | |
| ManufacturingOrderCategory | I_ManufacturingOrder | ManufacturingOrderCategory | ||
| ManufacturingOrderType | I_ManufacturingOrder | ManufacturingOrderType | ||
| ProductionPlant | I_ManufacturingOrder | ProductionPlant | ||
| MRPController | I_ManufacturingOrder | MRPController | ||
| MRPPlant | I_ManufacturingOrder | PlanningPlant | ||
| ProductionSupervisor | I_ManufacturingOrder | ProductionSupervisor | ||
| ProductionSchedulingProfile | I_ManufacturingOrder | ProductionSchedulingProfile | ||
| Material | I_ManufacturingOrder | Material | ||
| _MfgOrderCategory | _MfgOrderCategory | |||
| _MfgOrderType | _MfgOrderType | |||
| _ProductionPlant | _ProductionPlant | |||
| _MRPController | _MRPController | |||
| _PlanningPlant | _PlanningPlant | |||
| _ProductionSupervisor | _ProductionSupervisor | |||
| _ProductionSchedulingProfile | _ProductionSchedulingProfile | |||
| _Material | _Material | |||
| _ManufacturingOrder | _ManufacturingOrder | |||
| _MfgOrderWithStatus | _MfgOrderWithStatus |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'IPPMFGORDOC'
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType: {serviceQuality:#C, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@EndUserText.label: 'Output Control of Manufacturing Order'
// View for output control of manufacturing order as per Output Control wiki page
// Foreign key relations inherited from I_MfgOrder
define view I_MfgOrderOutputControl
as select from I_ManufacturingOrder as ManOrder
left outer join P_MfgOrderPickableCompCount as CompCount on ManOrder.ManufacturingOrder = CompCount.ManufacturingOrder
association [1..1] to I_ManufacturingOrder as _ManufacturingOrder on $projection.ManufacturingOrder = _ManufacturingOrder.ManufacturingOrder
association [1..1] to I_MfgOrderWithStatus as _MfgOrderWithStatus on $projection.ManufacturingOrder = _MfgOrderWithStatus.ManufacturingOrder
association [1..1] to E_LogisticsOrder as _Extension on $projection.ManufacturingOrder = _Extension.OrderID // Extensibility
{
key ManOrder.ManufacturingOrder,
@ObjectModel.foreignKey.association: '_MfgOrderCategory'
ManOrder.ManufacturingOrderCategory,
@ObjectModel.foreignKey.association: '_MfgOrderType'
ManOrder.ManufacturingOrderType,
@ObjectModel.foreignKey.association: '_ProductionPlant'
ManOrder.ProductionPlant,
@ObjectModel.foreignKey.association: '_MRPController'
ManOrder.MRPController,
@ObjectModel.foreignKey.association: '_PlanningPlant'
ManOrder.PlanningPlant as MRPPlant,
@ObjectModel.foreignKey.association: '_ProductionSupervisor'
ManOrder.ProductionSupervisor,
@ObjectModel.foreignKey.association: '_ProductionSchedulingProfile'
ManOrder.ProductionSchedulingProfile,
@ObjectModel.foreignKey.association: '_Material'
ManOrder.Material,
cast( case when CompCount.NumberOfPickableComponents is null then ' ' else 'X' end
as pp_man_om_has_pickable_comp preserving type ) as MfgOrderHasPickableComponents,
// Add the foreign key expressions explicitely to eliminate warning messages
_MfgOrderCategory,
_MfgOrderType,
_ProductionPlant,
_MRPController,
_PlanningPlant,
_ProductionSupervisor,
_ProductionSchedulingProfile,
_Material,
_ManufacturingOrder, // Used by Data Source Extensibility
_MfgOrderWithStatus // Used by Data Source Extensibility
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MANUFACTURINGORDER",
"P_MFGORDERPICKABLECOMPCOUNT"
],
"ASSOCIATED":
[
"E_LOGISTICSORDER",
"I_MANUFACTURINGORDER",
"I_MATERIAL",
"I_MFGORDERCATEGORY",
"I_MFGORDERTYPE",
"I_MFGORDERWITHSTATUS",
"I_MRPCONTROLLER",
"I_PLANT",
"I_PRODUCTIONSCHEDULINGPROFILE",
"I_PRODUCTIONSUPERVISOR"
],
"BASE":
[
"I_MANUFACTURINGORDER"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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