P_USR_EXTUID
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)
| Source | Alias | Join Type |
|---|---|---|
| usr_extuid | _usr_extuid | from |
| usr02 | _usr02 | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
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