P_UserReferenceUser

DDL: P_USERREFERENCEUSER Type: view_entity

Reference User and User Alias

P_UserReferenceUser is a CDS View that provides data about "Reference User and User Alias" in SAP S/4HANA. It reads from 2 data sources (usrefus, P_USR02) and exposes 4 fields with key field bname.

Data Sources (2)

SourceAliasJoin Type
usrefus ReferenceUser left_outer
P_USR02 UserExistence from

Annotations (7)

NameValueLevelField
AbapCatalog.extensibility.extensible false view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Reference User and User Alias view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions false view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY bname P_USR02 bname User name
refuser usrefus refuser Reference user
useralias usrefus useralias Alias
class P_USR02 class User Group

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 P_UserReferenceUser.
-- 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 P_UserReferenceUser AS
SELECT
  UserExistence.bname AS bname,
  ReferenceUser.refuser AS refuser,
  ReferenceUser.useralias AS useralias,
  UserExistence.class AS class
FROM P_USR02 AS UserExistence
LEFT OUTER JOIN usrefus AS ReferenceUser ON /* join condition not captured in parsed metadata */
;