I_ChFiExBatchClfn

DDL: I_CHFIEXBATCHCLFN SQL: ICFEBATCHCLASS Type: view COMPOSITE Package: VCH_CFE

Classification View for Batch

I_ChFiExBatchClfn is a Composite CDS View that provides data about "Classification View for Batch" in SAP S/4HANA. It has 3 associations to related views. Part of development package VCH_CFE.

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_BatchTP _BatchTP $projection.Material = _BatchTP.Material and $projection.Batch = _BatchTP.Batch and $projection.Plant = _BatchTP.Plant
[0..1] E_ChFiExBatchSecdryPer _ChFiExBatchSecdryPer $projection.ClfnObjectInternalID = _ChFiExBatchSecdryPer.ClfnObjectInternalID
[0..*] I_ChFiExClfnObjCharcForKeyDate _ChFiExClfnObjCharcForKeyDate _ChFiExClfnObjCharcForKeyDate.ClfnObjectInternalID = $projection.ClfnObjectInternalID

Annotations (16)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ICFEBATCHCLASS 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 #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.writeDraftPersistence ICHFIEXBATCLF_D view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Material batch Material Vehicle Model
KEY Batch batch Batch Lot No.
KEY Plant batch Plant Valuation Area
ClfnObjectInternalID batch ClfnObjectInternalID
_ChFiExClfnObjCharcForKeyDate _ChFiExClfnObjCharcForKeyDate
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 I_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: ICFEBATCHCLASS

CREATE VIEW I_ChFiExBatchClfn AS
SELECT
  batch.Material AS Material,
  batch.Batch AS Batch,
  batch.Plant AS Plant,
  batch.ClfnObjectInternalID AS ClfnObjectInternalID,
  , #TO_COMPOSITION_PARENT ] _BatchTP AS TO_COMPOSITION_PARENT_BatchTP
LEFT OUTER JOIN I_BatchTP AS _BatchTP ON Material = _BatchTP.Material AND Batch = _BatchTP.Batch AND Plant = _BatchTP.Plant  -- association [1..1]
LEFT OUTER JOIN E_ChFiExBatchSecdryPer AS _ChFiExBatchSecdryPer ON ClfnObjectInternalID = _ChFiExBatchSecdryPer.ClfnObjectInternalID  -- association [0..1]
LEFT OUTER JOIN I_ChFiExClfnObjCharcForKeyDate AS _ChFiExClfnObjCharcForKeyDate ON _ChFiExClfnObjCharcForKeyDate.ClfnObjectInternalID = ClfnObjectInternalID  -- association [0..*]
;