R_ConditionDocumentUserVH
Condition Document User
R_ConditionDocumentUserVH is a Composite CDS View that provides data about "Condition Document 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..*] | R_ConditionDocument | _ConditionDocument | $projection.UserID = _ConditionDocument.CreatedByUser or $projection.UserID = _ConditionDocument.LastChangedByUser |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Condition Document User | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | UserID | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | false | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UserID | UserID | ||
| UserDescription | UserDescription | |||
| _ConditionDocument | _ConditionDocument |
@EndUserText.label: 'Condition Document User'
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
dataCategory: #VALUE_HELP,
// modelingPattern: #VALUE_HELP_PROVIDER,
// supportedCapabilities: [#VALUE_HELP_PROVIDER, #SEARCHABLE_ENTITY],
representativeKey: 'UserID',
usageType: {
dataClass: #MIXED,
serviceQuality: #C,
sizeCategory: #XXL
}
}
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@Search.searchable: true
@Consumption.ranked: true
@Metadata: {
ignorePropagatedAnnotations: true,
allowExtensions: false
}
define view entity R_ConditionDocumentUserVH
as select from I_User
association [0..*] to R_ConditionDocument as _ConditionDocument on $projection.UserID = _ConditionDocument.CreatedByUser or
$projection.UserID = _ConditionDocument.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,
/* Associations required for DCL */
@Consumption.hidden: true
_ConditionDocument
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_USER"
],
"ASSOCIATED":
[
"R_CONDITIONDOCUMENT"
],
"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