SUIM__USR_VAL_4_FLD_X

DDL: SUIM__USR_VAL_4_FLD_X Type: view_entity

SUIM | Get Authorization Values

SUIM__USR_VAL_4_FLD_X is a CDS View that provides data about "SUIM | Get Authorization Values" in SAP S/4HANA. It reads from 4 data sources (ust12, usrbf2, usrefus, usr02) and exposes 8 fields with key fields bname, object, auth, field.

Data Sources (4)

SourceAliasJoin Type
ust12 a inner
usrbf2 b inner
usrefus r left_outer
usr02 u from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label SUIM | Get Authorization Values view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY bname usr02 bname User name
KEY object usrbf2 objct Object
KEY auth usrbf2 auth Authorization
KEY field ust12 field Logical Field
vonlikethenCPelseEQendassel_option
low ust12 von Value
high ust12 bis Value
low_pos

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__USR_VAL_4_FLD_X.
-- 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 SUIM__USR_VAL_4_FLD_X AS
SELECT
  u.bname AS bname,
  b.objct AS object,
  b.auth AS auth,
  a.field AS field,
  case when a.von = '*' then '**' when a.bis is not initial then 'BT' when a.von like '%*%' then 'CP' else 'EQ' end as sel_option AS vonlikethenCPelseEQendassel_option,
  a.von AS low,
  a.bis AS high,
  instr( a.von, '*' ) AS low_pos
FROM usr02 AS u
LEFT OUTER JOIN usrefus AS r ON /* join condition not captured in parsed metadata */
INNER JOIN usrbf2 AS b ON /* join condition not captured in parsed metadata */
INNER JOIN ust12 AS a ON /* join condition not captured in parsed metadata */
;