P_AllocationKeyFields
P_AllocationKeyFields is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (I_AllocationContextType, I_AllocationContextType) and exposes 4 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationContextType | C | inner |
| I_AllocationContextType | C | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PT881IVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| Search.searchable | false | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| field | field | |||
| tab | tab | |||
| tab | tab | |||
| alart |
@AbapCatalog.sqlViewName: 'PT881IVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
//@EndUserText.label: 'Allocation key fields for VH'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@VDM.viewType: #BASIC
@VDM.private: true
@Search.searchable: false
define view P_AllocationKeyFields
as select distinct from t811i as I
inner join I_AllocationContextType as C on C.AllocationType = I.tab
{
field,
tab,
alart
}
union select distinct from fins_alloc_tmpli as I
inner join I_AllocationContextType as C on C.AllocationType = I.tab
{
cast(fieldname as fdnam) as field,
tab,
'K' as alart
}
//where ract = 'X' or ract = '+' or sact = 'X' or sact = '+'
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