P_WhereUsedAllocationContext
Where Used Cost Centers Allocation Context
P_WhereUsedAllocationContext is a Composite CDS View that provides data about "Where Used Cost Centers Allocation Context" in SAP S/4HANA. It reads from 2 data sources (I_AllocationContextType, I_AllocationInformation). Part of development package ODATA_WHERE_USED_COST_CENTERS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationContextType | I_AllocationContextType | union |
| I_AllocationInformation | I_AllocationInformation | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Consumption.ranked | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Consumption.ranked: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #META
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view entity P_WhereUsedAllocationContext
as select from I_AllocationInformation
{
key cast( AllocationType as fco_wucc_allocation_context preserving type ) as AllocationType
}
where
(
AllocationFieldName = 'KOSTL'
or AllocationFieldName = 'RCNTR'
)
and(
SenderFieldGroup <> ''
or SenderFieldGroup <> ''
)
union select from I_AllocationContextType
{
key cast( AllocationType as fco_wucc_allocation_context preserving type ) as AllocationType
}
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