R_BatchClassTP

DDL: R_BATCHCLASSTP Type: view_entity TRANSACTIONAL

Batch Class Assignment

R_BatchClassTP is a Transactional CDS View that provides data about "Batch Class Assignment" in SAP S/4HANA. It reads from 2 data sources (I_BatchDistinct, I_ClfnObjectClassForKeyDate) and exposes 7 fields with key fields Material, BatchIdentifyingPlant, Batch.

Data Sources (2)

SourceAliasJoin Type
I_BatchDistinct Batch inner
I_ClfnObjectClassForKeyDate I_ClfnObjectClassForKeyDate from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Batch Class Assignment view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Material I_BatchDistinct Material Vehicle Model
KEY BatchIdentifyingPlant I_BatchDistinct Plant Valuation Area
KEY Batch I_BatchDistinct Batch Lot No.
ClassInternalID ObjectClass ClassInternalID Int class no.
ClassType ObjectClass ClassType X Flag
_Class ObjectClass _Class
_BatchTP _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 R_BatchClassTP.
-- 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.

CREATE VIEW R_BatchClassTP AS
SELECT
  Batch.Material AS Material,
  Batch.Plant AS BatchIdentifyingPlant,
  Batch.Batch AS Batch,
  ObjectClass.ClassInternalID AS ClassInternalID,
  ObjectClass.ClassType AS ClassType,
  ObjectClass._Class AS _Class
FROM I_ClfnObjectClassForKeyDate
INNER JOIN I_BatchDistinct AS Batch ON /* join condition not captured in parsed metadata */
;