AGR_XPRA_MENUS_TRANSFER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Conversion of the roles to Release 4...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter AGR_XPRA_MENUS_TRANSFER into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Menu Migration: Including role, save entire tree
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MENU_UPDATE_SSM_LANGU call function 'MENU_UPDATE_SSM_LANGU'.
PRGN_SET_XPRA_FLAG call function 'PRGN_SET_XPRA_FLAG' exporting activity_group = l_agr_line-agr_name input_client = l_t000-mandt.
DB_COMMIT call function 'DB_COMMIT'.
TR_FLUSH_LOG call function 'TR_FLUSH_LOG' exceptions others = 1.
TR_SYS_PARAMS call function 'TR_SYS_PARAMS' importing systemedit = l_sysedit systemname = l_sysname systemtype = p_systype system_client_edit = l_client_edit sys_cliinddep_edit = l_client_indepedit system_client_role = l_client_role exceptions no_systemname = 1 no_systemtype = 2 others = 3.
SUBST_GET_SOURCERELEASE call function 'SUBST_GET_SOURCERELEASE' importing ev_sourcerelease = p_source_release exceptions no_entry_found = 1 others = 2.
TR_FLUSH_LOG call function 'TR_FLUSH_LOG'.
TR_APPEND_LOG call function 'TR_APPEND_LOG' tables xmsg = p_msg exceptions file_not_found = 1 wrong_call = 2 others = 3.
PRGN_GET_XPRA_FLAG call function 'PRGN_GET_XPRA_FLAG' exporting activity_group = local_def-agr_name input_client = p_mandt exceptions xpra_flag_is_active = 1 others = 2.
MENU_AGR_TREE_SPLIT_NODES call function 'MENU_AGR_TREE_SPLIT_NODES' exporting performance_save = false tables i_agr_tcodes = p_agr_tcodes i_agr_select = p_agr_select directly_added_nodes = q_add_nodes excluded_nodes = q_excl_nodes marked_nodes = q_mark_nodes.
MENU_AGR_TREE_ADD_XPRA call function 'MENU_AGR_TREE_ADD_XPRA' exporting not_to_be_assigned_on_level_1 = not_to_be_assigned_on_level_1 directly_added_on_level_1 = directly_added_on_level_1 tables directly_added_nodes = p_dum_tcodes marked_nodes = p_dum_select input_tree = p_smenaktnew output_tree = p_output_tree.
MENU_AGR_MENU_OLD_2_NEW call function 'MENU_AGR_MENU_OLD_2_NEW' exporting iv_agr_name = p_agr_name iv_input_tree = p_output_tree[] iv_insert_tables = true iv_source_release = p_source_release iv_systype = p_systype iv_client = p_mandt use_join_to_select_data = use_join_to_select_data add_texts_for_tcodes = add_texts_for_tcodes insert_in_portions = insert_in_portions importing ev_agr_hier = q_agr_hier ev_agr_hiert = q_agr_hiert.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
AGR_XPRA_MENUS_TRANSFER - Menu Migration: Including role, save entire tree AGR_XPRA_MENUS_TRANSFER - Menu Migration: Including role, save entire tree AGR_XPRA_MENUS_REPAIR - Repair roles after migration AGR_XPRA_MENUS_REPAIR - Repair roles after migration AGR_XPRA_ALL_CLIENTS - Conversion of old roles to the new maintenance transaction AGR_XPRA_ALL_CLIENTS - Conversion of old roles to the new maintenance transaction