C_AllocationGLAccPrimSecdryVH
Allocation Account
C_AllocationGLAccPrimSecdryVH is a Consumption CDS View that provides data about "Allocation Account" in SAP S/4HANA. It reads from 1 data source (P_GLAccountTypeVH) and exposes 9 fields with key fields CompanyCode, GLAccount, GLAccountExternal, ChartOfAccounts. 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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_GLAccountTypeVH | P_GLAccountTypeVH | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UnivAllocGLAccountTypeText | _GLAccountTypeText | $projection.GLAccountType = _GLAccountTypeText.GLAccountType and _GLAccountTypeText.Language = $session.system_language |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CGLACCPSVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| EndUserText.label | Allocation Account | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_FCO_MANAGE_ALLOCATION | UI_FCOUA_MANAGE_ALLOCATION | V2 | C1 | NOT_RELEASED |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | GLAccount | GLAccount | ||
| KEY | GLAccountExternal | |||
| KEY | ChartOfAccounts | ChartOfAccounts | ||
| AlternativeGLAccount | AlternativeGLAccount | |||
| GLAccountType | GLAccountType | |||
| GLAccountTypeText | _GLAccountTypeText | GLAccountTypeText | ||
| GLAccountName | GLAccountName | |||
| GLAccountLongName | GLAccountLongName |
@AbapCatalog.sqlViewName: 'CGLACCPSVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking:#NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.dataCategory: #VALUE_HELP
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@EndUserText.label: 'Allocation Account'
define view C_AllocationGLAccPrimSecdryVH as
select from P_GLAccountTypeVH
association [0..1] to I_UnivAllocGLAccountTypeText as _GLAccountTypeText on $projection.GLAccountType = _GLAccountTypeText.GLAccountType
and _GLAccountTypeText.Language = $session.system_language
{
@UI.lineItem.position: 40
@Search.defaultSearchElement: true
@UI.selectionField.position: 40
key CompanyCode,
@UI.lineItem.position: 10
@Search.defaultSearchElement: true
@UI.selectionField.position: 10
key GLAccount,
@UI.lineItem.position: 80
@Search.defaultSearchElement: true
@UI.selectionField.position: 80
key cast (P_GLAccountTypeVH.GLAccountExternal as fco_alloc_glaccount_external preserving type) as GLAccountExternal,
@UI.lineItem.position: 50
@Search.defaultSearchElement: true
@UI.selectionField.position: 50
key ChartOfAccounts,
@UI.lineItem.position: 60
@Search.defaultSearchElement: true
@UI.selectionField.position: 60
AlternativeGLAccount,
@UI.lineItem.position: 70
@Search.defaultSearchElement: true
@UI.selectionField.position: 70
@Consumption.valueHelpDefinition: [ { entity: { name: 'C_UnivAllocGLAccountTypeVH', element: 'GLAccountType' } } ]
GLAccountType,
@UI.lineItem.position: 75
@Search.defaultSearchElement: true
@UI.selectionField.position: 75
_GLAccountTypeText.GLAccountTypeText,
@UI.lineItem.position: 20
@Search.defaultSearchElement: true
@UI.selectionField.position: 20
GLAccountName,
@UI.lineItem.position: 30
@Search.defaultSearchElement: true
@UI.selectionField.position: 30
GLAccountLongName
}
where GLAccountType = 'P' or GLAccountType = 'S'
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