SUIM_AGR_WITH_TCD

DDL: SUIM_AGR_WITH_TCD SQL: SUIM_AGR_4_TCD Type: view

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.

Data Sources (4)

SourceAliasJoin Type
SUIM_2X_APPL_TYPE atype_tx left_outer
agr_1251 auth inner
agr_users root from
P_UserAddress002 user left_outer

Associations (2)

CardinalityTargetAliasCondition
[0..1] tstct tran_tx tran_tx.tcode = auth.low and tran_tx.sprsl = $session.system_language
[0..1] tstct tran_tx_e tran_tx_e.tcode = auth.low and tran_tx_e.sprsl = 'E'

Annotations (5)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;