P_EIT_User_Name

DDL: P_EIT_USER_NAME SQL: PEITUSERNAME Type: view

Extensibility Template: User Name

P_EIT_User_Name is a CDS View that provides data about "Extensibility Template: User Name" in SAP S/4HANA. It reads from 1 data source (usr21) and exposes 1 field with key field UserName.

Data Sources (1)

SourceAliasJoin Type
usr21 usr21 from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PEITUSERNAME view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label Extensibility Template: User Name view

Fields (1)

KeyFieldSource TableSource FieldDescription
KEY UserName bname
@AbapCatalog.sqlViewName: 'PEITUSERNAME'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_ALLOWED
@EndUserText.label: 'Extensibility Template: User Name'

// official IAM view I_User is not available in our system :(

define view P_EIT_User_Name
  as select from usr21
{
      @ObjectModel.text.element: ['Description']
  key bname as UserName,

      case techdesc
        when '' then bname
        else techdesc
      end   as Description
}
where
  mandt = $session.client
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"USR21"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/