C_ProdOrdConfObjPg

DDL: C_PRODORDCONFOBJPG SQL: CPRDORDOBJPGCONF Type: view CONSUMPTION

Production Order Confirmation Object Page

C_ProdOrdConfObjPg is a Consumption CDS View that provides data about "Production Order Confirmation Object Page" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderObjPgConfAll) and exposes 41 fields with key fields ProductionOrderConfirmation, OperationConfirmationCount. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderObjPgConfAll I_MfgOrderObjPgConfAll from

Associations (8)

CardinalityTargetAliasCondition
[0..1] P_MfgOrdHeaderConfObjPgQtSum _ConfHeaderSum $projection.ProductionOrderConfirmation = _ConfHeaderSum.MfgOrderConfirmation
[0..1] P_MfgOrdOperConfObjPgQtSum _ConfOperationSum $projection.ProductionOrderConfirmation = _ConfOperationSum.MfgOrderConfirmation
[0..1] I_PMContactCardUser _User $projection.EnteredByUser = _User.UserID
[0..1] I_PMContactCardUser _ContCardExtUser $projection.EnteredByExternalUser = _ContCardExtUser.UserID
[0..1] I_PMContactCardUser _UserInfo $projection.LastChangedByUser = _UserInfo.UserID
[1..1] I_BR_Domain _ConfStatusText _ConfStatusText.Name = 'AUERU_VS' and _ConfStatusText.Language = $session.system_language and _ConfStatusText.DomainValue = IsFinalConfirmation
[0..*] I_WorkCenterText _WorkCenterName $projection.WorkCenterInternalID = _WorkCenterName.WorkCenterInternalID and $projection.WorkCenterTypeCode = _WorkCenterName.WorkCenterTypeCode
[1..1] I_BR_Domain _YesNo _YesNo.Name = 'LOGBR_YESNO' and _YesNo.Language = $session.system_language and _YesNo.DomainValue = IsReversal

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CPRDORDOBJPGCONF view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Production Order Confirmation Object Page view
VDM.viewType #CONSUMPTION view
Search.searchable true view
Consumption.semanticObject ProductionOrderConfirmation view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey OperationConfirmationCount view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
UI.headerInfo.typeName Production Order Confirmation view
UI.headerInfo.typeNamePlural List of Production Orders view
UI.headerInfo.title.label Production Order view
UI.headerInfo.title.value Material view
UI.headerInfo.description.value MaterialName view

Fields (41)

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
WorkCenterText
ProductionPlant ProductionPlant Prod plnt
StockSegment _MfgOrder StockSegment Stock Segment
IsFinalConfirmation
PostingDate PostingDate Posting Date for GR
AddressTimeZone
IsReversed IsReversed Reversed?
EnteredByExternalUser
IsCurrentUser _User FullName Name
LastChangedByUser User Name
ChangedBy _UserInfo FullName Name
EnteredByUser
CreatedByUser _ContCardExtUser FullName Name
ConfirmationYieldQuantity ConfirmationYieldQuantity
ConfirmationScrapQuantity ConfirmationScrapQuantity
ConfirmationReworkQuantity ConfirmationReworkQuantity
ConfirmationUnit ConfirmationUnit
DomainText _YesNo DomainText Short Description
ConfirmationText ConfirmationText
PlainLongText _LongText PlainLongText Long Text
_MfgOrder _MfgOrder
_Material _MfgOrder _Material
_WorkCenterName _WorkCenterName
_User _User
_ContCardExtUser _ContCardExtUser
_ProductionPlant _ProductionPlant
_ConfirmationGroup _ConfirmationGroup

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_ProdOrdConfObjPg.
-- 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.
-- SQL view name: CPRDORDOBJPGCONF

CREATE VIEW C_ProdOrdConfObjPg 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,
  _WorkCenterName[1: Language=$session.system_language].WorkCenterText AS WorkCenterText,
  ProductionPlant,
  _MfgOrder.StockSegment AS StockSegment,
  cast(IsFinalConfirmation as endru) AS IsFinalConfirmation,
  PostingDate,
  cast(_ProductionPlant._StandardOrganizationAddress.AddressTimeZone as co_plant_timezone ) AS AddressTimeZone,
  IsReversed,
  cast(EnteredByExternalUser as clms_tm_created_by preserving type ) AS EnteredByExternalUser,
  _User.FullName AS IsCurrentUser,
  cast(LastChangedByUser as bapi_wfm_changed_by preserving type) AS LastChangedByUser,
  _UserInfo.FullName AS ChangedBy,
  cast(EnteredByUser as tmf_enteredby preserving type) AS EnteredByUser,
  _ContCardExtUser.FullName AS CreatedByUser,
  ConfirmationYieldQuantity,
  ConfirmationScrapQuantity,
  ConfirmationReworkQuantity,
  ConfirmationUnit,
  _YesNo.DomainText AS DomainText,
  ConfirmationText,
  _LongText.PlainLongText AS PlainLongText,
  _MfgOrder._Material AS _Material
FROM I_MfgOrderObjPgConfAll
LEFT OUTER JOIN P_MfgOrdHeaderConfObjPgQtSum AS _ConfHeaderSum ON ProductionOrderConfirmation = _ConfHeaderSum.MfgOrderConfirmation  -- association [0..1]
LEFT OUTER JOIN P_MfgOrdOperConfObjPgQtSum AS _ConfOperationSum ON ProductionOrderConfirmation = _ConfOperationSum.MfgOrderConfirmation  -- association [0..1]
LEFT OUTER JOIN I_PMContactCardUser AS _User ON EnteredByUser = _User.UserID  -- association [0..1]
LEFT OUTER JOIN I_PMContactCardUser AS _ContCardExtUser ON EnteredByExternalUser = _ContCardExtUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_PMContactCardUser AS _UserInfo ON LastChangedByUser = _UserInfo.UserID  -- association [0..1]
LEFT OUTER JOIN I_BR_Domain AS _ConfStatusText ON _ConfStatusText.Name = 'AUERU_VS' AND _ConfStatusText.Language = $session.system_language AND _ConfStatusText.DomainValue = IsFinalConfirmation  -- association [1..1]
LEFT OUTER JOIN I_WorkCenterText AS _WorkCenterName ON WorkCenterInternalID = _WorkCenterName.WorkCenterInternalID AND WorkCenterTypeCode = _WorkCenterName.WorkCenterTypeCode  -- association [0..*]
LEFT OUTER JOIN I_BR_Domain AS _YesNo ON _YesNo.Name = 'LOGBR_YESNO' AND _YesNo.Language = $session.system_language AND _YesNo.DomainValue = IsReversal  -- association [1..1]
;