P_DistinctAllocPostingType
P_DistinctAllocPostingType is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (C_AllocationContextVH) and exposes 2 fields with key field AllocationPostingType. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| C_AllocationContextVH | _AllocContext | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_AllocationPostingType | _AllocPostingType | _AllocPostingType.AllocationPostingType = _DistinctValues.AllocationPostingType |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ALOPOSTYPDIST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationPostingType | _AllocPostingType | AllocationPostingType | |
| AllocationPostingTypeText |
@AbapCatalog.sqlViewName: 'ALOPOSTYPDIST'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
//@EndUserText.label: 'Distinct Allocation Posting Type'
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_DistinctAllocPostingType as
select distinct from P_AllocationFieldGroupDistc as _DistinctValues
inner join C_AllocationContextVH as _AllocContext on _DistinctValues.AllocationType = _AllocContext.AllocationType
association [1..1] to I_AllocationPostingType as _AllocPostingType on _AllocPostingType.AllocationPostingType = _DistinctValues.AllocationPostingType
{
@ObjectModel.text.element: ['AllocationPostingTypeText']
key _AllocPostingType.AllocationPostingType as AllocationPostingType,
_AllocPostingType._Text[1:Language = $session.system_language].AllocationPostingTypeText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"C_ALLOCATIONCONTEXTVH",
"I_ALLOCATIONPOSTINGTYPE",
"I_ALLOCATIONPOSTINGTYPETEXT",
"P_ALLOCATIONFIELDGROUPDISTC"
],
"ASSOCIATED":
[
"I_ALLOCATIONPOSTINGTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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