P_UserSNC

DDL: P_USERSNC Type: view_entity

User SNC Data

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

Data Sources (2)

SourceAliasJoin Type
P_USR02 UserExistence from
usracl UserSNC left_outer

Annotations (7)

NameValueLevelField
AbapCatalog.extensibility.extensible false view
AccessControl.authorizationCheck #CHECK view
EndUserText.label User SNC Data 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
guiflag usracl guiflag Password Logon
pname usracl pname SNC name
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_UserSNC.
-- 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_UserSNC AS
SELECT
  UserExistence.bname AS bname,
  UserSNC.guiflag AS guiflag,
  UserSNC.pname AS pname,
  UserExistence.class AS class
FROM P_USR02 AS UserExistence
LEFT OUTER JOIN usracl AS UserSNC ON /* join condition not captured in parsed metadata */
;