I_TrdgContrUserVH
Created By
I_TrdgContrUserVH is a Basic CDS View that provides data about "Created By" 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_TrdgContr | _TrdgContr | $projection.UserID = _TrdgContr.CreatedByUser or $projection.UserID = _TrdgContr.LastChangedByUser |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Created By | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.representativeKey | UserID | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.modelingPattern | #VALUE_HELP_PROVIDER | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UserID | UserID | ||
| UserDescription | UserDescription | |||
| _TrdgContr | _TrdgContr |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Created By'
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel: {
representativeKey: 'UserID',
dataCategory: #VALUE_HELP,
modelingPattern: #VALUE_HELP_PROVIDER,
supportedCapabilities: [#CDS_MODELING_DATA_SOURCE],
usageType: {
dataClass: #CUSTOMIZING,
serviceQuality: #B,
sizeCategory: #S
}
}
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
define view entity I_TrdgContrUserVH
as select from I_User
association [0..*] to I_TrdgContr as _TrdgContr on $projection.UserID = _TrdgContr.CreatedByUser or
$projection.UserID = _TrdgContr.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 */
@Consumption.hidden: true
_TrdgContr
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_USER"
],
"ASSOCIATED":
[
"I_TRDGCONTR"
],
"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