I_MaterialStockAndCnsmpnSts

DDL: I_MATERIALSTOCKANDCNSMPNSTS Type: view_entity COMPOSITE

Material Stock and Consumption Status

I_MaterialStockAndCnsmpnSts is a Composite CDS View that provides data about "Material Stock and Consumption Status" in SAP S/4HANA. It reads from 2 data sources (dd07t, t002) and exposes 3 fields with key fields MaterialStockAndConsumptionSts, Language.

Data Sources (2)

SourceAliasJoin Type
dd07t a from
t002 b inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Material Stock and Consumption Status view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY MaterialStockAndConsumptionSts
KEY Language dd07t ddlanguage Lang.
MatlStockAndCnsmpnStatusDesc dd07t ddtext Short 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_MaterialStockAndCnsmpnSts.
-- 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_MaterialStockAndCnsmpnSts AS
SELECT
  cast( a.domvalue_l as pmmo_instk_d) AS MaterialStockAndConsumptionSts,
  a.ddlanguage AS Language,
  a.ddtext AS MatlStockAndCnsmpnStatusDesc
FROM dd07t AS a
INNER JOIN t002 AS b ON /* join condition not captured in parsed metadata */
;