I_DDProductStatusCode

DDL: I_DDPRODUCTSTATUSCODE Type: view_entity BASIC Package: PPH_DD_VDM_STLM

DD Product Status Code

I_DDProductStatusCode is a Basic CDS View that provides data about "DD Product Status Code" in SAP S/4HANA. It reads from 1 data source (t141) and exposes 4 fields with key field MRPMaterialStatus. It has 1 association to related views. Part of development package PPH_DD_VDM_STLM.

Data Sources (1)

SourceAliasJoin Type
t141 t141 from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_MRPMaterialStatusCodeText _Text _Text.MRPMaterialStatus = $projection.MRPMaterialStatus and _Text.Language = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label DD Product Status Code view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY MRPMaterialStatus t141 mmsta Primary Status
ManufacturingOrderHeaderStatus t141 dfako PO header msg.
MRPMaterialStatusName _Text MRPMaterialStatusName
_Text _Text

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_DDProductStatusCode.
-- 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_DDProductStatusCode AS
SELECT
  t141.mmsta AS MRPMaterialStatus,
  t141.dfako AS ManufacturingOrderHeaderStatus,
  _Text.MRPMaterialStatusName AS MRPMaterialStatusName
FROM t141
LEFT OUTER JOIN I_MRPMaterialStatusCodeText AS _Text ON _Text.MRPMaterialStatus = MRPMaterialStatus AND _Text.Language = $session.system_language  -- association [0..1]
;