srfv_mapping_ddl
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.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| srf_attribute | a | left_outer |
| srf_mapping | m | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA