srfd_i_mapping
Report Mapping Data
srfd_i_mapping is a CDS View that provides data about "Report Mapping Data" in SAP S/4HANA. It reads from 1 data source (srf_mapping) and exposes 22 fields with key fields ReportId, ReportVersion, DocumentId, SchemaId, ElementId. It has 1 association to related views. Part of development package GLO_GEN_SRF_AUTHORING.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| srf_mapping | Mapping | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | srfd_i_report | _Report | $projection.ReportId = _Report.ReportId and $projection.ReportVersion = _Report.ReportVersion |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Report Mapping Data | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ReportId | srf_mapping | report_id | Report ID |
| KEY | ReportVersion | srf_mapping | report_version | Report Version |
| KEY | DocumentId | srf_mapping | document_id | Snapshot ID |
| KEY | SchemaId | srf_mapping | schema_id | Status Scheme |
| KEY | ElementId | srf_mapping | element_id | OAN Element ID |
| KEY | AttributeId | srf_mapping | attribute_id | INT4 |
| KEY | SequenceNumber | srf_mapping | sequence_number | Sort Sequence |
| LoopQueryId | srf_mapping | loop_query_id | Query ID | |
| SourceType | srf_mapping | source_type_s | Source type | |
| RepVarId | srf_mapping | rep_var_id_s | Report Variable ID | |
| QueryId | srf_mapping | query_id_s | Query ID | |
| ColumnName | srf_mapping | column_name_s | Column name | |
| RowKeyId | srf_mapping | row_key_id_s | Row Key ID | |
| DocumentIdS | srf_mapping | document_id_s | Document ID | |
| ElementIdS | srf_mapping | element_id_s | Element Id | |
| AttributeIdS | srf_mapping | attribute_id_s | Attribute Id | |
| Value | srf_mapping | value_s | Value | |
| ManualAdjOption | srf_mapping | manual_adj_option | Manual Adjustmnt Opt | |
| FieldVisibilityInd | srf_mapping | field_visibility_ind | Visibility Indicator | |
| ParamNameForNumOfEntries | srf_mapping | param_name_for_num_of_entries | Parameter Name | |
| _Document | _Document | |||
| _Report | _Report |
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 srfd_i_mapping.
-- 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 srfd_i_mapping AS
SELECT
Mapping.report_id AS ReportId,
Mapping.report_version AS ReportVersion,
Mapping.document_id AS DocumentId,
Mapping.schema_id AS SchemaId,
Mapping.element_id AS ElementId,
Mapping.attribute_id AS AttributeId,
Mapping.sequence_number AS SequenceNumber,
Mapping.loop_query_id AS LoopQueryId,
Mapping.source_type_s AS SourceType,
Mapping.rep_var_id_s AS RepVarId,
Mapping.query_id_s AS QueryId,
Mapping.column_name_s AS ColumnName,
Mapping.row_key_id_s AS RowKeyId,
Mapping.document_id_s AS DocumentIdS,
Mapping.element_id_s AS ElementIdS,
Mapping.attribute_id_s AS AttributeIdS,
Mapping.value_s AS Value,
Mapping.manual_adj_option AS ManualAdjOption,
Mapping.field_visibility_ind AS FieldVisibilityInd,
Mapping.param_name_for_num_of_entries AS ParamNameForNumOfEntries
FROM srf_mapping AS Mapping
LEFT OUTER JOIN srfd_i_report AS _Report ON ReportId = _Report.ReportId AND ReportVersion = _Report.ReportVersion -- association [1..1]
;
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