R_ConditionDocumentUserVH

DDL: R_CONDITIONDOCUMENTUSERVH Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_User I_User from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_ConditionDocument _ConditionDocument $projection.UserID = _ConditionDocument.CreatedByUser or $projection.UserID = _ConditionDocument.LastChangedByUser

Annotations (13)

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

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