A_ProductionOrderConf

DDL: A_PRODUCTIONORDERCONF Type: view_entity COMPOSITE Package: ODATA_PP_API_PRODORDER_CONF

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)

SourceAliasJoin Type
I_MfgOrderObjPgConfAll I_MfgOrderObjPgConfAll from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_MfgOrderConfObjPgQtSum _ConfirmationSum $projection.ProductionOrderConfirmation = _ConfirmationSum.MfgOrderConfirmation and $projection.OperationConfirmationCount = _ConfirmationSum.MfgOrderConfirmationCount

Annotations (8)

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

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