P_USR_EXTUID

DDL: P_USR_EXTUID SQL: PUSREXTUID Type: view BASIC

Externe UID

P_USR_EXTUID is a Basic CDS View that provides data about "Externe UID" in SAP S/4HANA. It reads from 2 data sources (usr_extuid, usr02) and exposes 4 fields with key field bname.

Data Sources (2)

SourceAliasJoin Type
usr_extuid _usr_extuid from
usr02 _usr02 inner

Annotations (7)

NameValueLevelField
VDM.private true view
AbapCatalog.sqlViewName PUSREXTUID view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Externe UID view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY bname usr02 bname
class usr02 class
extuid_type usr_extuid extuid_type
extuid usr_extuid extuid
@VDM.private: true
@AbapCatalog.sqlViewName: 'PUSREXTUID'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Externe UID'
@VDM.viewType: #BASIC

// Read UserID for External UID with authorization check for CL_IDENTITY_FACTORY=>SEARCH_BY_EXTUID


define view P_USR_EXTUID 
  as select from    usr_extuid       as _usr_extuid
    inner join      usr02            as _usr02              on  _usr_extuid.bname = _usr02.bname
{
  key _usr02.bname,
      _usr02.class,
      _usr_extuid.extuid_type,
      _usr_extuid.extuid
}