srfd_i_document
Report Definition Document
srfd_i_document is a CDS View that provides data about "Report Definition Document" in SAP S/4HANA. It reads from 1 data source (srf_document) and exposes 26 fields with key fields ReportId, ReportVersion, DocumentId. It has 2 associations to related views. Part of development package GLO_GEN_SRF_AUTHORING.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| srf_document | srf_document | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | srfd_i_mapping | _Mapping | |
| [0..*] | srfd_i_mapping_t | _MappingText | |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Report Definition Document | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ReportId | report_id | Report ID | |
| KEY | ReportVersion | report_version | Report Version | |
| KEY | DocumentId | document_id | Snapshot ID | |
| DocumentFormat | document_format | Format | ||
| SchemaId | schema_id | Status Scheme | ||
| FormTemplate | form_template | PO Layout Tmpl. | ||
| RecipientType | recipient_type | Forms Recipient Type: Business partner or Govt agent | ||
| OutputType | output_type | Output Type | ||
| CodePage | code_page | Code Page | ||
| DocumentVisualization | document_visualization | Doc. Visualization | ||
| ReferenceDocumentId | reference_document_id | Ref. Document ID | ||
| SplitQueryId | split_query_id | Split Query ID | ||
| SchemaQueryId | schema_query_id | Query ID for Schema | ||
| FieldArrangement | field_arrangement | Arrangement | ||
| IsSelectable | is_selectable | Document Selection | ||
| QueriesForAnalytics | queries_for_analytics | Query IDs for Ana | ||
| ChangedOn | changed_on | Variant Changed on | ||
| SplitQryColForPackageSize | split_qry_col_for_package_size | Column name | ||
| SplitPackageSize | split_package_size | Split package size | ||
| ParallelizationGroup | parallelization_group | Document Group ID | ||
| NumOfFilesPerSession | num_of_files_per_session | No.of files per sess | ||
| IsComparisonRelevant | is_comparison_relevant | |||
| SubmissionRelevant | submission_relevant | |||
| _Mapping | _Mapping | |||
| _MappingText | _MappingText | |||
| _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_document.
-- 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_document AS
SELECT
report_id AS ReportId,
report_version AS ReportVersion,
document_id AS DocumentId,
document_format AS DocumentFormat,
schema_id AS SchemaId,
form_template AS FormTemplate,
recipient_type AS RecipientType,
output_type AS OutputType,
code_page AS CodePage,
document_visualization AS DocumentVisualization,
reference_document_id AS ReferenceDocumentId,
split_query_id AS SplitQueryId,
schema_query_id AS SchemaQueryId,
field_arrangement AS FieldArrangement,
is_selectable AS IsSelectable,
queries_for_analytics AS QueriesForAnalytics,
changed_on AS ChangedOn,
split_qry_col_for_package_size AS SplitQryColForPackageSize,
split_package_size AS SplitPackageSize,
parallelization_group AS ParallelizationGroup,
num_of_files_per_session AS NumOfFilesPerSession,
is_comparison_relevant AS IsComparisonRelevant,
submission_relevant AS SubmissionRelevant
FROM srf_document
LEFT OUTER JOIN srfd_i_mapping AS _Mapping ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN srfd_i_mapping_t AS _MappingText ON /* condition not available in parsed metadata */ -- association [0..*]
;
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