C_UniversalAllocationTypeVH

DDL: C_UNIVERSALALLOCATIONTYPEVH Type: view_entity CONSUMPTION Package: ODATA_MANAGE_ALLOCATION_V2_VH

Allocation Context

C_UniversalAllocationTypeVH is a Consumption CDS View that provides data about "Allocation Context" in SAP S/4HANA. It reads from 1 data source (I_AllocationContextType) and exposes 2 fields with key field AllocationType. Part of development package ODATA_MANAGE_ALLOCATION_V2_VH.

Data Sources (1)

SourceAliasJoin Type
I_AllocationContextType I_AllocationContextType from

Annotations (12)

NameValueLevelField
EndUserText.label Allocation Context view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey AllocationType view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.resultSet.sizeCategory #XS view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations false view
Search.searchable true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY AllocationType
AllocationContextTypeText
@AbapCatalog.viewEnhancementCategory: [#NONE]
@EndUserText.label: 'Allocation Context'
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel:{
  representativeKey: 'AllocationType',
  usageType: {
     dataClass:      #MIXED,
     serviceQuality: #C,
     sizeCategory:   #M },
  dataCategory: #VALUE_HELP, 
  resultSet.sizeCategory: #XS }
@VDM.viewType: #CONSUMPTION
@Metadata: {
  allowExtensions: true,
  ignorePropagatedAnnotations: false }
@Search.searchable: true
define view entity C_UniversalAllocationTypeVH 
  as select from I_AllocationContextType                                                                 
{ 
  @ObjectModel.text.element: ['AllocationContextTypeText']
  @Search.defaultSearchElement: true
  @Search.fuzzinessThreshold: 0.8
  @Search.ranking: #HIGH
  key cast(AllocationType as fco_allocation_context) as AllocationType,  
  @Search.defaultSearchElement: true
  @Search.fuzzinessThreshold: 0.8
  _Text[1:Language = $session.system_language].AllocationContextTypeText
}