P_USR_TO_GLOBALUID
User UUID
P_USR_TO_GLOBALUID is a Basic CDS View that provides data about "User UUID" in SAP S/4HANA. It reads from 2 data sources (usr_to_globaluid, usr02) and exposes 3 fields with key field bname. Part of development package SUSR_IDENTITY.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| usr_to_globaluid | _usr_to_globaluid | from |
| usr02 | _usr02 | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| AbapCatalog.sqlViewName | PUSRTOGLOBALUID | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | User UUID | view | |
| VDM.viewType | #BASIC | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bname | usr02 | bname | |
| class | usr02 | class | ||
| sap_uid | usr_to_globaluid | sap_uid |
@VDM.private: true
@AbapCatalog.sqlViewName: 'PUSRTOGLOBALUID'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'User UUID'
@VDM.viewType: #BASIC
// Read User UUID for UserID with authorization check
define view P_USR_TO_GLOBALUID
as select from usr_to_globaluid as _usr_to_globaluid
inner join usr02 as _usr02 on _usr_to_globaluid.bname = _usr02.bname
{
key _usr02.bname,
_usr02.class,
_usr_to_globaluid.sap_uid
}
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