SUIM_AGR_WITH_TCD
SUIM - Get (assigned) roles with tcode
SUIM_AGR_WITH_TCD is a CDS View that provides data about "SUIM - Get (assigned) roles with tcode" in SAP S/4HANA. It reads from 4 data sources (SUIM_2X_APPL_TYPE, agr_1251, agr_users, P_UserAddress002) and exposes 6 fields with key fields agr_name, bname. It has 2 associations to related views. Part of development package SUSR_IS.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| SUIM_2X_APPL_TYPE | atype_tx | left_outer |
| agr_1251 | auth | inner |
| agr_users | root | from |
| P_UserAddress002 | user | left_outer |
Associations (2)
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SUIM_AGR_4_TCD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | SUIM - Get (assigned) roles with tcode | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | agr_name | agr_users | agr_name | Role |
| KEY | bname | agr_users | uname | User Name |
| low | agr_1251 | low | Value from | |
| high | agr_1251 | high | Value up to | |
| bname_tx | P_UserAddress002 | NAME_TEXTC | Full Name | |
| appl_type_tx | SUIM_2X_APPL_TYPE | ddtext | Short text |
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 SUIM_AGR_WITH_TCD.
-- 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: SUIM_AGR_4_TCD
CREATE VIEW SUIM_AGR_WITH_TCD AS
SELECT
root.agr_name AS agr_name,
root.uname AS bname,
auth.low AS low,
auth.high AS high,
user.NAME_TEXTC AS bname_tx,
atype_tx.ddtext AS appl_type_tx
FROM agr_users AS root
INNER JOIN agr_1251 AS auth ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SUIM_2X_APPL_TYPE AS atype_tx ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_UserAddress002 AS user ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tstct AS tran_tx ON tran_tx.tcode = auth.low AND tran_tx.sprsl = $session.system_language -- association [0..1]
LEFT OUTER JOIN tstct AS tran_tx_e ON tran_tx_e.tcode = auth.low AND tran_tx_e.sprsl = 'E' -- association [0..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