Atov_Item_Map
mapping for items
Atov_Item_Map is a CDS View that provides data about "mapping for items" in SAP S/4HANA. It reads from 1 data source (ato_pk_items) and exposes 4 fields with key fields item_type, item_id. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ato_pk_items | items | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | ato_tadir_map | tadir_map | items.item_type = tadir_map.item_type and tadir_map.fixed_rule = 'X' |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATO_V_ITEM_MAP | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | mapping for items | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | item_type | ato_pk_items | item_type | |
| KEY | item_id | ato_pk_items | item_id | |
| pgmid | tadir_map | pgmid | ||
| object | tadir_map | object |
@AbapCatalog.sqlViewName: 'ATO_V_ITEM_MAP'
@ClientHandling:{ type: #INHERITED, algorithm: #SESSION_VARIABLE }
@EndUserText.label: 'mapping for items'
define view Atov_Item_Map as
//select from ato_tadir_map as tadir_map
//
// association [0..*] to ato_items as items
// on items.item_type = tadir_map.item_type and
// tadir_map.fixed_rule = 'X' and
// items.timestamp = 0
select from ato_pk_items as items
association [0..1] to ato_tadir_map as tadir_map
on items.item_type = tadir_map.item_type and
tadir_map.fixed_rule = 'X'
{
key items.item_type,
key items.item_id,
tadir_map.pgmid,
tadir_map.object
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ATO_PK_ITEMS",
"ATO_TADIR_MAP"
],
"ASSOCIATED":
[
"ATO_TADIR_MAP"
],
"BASE":
[],
"ANNO_REF":
[],
"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