A_ProductionOrderConf
API Production Order Confirmation
A_ProductionOrderConf is a Composite CDS View that provides data about "API Production Order Confirmation" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderObjPgConfAll) and exposes 31 fields with key fields ProductionOrderConfirmation, OperationConfirmationCount. It has 1 association to related views. Part of development package ODATA_PP_API_PRODORDER_CONF.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrderObjPgConfAll | I_MfgOrderObjPgConfAll | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MfgOrderConfObjPgQtSum | _ConfirmationSum | $projection.ProductionOrderConfirmation = _ConfirmationSum.MfgOrderConfirmation and $projection.OperationConfirmationCount = _ConfirmationSum.MfgOrderConfirmationCount |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | API Production Order Confirmation | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionOrderConfirmation | MfgOrderConfirmation | ||
| KEY | OperationConfirmationCount | MfgOrderConfirmationCount | ||
| ProductionOrder | ManufacturingOrder | Production Order | ||
| ManufacturingOrderType | ManufacturingOrderType | |||
| Material | _MfgOrder | Material | Vehicle Model | |
| MaterialName | ||||
| MfgOrderPlannedTotalQty | _MfgOrder | MfgOrderPlannedTotalQty | ||
| ProductionUnit | _MfgOrder | ProductionUnit | ||
| ManufacturingOrderOperation | ManufacturingOrderOperation | Activity | ||
| ManufacturingOrderSequence | ManufacturingOrderSequence | |||
| CapacityRequirementSplit | ||||
| WorkCenter | Work Center | |||
| WorkCenterInternalID | WorkCenterInternalID | Work Center | ||
| WorkCenterTypeCode | WorkCenterTypeCode | Object Type | ||
| ProductionPlant | ProductionPlant | Prod plnt | ||
| IsFinalConfirmation | ||||
| MfgOrderConfirmationEntryDate | MfgOrderConfirmationEntryDate | |||
| MfgOrderConfirmationEntryTime | MfgOrderConfirmationEntryTime | |||
| PostingDate | PostingDate | Posting Date for GR | ||
| IsReversed | IsReversed | Reversed? | ||
| EnteredByExternalUser | ||||
| LastChangedByUser | User Name | |||
| EnteredByUser | ||||
| ConfirmationYieldQuantity | ConfirmationYieldQuantity | |||
| OpTotalConfirmedYieldQty | ||||
| ConfirmationScrapQuantity | ConfirmationScrapQuantity | |||
| OpTotalConfirmedScrapQty | ||||
| ConfirmationReworkQuantity | ConfirmationReworkQuantity | |||
| ConfirmationTotalQuantity | _ConfirmationSum | MfgOrderConfirmedReworkQty | Total Rework | |
| ConfirmationUnit | ConfirmationUnit | |||
| ConfirmationText | ConfirmationText |
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 A_ProductionOrderConf.
-- 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 A_ProductionOrderConf AS
SELECT
MfgOrderConfirmation AS ProductionOrderConfirmation,
MfgOrderConfirmationCount AS OperationConfirmationCount,
ManufacturingOrder AS ProductionOrder,
ManufacturingOrderType,
_MfgOrder.Material AS Material,
_MfgOrder._Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
_MfgOrder.MfgOrderPlannedTotalQty AS MfgOrderPlannedTotalQty,
_MfgOrder.ProductionUnit AS ProductionUnit,
ManufacturingOrderOperation,
ManufacturingOrderSequence,
cast(CapacityRequirementSplit as cy_split) AS CapacityRequirementSplit,
cast(WorkCenter as cbgle_arbpl ) AS WorkCenter,
WorkCenterInternalID,
WorkCenterTypeCode,
ProductionPlant,
cast(IsFinalConfirmation as endru) AS IsFinalConfirmation,
MfgOrderConfirmationEntryDate,
MfgOrderConfirmationEntryTime,
PostingDate,
IsReversed,
cast(EnteredByExternalUser as clms_tm_created_by preserving type ) AS EnteredByExternalUser,
cast(LastChangedByUser as bapi_wfm_changed_by preserving type) AS LastChangedByUser,
cast(EnteredByUser as tmf_enteredby preserving type) AS EnteredByUser,
ConfirmationYieldQuantity,
cast(_ConfirmationSum.OpTotalConfirmedYieldQty as lmnga) AS OpTotalConfirmedYieldQty,
ConfirmationScrapQuantity,
cast(_ConfirmationSum.OpTotalConfirmedScrapQty as xmnga) AS OpTotalConfirmedScrapQty,
ConfirmationReworkQuantity,
_ConfirmationSum.MfgOrderConfirmedReworkQty AS ConfirmationTotalQuantity,
ConfirmationUnit,
ConfirmationText
FROM I_MfgOrderObjPgConfAll
LEFT OUTER JOIN I_MfgOrderConfObjPgQtSum AS _ConfirmationSum ON ProductionOrderConfirmation = _ConfirmationSum.MfgOrderConfirmation AND OperationConfirmationCount = _ConfirmationSum.MfgOrderConfirmationCount -- association [0..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