srfv_mapping_ddl

DDL: SRFV_MAPPING_DDL SQL: SRFV_MAPPING Type: view Package: GLO_GEN_SRF

Mapping with element and attribute names

srfv_mapping_ddl is a CDS View that provides data about "Mapping with element and attribute names" in SAP S/4HANA. It reads from 2 data sources (srf_attribute, srf_mapping) and exposes 11 fields. Part of development package GLO_GEN_SRF.

Data Sources (2)

SourceAliasJoin Type
srf_attribute a left_outer
srf_mapping m from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName SRFV_MAPPING view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Mapping with element and attribute names view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #META view

Fields (11)

KeyFieldSource TableSource FieldDescription
report_id srf_mapping report_id Report ID
document_id srf_mapping document_id Snapshot ID
schema_id srf_mapping schema_id Status Scheme
element_id srf_mapping element_id OAN Element ID
element_name e element_name Element Name
attribute_id srf_mapping attribute_id INT4
rep_var_id_s srf_mapping rep_var_id_s Report Variable ID
query_id_s srf_mapping query_id_s Query ID
row_key_id_s srf_mapping row_key_id_s Row Key ID
element_id_s srf_mapping element_id_s Element Id
value_s srf_mapping value_s Value

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 srfv_mapping_ddl.
-- 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: SRFV_MAPPING

CREATE VIEW srfv_mapping_ddl AS
SELECT
  m.report_id AS report_id,
  m.document_id AS document_id,
  m.schema_id AS schema_id,
  m.element_id AS element_id,
  e.element_name AS element_name,
  m.attribute_id AS attribute_id,
  m.rep_var_id_s AS rep_var_id_s,
  m.query_id_s AS query_id_s,
  m.row_key_id_s AS row_key_id_s,
  m.element_id_s AS element_id_s,
  m.value_s AS value_s
FROM srf_mapping AS m
LEFT OUTER JOIN srf_attribute AS a ON /* join condition not captured in parsed metadata */
;