C_DrctActivityAllocationUserVH

DDL: C_DRCTACTIVITYALLOCATIONUSERVH Type: view_entity CONSUMPTION Package: ODATA_MANAGE_DRCT_ACTY_ALLOC_2

Created By

C_DrctActivityAllocationUserVH is a Consumption CDS View that provides data about "Created By" in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 4 fields with key field UserID. It has 1 association to related views. Part of development package ODATA_MANAGE_DRCT_ACTY_ALLOC_2.

Data Sources (1)

SourceAliasJoin Type
I_User _User from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_DirectActivityAllocation _DirectActivityAllocation _User.UserID = _DirectActivityAllocation.AccountingDocCreatedByUser

Annotations (11)

NameValueLevelField
EndUserText.label Created By view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #CONSUMPTION view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey UserID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
Consumption.ranked true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY UserID I_User UserID
UserDescription I_User UserDescription
IsTechnicalUser
_DirectActivityAllocation _DirectActivityAllocation
@AbapCatalog.viewEnhancementCategory: [#NONE]
@EndUserText.label: 'Created By'
@AccessControl: { authorizationCheck: #MANDATORY,
                  personalData.blocking: #BLOCKED_DATA_EXCLUDED }

@VDM.viewType: #CONSUMPTION

@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'UserID'
@ObjectModel.usageType: { serviceQuality: #C,
                          sizeCategory: #L,
                          dataClass: #MIXED }
@Search.searchable: true
@Consumption.ranked: true

define view entity C_DrctActivityAllocationUserVH
  as select from I_User as _User

  association [0..*] to R_DirectActivityAllocation as _DirectActivityAllocation on _User.UserID = _DirectActivityAllocation.AccountingDocCreatedByUser

{
      @UI.textArrangement: #TEXT_LAST
      @ObjectModel.text.element: ['UserDescription']
      @Search: { defaultSearchElement: true,
                 ranking: #HIGH,
                 fuzzinessThreshold: 0.8 }
  key _User.UserID,

      @Search: { defaultSearchElement: true,
                 ranking: #LOW,
                 fuzzinessThreshold: 0.8 }
      @Semantics.text: true           
      _User.UserDescription,

      cast (IsTechnicalUser as fco_io_is_technical_user preserving type ) as IsTechnicalUser,

      // For Access control

      @Consumption.hidden: true
      _DirectActivityAllocation
}