C_ChFiExBatchClfn

DDL: C_CHFIEXBATCHCLFN SQL: CCFEBATCHCLASS Type: view CONSUMPTION

Classification View for Batch

C_ChFiExBatchClfn is a Consumption CDS View that provides data about "Classification View for Batch" in SAP S/4HANA. It reads from 1 data source (I_ChFiExBatchClfn) and exposes 5 fields with key fields Material, Batch, Plant. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChFiExBatchClfn ChFiExBatchClfn from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_BatchTP _BatchTP $projection.Material = _BatchTP.Material and $projection.Batch = _BatchTP.Batch and $projection.Plant = _BatchTP.Plant

Annotations (11)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CCFEBATCHCLASS view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Classification View for Batch view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Batch Batch Lot No.
KEY Plant Plant Valuation Area
ClfnObjectInternalID ClfnObjectInternalID
TO_COMPOSITION_PARENT_BatchTP

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_ChFiExBatchClfn.
-- 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: CCFEBATCHCLASS

CREATE VIEW C_ChFiExBatchClfn AS
SELECT
  Material,
  Batch,
  Plant,
  ClfnObjectInternalID,
  , #TO_COMPOSITION_PARENT ] _BatchTP AS TO_COMPOSITION_PARENT_BatchTP
FROM I_ChFiExBatchClfn AS ChFiExBatchClfn
LEFT OUTER JOIN C_BatchTP AS _BatchTP ON Material = _BatchTP.Material AND Batch = _BatchTP.Batch AND Plant = _BatchTP.Plant  -- association [1..1]
;