F2_Mmim_Reasonc_Vh

DDL: F2_MMIM_REASONC_VH SQL: F2MMIMREASONCVH Type: view

Goodsmovement Reason Code

F2_Mmim_Reasonc_Vh is a CDS View that provides data about "Goodsmovement Reason Code" in SAP S/4HANA. It reads from 1 data source (matdoc) and exposes 3 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
matdoc matdoc from

Associations (1)

CardinalityTargetAliasCondition
[1..1] F3_Mmim_ReasonCT _F3_Mmim_ReasonCT $projection.GoodsMovementType = _F3_Mmim_ReasonCT.GoodsMovementType and $projection.GoodsMovementReasonCode = _F3_Mmim_ReasonCT.GoodsMovementReasonCode

Annotations (9)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName F2MMIMREASONCVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Goodsmovement Reason Code view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
GoodsMovementType bwart Valuation Type
GoodsMovementReasonCode grund Reason for mvt.
_F3_Mmim_ReasonCT _F3_Mmim_ReasonCT

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 F2_Mmim_Reasonc_Vh.
-- 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: F2MMIMREASONCVH

CREATE VIEW F2_Mmim_Reasonc_Vh AS
SELECT
  bwart AS GoodsMovementType,
  grund AS GoodsMovementReasonCode
FROM matdoc
LEFT OUTER JOIN F3_Mmim_ReasonCT AS _F3_Mmim_ReasonCT ON GoodsMovementType = _F3_Mmim_ReasonCT.GoodsMovementType AND GoodsMovementReasonCode = _F3_Mmim_ReasonCT.GoodsMovementReasonCode  -- association [1..1]
;