C_MM_MatlBatchValueHelp

DDL: C_MM_MATLBATCHVALUEHELP SQL: CMMMATLBCH_VH Type: view CONSUMPTION Package: ODATA_MM_COMMONS_VH

Material Batch Value Help

C_MM_MatlBatchValueHelp is a Consumption CDS View that provides data about "Material Batch Value Help" in SAP S/4HANA. It reads from 1 data source (mch1) and exposes 4 fields with key fields Material, Batch. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F2422, ASQL_F2594). Part of development package ODATA_MM_COMMONS_VH.

Data Sources (1)

SourceAliasJoin Type
mch1 mch1 from

Associations (2)

CardinalityTargetAliasCondition
[1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_MaterialText _Text $projection.Material = _Text.Material and _Text.Language = $session.system_language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CMMMATLBCH_VH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
Consumption.ranked true view
ObjectModel.dataCategory #VALUE_HELP view
Search.searchable true view
EndUserText.label Material Batch Value Help view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F2422 ASQL_F2422 C2 NOT_RELEASED
ASQL_F2594 ASQL_F2594 C2 NOT_RELEASED

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Material matnr Vehicle Model
KEY Batch charg Chargeable Proc.
_Material _Material
_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 C_MM_MatlBatchValueHelp.
-- 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: CMMMATLBCH_VH

CREATE VIEW C_MM_MatlBatchValueHelp AS
SELECT
  matnr AS Material,
  charg AS Batch
FROM mch1
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1]
LEFT OUTER JOIN I_MaterialText AS _Text ON Material = _Text.Material AND _Text.Language = $session.system_language  -- association [0..1]
;