I_TrdgContrUserVH

DDL: I_TRDGCONTRUSERVH Type: view_entity BASIC

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)

SourceAliasJoin Type
I_User I_User from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_TrdgContr _TrdgContr $projection.UserID = _TrdgContr.CreatedByUser or $projection.UserID = _TrdgContr.LastChangedByUser

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/