atov_ppl_merge_changes
ATO - PLL Merge Changes
atov_ppl_merge_changes is a CDS View that provides data about "ATO - PLL Merge Changes" in SAP S/4HANA. It reads from 3 data sources (ato_cols, atov_ppl_merge_changes_base, ato_ppl_staging) and exposes 12 fields with key fields ItemType, ItemId. It has 4 associations to related views. Part of development package S_ATO_PARALLEL_PROJECT_LINE.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| ato_cols | Collection | left_outer |
| atov_ppl_merge_changes_base | Item | from |
| ato_ppl_staging | StagedItem | left_outer |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | ATOV_TEXT_ADAPTATION_TYPE | Adaptation_Type_Texts | Adaptation_Type_Texts.code = Item.ItemType and Adaptation_Type_Texts.language = $session.system_language |
| [1] | ATOV_TEXT_COL_ITEM_STATUS | Col_Item_Status_Texts | Col_Item_Status_Texts.code = Item.Status and Col_Item_Status_Texts.language = $session.system_language |
| [1] | ATOV_USER | Changed_By_Description | Changed_By_Description.name = Item.LastNotificationBy |
| [1] | ATOV_ADAPTATION_TYPE | Adaptation_Type | Adaptation_Type.code = Item.ItemType |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| EndUserText.label | ATO - PLL Merge Changes | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ItemType | atov_ppl_merge_changes_base | ItemType | |
| KEY | ItemId | atov_ppl_merge_changes_base | ItemId | |
| ItemDescription | atov_ppl_merge_changes_base | ItemDescription | ||
| ChangedAt | atov_ppl_merge_changes_base | LastNotificationAt | ||
| ChangedBy | atov_ppl_merge_changes_base | LastNotificationBy | ||
| DifferenceToMainline | atov_ppl_merge_changes_base | Status | ||
| CollectionId | ato_cols | collection_id | ||
| CollectionDescription | ato_cols | description_text | ||
| Adaptation_Type_Texts | Adaptation_Type_Texts | |||
| Adaptation_Type | Adaptation_Type | |||
| Col_Item_Status_Texts | Col_Item_Status_Texts | |||
| Changed_By_Description | Changed_By_Description |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_ALLOWED
@EndUserText.label: 'ATO - PLL Merge Changes'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
define view entity atov_ppl_merge_changes
as select from atov_ppl_merge_changes_base as Item
left outer join ato_ppl_staging as StagedItem on Item.ItemType = StagedItem.item_type
and Item.ItemId = StagedItem.item_id
and StagedItem.action = 'M' // include only items for merge
left outer join ato_cols as Collection on Collection.category = 'M'
and Collection.status = '' // and item is changeable
association [0..1] to ATOV_TEXT_ADAPTATION_TYPE as Adaptation_Type_Texts on Adaptation_Type_Texts.code = Item.ItemType
and Adaptation_Type_Texts.language = $session.system_language
association [1] to ATOV_TEXT_COL_ITEM_STATUS as Col_Item_Status_Texts on Col_Item_Status_Texts.code = Item.Status
and Col_Item_Status_Texts.language = $session.system_language
association [1] to ATOV_USER as Changed_By_Description on Changed_By_Description.name = Item.LastNotificationBy
association [1] to ATOV_ADAPTATION_TYPE as Adaptation_Type on Adaptation_Type.code = Item.ItemType
{
key Item.ItemType as ItemType,
key Item.ItemId as ItemId,
Item.ItemDescription as ItemDescription,
Item.LastNotificationAt as ChangedAt,
Item.LastNotificationBy as ChangedBy,
Item.Status as DifferenceToMainline,
case
when StagedItem.item_id is null
then cast('' as abap_boolean preserving type )
else cast('X' as abap_boolean preserving type )
end as IncludedInStaging,
Collection.collection_id as CollectionId,
Collection.description_text as CollectionDescription,
/* Associations */
Adaptation_Type_Texts,
Adaptation_Type,
Col_Item_Status_Texts,
Changed_By_Description
}
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