C_UnivAllocOverheadAccountVH
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)
| Source | Alias | Join Type |
|---|---|---|
| I_ControllingArea | _CoA | inner |
| I_CompanyCode | _CoCode | from |
| I_CostElementOnControllingArea | _CoE | inner |
| I_GLAccountInCompanyCode | _CostElementCoCode | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CostElementText | _Text | _CoE.ChartOfAccounts = _Text.ChartOfAccounts and _CoE.CostElement = _Text.CostElement |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_FCO_MANAGE_ALLOCATION | UI_FCOUA_MANAGE_ALLOCATION | V2 | C1 | NOT_RELEASED |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA