SUIM_AGR_VALID_USER_CNT

DDL: SUIM_AGR_VALID_USER_CNT Type: view_entity

SUIM | Count of valid user in role

SUIM_AGR_VALID_USER_CNT is a CDS View that provides data about "SUIM | Count of valid user in role" in SAP S/4HANA. It reads from 1 data source (agr_users) and exposes 2 fields with key field agr_name.

Data Sources (1)

SourceAliasJoin Type
agr_users usr from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label SUIM | Count of valid user in role view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY agr_name agr_users agr_name Role
usr_cnt

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_VALID_USER_CNT.
-- 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_AGR_VALID_USER_CNT AS
SELECT
  usr.agr_name AS agr_name,
  count( distinct usr.uname ) AS usr_cnt
FROM agr_users AS usr
;