I_CSRV_ROOT
Custom Service Root Entity
I_CSRV_ROOT is a CDS View that provides data about "Custom Service Root Entity" in SAP S/4HANA. It reads from 4 data sources (csrv_header, csrv_header_t, srvd_rt_annos, tadir) and exposes 16 fields with key fields ServiceId, Version. It has 3 associations to related views. Part of development package RS_AQS_RAP.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| csrv_header | csrv_h | left_outer |
| csrv_header_t | csrv_h_t | left_outer |
| srvd_rt_annos | srvd_anno | left_outer |
| tadir | tadir_t | left_outer |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_CSRV_ITEMS | _csrv_items | |
| [1..*] | I_CSRV_HEADER_T | _csrv_header_t | |
| [1..1] | I_CSRV_RECENT_SERVICES | _recent_services | |
Annotations (2)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Custom Service Root Entity | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceId | services | ServiceName | Name |
| KEY | Version | services | Version | Version |
| ExtServiceName | services | ExternalServiceName | External Service Name | |
| DescriptionendasDescription | Label | |||
| ServiceDefName | services | ServiceDefName | Service Definition | |
| ServiceGenVersion | csrv_header | serv_gen_version | ||
| ServiceOperation | csrv_header | service_operation | ||
| IsPublished | csrv_header | is_published | ||
| ServiceDefType | services | ServiceDefType | ||
| AbapLanguageVersion | services | AbapLanguageVersion | ||
| ChangedAt | services | ChangedAt | Time Stamp | |
| ChangedBy | services | ChangedBy | User Name | |
| ChangedOn | services | ChangedOn | Time Stamp | |
| ProcessState | csrv_header | process_state | Process State | |
| DescriptionLanguage | csrv_header_t | language | Report Text Language | |
| _csrv_items | _csrv_items |
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 I_CSRV_ROOT.
-- 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 I_CSRV_ROOT AS
SELECT
services.ServiceName AS ServiceId,
services.Version AS Version,
services.ExternalServiceName AS ExtServiceName,
case csrv_h.service_type when 'CUSTOM' then csrv_h_t.description else services.Description end as Description AS DescriptionendasDescription,
services.ServiceDefName AS ServiceDefName,
csrv_h.serv_gen_version AS ServiceGenVersion,
csrv_h.service_operation AS ServiceOperation,
csrv_h.is_published AS IsPublished,
services.ServiceDefType AS ServiceDefType,
services.AbapLanguageVersion AS AbapLanguageVersion,
services.ChangedAt AS ChangedAt,
services.ChangedBy AS ChangedBy,
services.ChangedOn AS ChangedOn,
csrv_h.process_state AS ProcessState,
csrv_h_t.language AS DescriptionLanguage
LEFT OUTER JOIN csrv_header AS csrv_h ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN csrv_header_t AS csrv_h_t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tadir AS tadir_t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN srvd_rt_annos AS srvd_anno ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CSRV_ITEMS AS _csrv_items ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN I_CSRV_HEADER_T AS _csrv_header_t ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN I_CSRV_RECENT_SERVICES AS _recent_services ON /* condition not available in parsed metadata */ -- 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