C_ReturnsRefDocUserValueHelp
Returns Order Reference Document User
C_ReturnsRefDocUserValueHelp is a Consumption CDS View that provides data about "Returns Order Reference Document User" in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 4 fields with key field UserID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_User | I_User | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SalesDocumentBasic | _SalesDocument | UserID = _SalesDocument.CreatedByUser or UserID = _SalesDocument.LastChangedByUser |
| [0..*] | I_BillingDocumentBasic | _BillingDocument | UserID = _BillingDocument.CreatedByUser |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CRETREFDOCUSRVH | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Returns Order Reference Document User | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| UI.headerInfo.typeName | Reference Document User | view | |
| UI.headerInfo.typeNamePlural | Reference Document Users | view | |
| ObjectModel.representativeKey | UserID | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UserID | UserID | ||
| UserDescription | UserDescription | Name | ||
| _SalesDocument | _SalesDocument | |||
| _BillingDocument | _BillingDocument |
@AbapCatalog.sqlViewName: 'CRETREFDOCUSRVH'
@VDM.viewType: #CONSUMPTION
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@EndUserText.label: 'Returns Order Reference Document User'
@Search.searchable: true
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@UI.headerInfo:{
typeName: 'Reference Document User',
typeNamePlural: 'Reference Document Users'
}
@ObjectModel.representativeKey: 'UserID'
@UI.presentationVariant:{
sortOrder: [
{ by: 'UserID', direction: #ASC },
{ by: 'UserDescription', direction: #ASC }]
}
define view C_ReturnsRefDocUserValueHelp
as select from I_User
association [0..*] to I_SalesDocumentBasic as _SalesDocument on UserID = _SalesDocument.CreatedByUser
or UserID = _SalesDocument.LastChangedByUser
association [0..*] to I_BillingDocumentBasic as _BillingDocument on UserID = _BillingDocument.CreatedByUser
{
@ObjectModel.text.element: [ 'UserDescription' ]
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.9
@Search.ranking: #HIGH
key UserID,
@Semantics.text: true
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.9
@EndUserText.label: 'Name'
UserDescription,
// For Access control
_SalesDocument,
_BillingDocument
}
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