RS_MR_ATTACH_NEW_BSP_ROOT_XPRA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Reattachment of the old BSP namespace folders to the new prefix /SAP/BC/BSP and adaption of the DDIC table SKWF_ROOT...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 RS_MR_ATTACH_NEW_BSP_ROOT_XPRA 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.
INCLUDE RSUGSINC. "#EC *
No SAP DATABASE tables are accessed within this REPORT code!
SUBST_GET_SOURCERELEASE CALL FUNCTION 'SUBST_GET_SOURCERELEASE' IMPORTING ev_sourcerelease = l_source_release EXCEPTIONS no_entry_found = 1 OTHERS = 2.
UPG_GET_UPGRADE_INFO CALL FUNCTION 'UPG_GET_UPGRADE_INFO' EXPORTING iv_component = gc_component_sap_basis iv_readmode = gc_readmode_last iv_comp_select = 'A' iv_buffered = ' ' TABLES tt_upginfo = lt_upginfo EXCEPTIONS readmode_unknown = 1 component_not_active = 2 ambigious_entries = 3 no_upgrade_active = 4 OTHERS = 5.
SKWF_APPL_LOCK CALL FUNCTION 'SKWF_APPL_LOCK' EXPORTING appl = wbmr_c_skwf_appl_name IMPORTING error = g_error.
SKWF_APPL_UNLOCK CALL FUNCTION 'SKWF_APPL_UNLOCK' EXPORTING appl = wbmr_c_skwf_appl_name.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
SKWF_FOLDER_IO_PATH_IOS_GET CALL FUNCTION 'SKWF_FOLDER_IO_PATH_IOS_GET' EXPORTING io = i_new_bsp_folder x_strict = 'X' IMPORTING error = lv_error TABLES folders = lt_ios.
SKWF_IO_PROPERTIES_GET CALL FUNCTION 'SKWF_IO_PROPERTIES_GET' EXPORTING io =
-io IMPORTING error = lv_error TABLES properties_request = lv_froles properties_result = lv_results.
SKWF_FOLDER_IOS_ATTACH CALL FUNCTION 'SKWF_FOLDER_IOS_ATTACH' EXPORTING folder = i_new_bsp_folder * connection_space = wbmr_c_skwf_appl_name -is not necessary IMPORTING error = lv_error TABLES ios = lt_ios bad_ios = lt_bad_ios. "nicht umgehngte IOs
TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' TABLES xmsg = my_prot EXCEPTIONS file_not_found = 1 wrong_call = 2 OTHERS = 3.
TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.