C_UnivAllocOverheadAccountVH

DDL: C_UNIVALLOCOVERHEADACCOUNTVH Type: view_entity CONSUMPTION Package: ODATA_MANAGE_ALLOCATION_V2_VH

Overhead Allocation Account

C_UnivAllocOverheadAccountVH is a Consumption CDS View that provides data about "Overhead Allocation Account" in SAP S/4HANA. It reads from 4 data sources (I_ControllingArea, I_CompanyCode, I_CostElementOnControllingArea, I_GLAccountInCompanyCode) and exposes 4 fields with key fields CostElement, CompanyCode. It has 1 association to related views. It is exposed through 1 OData service (UI_FCO_MANAGE_ALLOCATION). Part of development package ODATA_MANAGE_ALLOCATION_V2_VH.

Data Sources (4)

SourceAliasJoin Type
I_ControllingArea _CoA inner
I_CompanyCode _CoCode from
I_CostElementOnControllingArea _CoE inner
I_GLAccountInCompanyCode _CostElementCoCode inner

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CostElementText _Text _CoE.ChartOfAccounts = _Text.ChartOfAccounts and _CoE.CostElement = _Text.CostElement

Annotations (11)

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

OData Services (1)

ServiceBindingVersionContractRelease
UI_FCO_MANAGE_ALLOCATION UI_FCOUA_MANAGE_ALLOCATION V2 C1 NOT_RELEASED

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CostElement
KEY CompanyCode I_CompanyCode CompanyCode
CostElementName
CostElementDescription
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Overhead Allocation Account'
@ObjectModel:{
  representativeKey: 'CostElement',
  usageType: {
     dataClass:      #MIXED,
     serviceQuality: #C,
     sizeCategory:   #M },
  dataCategory: #VALUE_HELP }
@VDM.viewType: #CONSUMPTION
@Metadata: {
  allowExtensions: true,
  ignorePropagatedAnnotations: false }
@Search.searchable: true
define view entity C_UnivAllocOverheadAccountVH 
  as select from I_CompanyCode                  as _CoCode

    inner join   I_ControllingArea              as _CoA               on _CoA.ControllingArea = _CoCode.ControllingArea
    
    inner join   I_CostElementOnControllingArea as _CoE               on  _CoE.ControllingArea = _CoA.ControllingArea
                                                                      and _CoE.ChartOfAccounts = _CoA.ChartOfAccounts

    inner join   I_GLAccountInCompanyCode       as _CostElementCoCode on  _CoE.CostElement    = _CostElementCoCode.GLAccount
                                                                      and _CoCode.CompanyCode = _CostElementCoCode.CompanyCode

  association [0..*] to I_CostElementText as _Text on  _CoE.ChartOfAccounts = _Text.ChartOfAccounts
                                                   and _CoE.CostElement     = _Text.CostElement
{      
      //@UI.hidden: true

  @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
  key cast( _CoE.CostElement as fco_alloc_cost_element ) as CostElement,
  
      //@UI.lineItem: [ {position: 30 } ]

      @UI.hidden: true
  key _CoCode.CompanyCode,
  
      @Semantics.text: true
      @Search: { defaultSearchElement:  true, ranking: #MEDIUM }
      @UI.selectionField: [ {position: 10 } ]
      @UI.lineItem: [ {position: 10 } ]
      cast( _Text[1:Language = $session.system_language].CostElement as fcoua_cost_element_name preserving type ) as CostElementName,
      
      @Search: { defaultSearchElement:  true, ranking: #MEDIUM }
      @UI.selectionField: [ {position: 30 } ]
      @UI.lineItem: [ {position: 20 } ]
      _Text[1:Language = $session.system_language].CostElementDescription

}
where
  _CoE.CostElementCategory = '42'