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