C_ProductionOrderEnhancedVH
Production Order
C_ProductionOrderEnhancedVH is a Consumption CDS View that provides data about "Production Order" in SAP S/4HANA. It reads from 2 data sources (I_MfgOrderWithStatus, I_ManufacturingOrder) and exposes 19 fields with key field ProductionOrder. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F7681). Part of development package ODATA_PP_MRP.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrderWithStatus | OrdData | inner |
| I_ManufacturingOrder | OrdHeader | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_OrderTypeText | _ProductionOrderTypeText | $projection.ProductionOrderType = _ProductionOrderTypeText.OrderType |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | ProductionOrder | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view | |
| Consumption.valueHelpDefault.fetchValues | #ON_EXPLICIT_REQUEST | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Production Order | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F7681 | ASQL_F7681 | C2 | NOT_RELEASED |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionOrder | Production Order | ||
| ProductionOrderText | I_ManufacturingOrder | ManufacturingOrderText | ||
| ProductionOrderType | ||||
| ProductionOrderTypeName | ||||
| ProductionPlant | ||||
| PlantName | ||||
| Material | I_ManufacturingOrder | Material | Vehicle Model | |
| MaterialName | ||||
| MRPController | I_ManufacturingOrder | MRPController | MRP Controller | |
| MRPControllerName | ||||
| ProductionSupervisor | I_ManufacturingOrder | ProductionSupervisor | Prodn Supervisor | |
| ProductionSupervisorName | ||||
| SalesOrder | ||||
| _MfgOrderType | I_ManufacturingOrder | _MfgOrderType | ||
| _ProductionOrderTypeText | _ProductionOrderTypeText | |||
| _ProductionPlant | I_ManufacturingOrder | _ProductionPlant | ||
| _MaterialText | I_ManufacturingOrder | _MaterialText | ||
| _MRPController | I_ManufacturingOrder | _MRPController | ||
| _ProductionSupervisor | I_ManufacturingOrder | _ProductionSupervisor |
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_ProductionOrderEnhancedVH.
-- 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_ProductionOrderEnhancedVH AS
SELECT
cast(OrdHeader.ManufacturingOrder as manufacturingorder preserving type) AS ProductionOrder,
OrdHeader.ManufacturingOrderText AS ProductionOrderText,
cast(OrdHeader.ManufacturingOrderType as vdm_prodnordertype preserving type) AS ProductionOrderType,
_ProductionOrderTypeText[ 1: Language = $session.system_language ].OrderTypeName AS ProductionOrderTypeName,
cast(OrdHeader.ProductionPlant as pwwrk preserving type) AS ProductionPlant,
OrdHeader._ProductionPlant[ 1: Language = $session.system_language ].PlantName AS PlantName,
OrdHeader.Material AS Material,
OrdHeader._MaterialText[ 1: Language = $session.system_language ].ProductName AS MaterialName,
OrdHeader.MRPController AS MRPController,
OrdHeader._MRPController.MRPControllerName AS MRPControllerName,
OrdHeader.ProductionSupervisor AS ProductionSupervisor,
OrdHeader._ProductionSupervisor.ProductionSupervisorName AS ProductionSupervisorName,
cast(OrdHeader.SalesOrder as co_kdauf preserving type) AS SalesOrder,
OrdHeader._MfgOrderType AS _MfgOrderType,
OrdHeader._ProductionPlant AS _ProductionPlant,
OrdHeader._MaterialText AS _MaterialText,
OrdHeader._MRPController AS _MRPController,
OrdHeader._ProductionSupervisor AS _ProductionSupervisor
FROM I_ManufacturingOrder AS OrdHeader
INNER JOIN I_MfgOrderWithStatus AS OrdData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OrderTypeText AS _ProductionOrderTypeText ON ProductionOrderType = _ProductionOrderTypeText.OrderType -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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