C_CustomerReturnUserVH
Customer Return User
C_CustomerReturnUserVH is a Consumption CDS View that provides data about "Customer Return User" in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 3 fields with key field UserID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_User | I_User | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CustomerReturn | _CustomerReturn | UserID = _CustomerReturn.CreatedByUser or UserID = _CustomerReturn.LastChangedByUser |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Customer Return User | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | UserID | view | |
| UI.headerInfo.typeName | User | view | |
| UI.headerInfo.typeNamePlural | Users | view | |
| AbapCatalog.sqlViewName | CREUSERVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UserID | UserID | ||
| UserDescription | UserDescription | |||
| _CustomerReturn | _CustomerReturn |
@AccessControl:{
authorizationCheck: #MANDATORY,
personalData.blocking: #BLOCKED_DATA_EXCLUDED
}
@EndUserText.label: 'Customer Return User'
@ClientHandling.algorithm: #SESSION_VARIABLE
@Search.searchable: true
@Consumption.ranked: true
@VDM: {
viewType: #CONSUMPTION
}
@ObjectModel:{
usageType:{
dataClass: #TRANSACTIONAL,
serviceQuality: #A,
sizeCategory: #S
},
dataCategory:#VALUE_HELP,
representativeKey:'UserID'
}
@UI.headerInfo:{
typeName: 'User',
typeNamePlural: 'Users'
}
@UI.presentationVariant:{
sortOrder: [
{ by: 'UserID', direction: #ASC },
{ by: 'UserDescription', direction: #ASC }]
}
@AbapCatalog: {
sqlViewName: 'CREUSERVH',
compiler.compareFilter: true,
preserveKey:true
}
define view C_CustomerReturnUserVH
as select from I_User
association [0..*] to I_CustomerReturn as _CustomerReturn on UserID = _CustomerReturn.CreatedByUser or
UserID = _CustomerReturn.LastChangedByUser
{
@ObjectModel.text.element: [ 'UserDescription' ]
@Search: {
defaultSearchElement: true,
ranking: #HIGH,
fuzzinessThreshold: 0.9
}
key UserID,
@Semantics.text: true
@Search: {
defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.9
}
UserDescription,
// For Access control
_CustomerReturn
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_USER"
],
"ASSOCIATED":
[
"I_CUSTOMERRETURN"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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