P_UserSNC
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. Part of development package SUSR.
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 |
@AbapCatalog: {
viewEnhancementCategory: [ #NONE ]
, extensibility: { extensible: false }
}
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'User SNC Data'
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #M,
dataClass: #MIXED
}
@Metadata: { allowExtensions: false }
// Used for function module 'SUSR_USER_GET_DETAIL_MASS' (mass enabled 'BAPI_USER_GET_DETAIL')
// Parameter SNC with BAPISNCU structure + usernames
define view entity P_UserSNC
as select from P_USR02 as UserExistence
left outer join usracl as UserSNC on UserExistence.bname = UserSNC.bname
and UserSNC.snc_sid is initial
{
key UserExistence.bname,
UserSNC.guiflag,
UserSNC.pname,
@Consumption.hidden: true
UserExistence.class
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA