C_UniversalAllocationTypeVH
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)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationContextType | I_AllocationContextType | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
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