Rv_P_User
User
Rv_P_User is a CDS View of category Dimension that provides data about "User" in SAP S/4HANA. It reads from 2 data sources (adrp, usr21) and exposes 8 fields with key field userName. Part of development package RSVP.
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RVPUSER | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| ObjectModel.representativeKey | userName | view | |
| ClientDependent | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view |
//@RV.viewType: #COMPOSITE
//@RV.private: true
@AbapCatalog.sqlViewName: 'RVPUSER' // 7
@Analytics.dataCategory: #DIMENSION
@ObjectModel.representativeKey: 'userName'
@ClientDependent: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.compiler.compareFilter: true
// This view must be private due to authorizations
define view Rv_P_User
(
userName,
personNumber,
description, // is filled if the description field in SU01 is maintained
lastName,
fullName,
firstNameUpper,
lastNameUpper,
counter
)
as
select from usr21
left outer join adrp on usr21.persnumber = adrp.persnumber
{
@ObjectModel.text.element: 'fullName'
key usr21.bname as userName,
usr21.persnumber as personNumber,
usr21.techdesc as description,
adrp.name_last as lastName,
adrp.name_text as fullName,
adrp.mc_namefir as firstNameUpper,
adrp.mc_namelas as lastNameUpper,
@DefaultAggregation: #SUM
cast(cast(1 as abap.int4) as rvcounter) as counter
}
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