UPOV_RUNID_DESTINATIONID
Allocation Results - Unique Destination
UPOV_RUNID_DESTINATIONID is a CDS View that provides data about "Allocation Results - Unique Destination" in SAP S/4HANA. It reads from 1 data source (gho_allocres_i) and exposes 2 fields with key fields RunId, DestinationNode.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| gho_allocres_i | item | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | UPOS_RUNID_DEST | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Allocation Results - Unique Destination | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RunId | gho_allocres_i | alloc_run_id | |
| KEY | DestinationNode | gho_allocres_i | dest_node_id |
@AbapCatalog.sqlViewName: 'UPOS_RUNID_DEST'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass:#TRANSACTIONAL
@EndUserText.label: 'Allocation Results - Unique Destination'
define view UPOV_RUNID_DESTINATIONID
as select distinct from gho_allocres_h as header
inner join gho_allocres_i as item on item.alloc_run_id = header.alloc_run_id
and(
item.theo_act_ind = 'A'
or item.theo_act_ind = 'B'
or item.theo_act_ind = 'R'
or item.theo_act_ind = 'S'
or item.theo_act_ind = 'D'
)
{
key item.alloc_run_id as RunId,
key item.dest_node_id as DestinationNode
}
where
header.frequency = 'M'
and(
header.alloc_status = '01'
or header.alloc_status = '04'
)
and header.final_ind = 'X'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"GHO_ALLOCRES_H",
"GHO_ALLOCRES_I"
],
"ASSOCIATED":
[],
"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