P_USERATTRIBUTES

DDL: P_USERATTRIBUTES Type: view_entity Package: SUSR

User Attribute Assignments

P_USERATTRIBUTES is a CDS View that provides data about "User Attribute Assignments" in SAP S/4HANA. It reads from 2 data sources (usr_attr_id, P_USR02) and exposes 4 fields with key fields bname, attr_id. Part of development package SUSR.

Data Sources (2)

SourceAliasJoin Type
usr_attr_id UserAttributes left_outer
P_USR02 UserExistence from

Annotations (7)

NameValueLevelField
AbapCatalog.extensibility.extensible false view
AccessControl.authorizationCheck #CHECK view
EndUserText.label User Attribute Assignments 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
KEY attr_id usr_attr_id attr_id
attr_type usr_attr_id attr_type
class P_USR02 class
@AbapCatalog:   {
                  viewEnhancementCategory: [ #NONE ]
                , extensibility: { extensible: false }
                }
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'User Attribute Assignments'
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #M,
  dataClass: #MIXED
}
@Metadata:      { allowExtensions: false }

// built for function module 'SUSR_USER_GET_DETAIL_MASS' (mass enabled 'BAPI_USER_GET_DETAIL')

// Parameter ET_USERATTRIBUTES with BAPIUSATTRIBUTE structure + username


define view entity P_USERATTRIBUTES
  as select from    P_USR02     as UserExistence
    left outer join usr_attr_id as UserAttributes on UserExistence.bname = UserAttributes.bname
{
  key UserExistence.bname,
  key UserAttributes.attr_id,
      UserAttributes.attr_type,
      @Consumption.hidden: true
      UserExistence.class
}