C_OverheadAllocationAccountVH

DDL: C_OVERHEADALLOCATIONACCOUNTVH SQL: CALOVRHACCVH Type: view CONSUMPTION

Overhead Allocation Account Value Help

C_OverheadAllocationAccountVH is a Consumption CDS View that provides data about "Overhead Allocation Account Value Help" 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.

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 (13)

NameValueLevelField
AbapCatalog.sqlViewName CALOVRHACCVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Overhead Allocation Account Value Help view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #VALUE_HELP view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CostElement
KEY CompanyCode I_CompanyCode CompanyCode
CostElementName
CostElementDescription
@AbapCatalog.sqlViewName: 'CALOVRHACCVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Overhead Allocation Account Value Help'
@VDM.viewType: #CONSUMPTION
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #ORGANIZATIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.dataCategory: #VALUE_HELP
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
define view C_OverheadAllocationAccountVH
  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.selectionField: [ {position: 20 } ]
  key _CoCode.CompanyCode,
  
      @Semantics.text: true
      @Search: { defaultSearchElement:  true, ranking: #HIGH }
      @UI.selectionField: [ {position: 10 } ]
      @UI.lineItem: [ {position: 10 } ]
      cast(_Text[1:Language = $session.system_language].CostElement as fco_alloc_name) as CostElementName,
      
      @Search: { defaultSearchElement:  true, ranking: #HIGH }
      @UI.selectionField: [ {position: 30 } ]
      @UI.lineItem: [ {position: 30 } ]
      _Text[1:Language = $session.system_language].CostElementDescription
      
//      @Search: { defaultSearchElement:  true, ranking: #HIGH }

//      @UI.selectionField: [ {position: 40 } ]

//      @UI.lineItem: [ {position: 40 } ]

//      _Text[1:Language = $session.system_language].CostElementName 


}
where
  _CoE.CostElementCategory = '42'