P_DRFBATCHMCHA

DDL: P_DRFBATCHMCHA SQL: PDRFBATCHMCHA Type: view BASIC

P_DRFBATCHMCHA is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (mcha, mara) and exposes 5 fields with key fields matnr, werks, charg.

Data Sources (2)

SourceAliasJoin Type
mcha mcha from
mara md inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PDRFBATCHMCHA view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY matnr mcha matnr Vehicle Model
KEY werks mcha werks Receiving Plant
KEY charg mcha charg Chargeable Proc.
matkl mara matkl Product Sold Group
mtart mara mtart Product Type

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 P_DRFBATCHMCHA.
-- 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: PDRFBATCHMCHA

CREATE VIEW P_DRFBATCHMCHA AS
SELECT
  mcha.matnr AS matnr,
  mcha.werks AS werks,
  mcha.charg AS charg,
  md.matkl AS matkl,
  md.mtart AS mtart
FROM mcha
INNER JOIN mara AS md ON /* join condition not captured in parsed metadata */
;