F_Mmim_Chgtype

DDL: F_MMIM_CHGTYPE SQL: FMMIMSTCHGTYPE Type: view

Help-View for Stock Change Type

F_Mmim_Chgtype is a CDS View that provides data about "Help-View for Stock Change Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field StockChangeType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] F_Mmim_ChgtypeT _Text $projection.StockChangeType = _Text.StockChangeType

Annotations (9)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName FMMIMSTCHGTYPE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Help-View for Stock Change Type view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY StockChangeType
_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 F_Mmim_Chgtype.
-- 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: FMMIMSTCHGTYPE

CREATE VIEW F_Mmim_Chgtype AS
SELECT
  cast(substring( domvalue_l, 1, 2 ) as mmim_stock_change_type) AS StockChangeType
FROM dd07l
LEFT OUTER JOIN F_Mmim_ChgtypeT AS _Text ON StockChangeType = _Text.StockChangeType  -- association [0..*]
;