ATOV_CL_ITEM_EXP_CL_MAX

CDS View

Last export of item with max Changelist

ATOV_CL_ITEM_EXP_CL_MAX is a CDS View in S/4HANA. Last export of item with max Changelist. It contains 3 fields. 6 CDS views read from this table.

CDS Views using this table (6)

ViewTypeJoinVDMDescription
ATOV_CART_COUNT_CHANGED view inner Count changed items in Hotfix
ATOV_CART_COUNT_NEW view left_outer Count new items in Hotfix
ATOV_CART_COUNT_UNCHANGED view inner Count unchanged items in Hotfix
ATOV_CL_ITEM_EXP_LATEST view inner Latest Exported Item Changelist Data
ATOV_COL_EXP_NUM_UNCHNGED_ITMS view inner Count of unchanged items in collection ver
Atov_Latest_Cl_Items view from Latest Changelist Items

Fields (3)

KeyField CDS FieldsUsed in Views
KEY item_id item_id 1
KEY item_type item_type 1
last_exported_changelist_id last_exported_changelist_id 1
@AbapCatalog.sqlViewName: 'ATO_V_CL_IECM'
@ClientHandling:{ type: #INHERITED, algorithm: #SESSION_VARIABLE }
@EndUserText.label: 'Last export of item with max Changelist'
define view ATOV_CL_ITEM_EXP_CL_MAX as 

  select from ATOV_CL_ITEM_EXP as ITEM
  {
    ITEM.item_type, 
    ITEM.item_id, 

    max( ITEM.changelist_id ) as last_exported_changelist_id 
  } 
  group by
    ITEM.item_type, 
    ITEM.item_id    
  
  
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"ATOV_CL_ITEM_EXP"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/