P_ProdnOrdStatusAttrbTxt

DDL: P_PRODNORDSTATUSATTRBTXT Type: view CONSUMPTION Package: CRMS4_SOLUTION_ORDER_PROGRESS

Production Order status text

P_ProdnOrdStatusAttrbTxt is a Consumption CDS View that provides data about "Production Order status text" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderWithStatus) and exposes 4 fields with key field ManufacturingOrder. It has 1 association to related views. Part of development package CRMS4_SOLUTION_ORDER_PROGRESS.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderWithStatus ProductionOrder from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_SystemStatusText _SystemStatusText $projection.StatusCode = _SystemStatusText.SystemStatus and _SystemStatusText.Language = $session.system_language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PPRODORDSTSTXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
VDM.private true view
EndUserText.label Production Order status text view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ManufacturingOrder ManufacturingOrder Order
Material Material Vehicle Model
ProductionPlant ProductionPlant Prod plnt
_SystemStatusText _SystemStatusText

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 P_ProdnOrdStatusAttrbTxt.
-- 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 P_ProdnOrdStatusAttrbTxt AS
SELECT
  ManufacturingOrder,
  Material,
  ProductionPlant
FROM I_MfgOrderWithStatus AS ProductionOrder
LEFT OUTER JOIN I_SystemStatusText AS _SystemStatusText ON StatusCode = _SystemStatusText.SystemStatus AND _SystemStatusText.Language = $session.system_language  -- association [0..1]
;