I_MfgOrderObjPgStatus

DDL: I_MFGORDEROBJPGSTATUS Type: view_entity COMPOSITE Package: PP_MFGORDER_UI

Manufacturing Order Operations Status

I_MfgOrderObjPgStatus is a Composite CDS View that provides data about "Manufacturing Order Operations Status" in SAP S/4HANA. It reads from 3 data sources (I_MfgOrderStatus, I_StatusCodeText, I_UserStatusText) and exposes 5 fields with key fields ManufacturingOrder, StatusCode. Part of development package PP_MFGORDER_UI.

Data Sources (3)

SourceAliasJoin Type
I_MfgOrderStatus _MfgOrderStatus inner
I_StatusCodeText _StatusCodeText left_outer
I_UserStatusText _UserStatusText left_outer

Annotations (9)

NameValueLevelField
EndUserText.label Manufacturing Order Operations Status view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view
UI.headerInfo.typeName Status view
UI.headerInfo.typeNamePlural Statuses view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ManufacturingOrder I_MfgOrderStatus ManufacturingOrder Order
KEY StatusCode _StatusObject StatusCode Statuscode
ManufacturingOrderCategory I_MfgOrderStatus ManufacturingOrderCategory
IsUserStatus
StatusNameendasj_txt30asStatusName

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 I_MfgOrderObjPgStatus.
-- 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 I_MfgOrderObjPgStatus AS
SELECT
  _MfgOrderStatus.ManufacturingOrder AS ManufacturingOrder,
  _StatusObject.StatusCode AS StatusCode,
  _MfgOrderStatus.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  _StatusObject._StatusCode._StatusCodeText[1:Language=$session.system_language].IsUserStatus AS IsUserStatus,
  cast(case _StatusObject._StatusCode._StatusCodeText[1:Language=$session.system_language].IsUserStatus when 'X' then _UserStatusText.UserStatusName else _StatusCodeText.StatusName end as j_txt30 ) as StatusName AS StatusNameendasj_txt30asStatusName
INNER JOIN I_MfgOrderStatus AS _MfgOrderStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_StatusCodeText AS _StatusCodeText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UserStatusText AS _UserStatusText ON /* join condition not captured in parsed metadata */
;