RSUPGRCHECK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RSUPGRCHECK 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.
Selection Text: P_CUBE = InfoCubes
Selection Text: P_IOBJ = InfoObjects
Selection Text: P_LOG = ....Display Log
Selection Text: P_TRFR = Transfer Rules
Text Symbol: 001 = InfoObject &1 is not consistent - activate it
Text Symbol: 002 = InfoObjects Check
Text Symbol: 003 = InfoCubes Check
Text Symbol: 004 = End of Checks for InfoObjects
Text Symbol: 005 = End of Checks for InfoCubes
Text Symbol: 006 = Transfer Rules Check
Text Symbol: 007 = End of Checks for Transfer Rules
Text Symbol: DCH = Checking the DDIC Consistency
Text Symbol: ICA = Reactivate Aggregate &1 for InfoCube &2
Text Symbol: ICC = InfoCube &1 is not consistent - > Reactivate it
Text Symbol: LOG = Log Output
Text Symbol: TCA = Activate Communication Structure for InfoSource &1
Text Symbol: TIT = Check for DDic Consistency of BW Objects
Text Symbol: TNA = Structure/Table &1 is not active
Text Symbol: TRA = Activate Transfer Rules for InfoSource &1 Source System &2
Text Symbol: WST = Structure &1 is not active (can be ignored for upgrade)
INCLUDE MRSDG_MACRO.
No SAP DATABASE tables are accessed within this REPORT code!
RS_MANDT_AFTER_IMPORT_FL_SET CALL FUNCTION 'RS_MANDT_AFTER_IMPORT_FL_SET'.
RSD_IOBJ_MULTI_GET CALL FUNCTION 'RSD_IOBJ_MULTI_GET' EXPORTING i_read_all = rs_c_true i_objvers = rs_c_objvers-active IMPORTING e_t_viobj = l_t_viobj e_t_atr = l_t_atr EXCEPTIONS illegal_input = 1.
RS_EXCEPTION_TO_MESSAGE CALL FUNCTION 'RS_EXCEPTION_TO_MESSAGE' EXPORTING i_r_exception = l_r_ex_vers_not_found CHANGING c_t_msg = l_t_msg.
RSDG_ACT_DEL_DDIC_OBJECTS CALL FUNCTION 'RSDG_ACT_DEL_DDIC_OBJECTS' EXPORTING i_mode = 'A' i_protnm = rsdg_c_masg_iobj_act i_t_mage = l_t_mage_txtsid i_progress = rs_c_true CHANGING c_t_msg = l_t_msg.
RSDG_IOBJ_CHECK_DDIC * CALL FUNCTION 'RSDG_IOBJ_CHECK_DDIC' * EXPORTING * i_ddstate = rsd_c_ddsta-active * i_s_viobj = l_s_viobj * i_t_atr = l_t_atr * i_detlevel = '4' * IMPORTING * e_subrc = l_subrc_iobj * e_t_msg = l_t_msg_tmp.
RSDG_IOBJ_CHECK_DDIC CALL FUNCTION 'RSDG_IOBJ_CHECK_DDIC' EXPORTING i_ddstate = rsd_c_ddsta-active i_s_viobj = l_s_viobj i_detlevel = '4' i_ignore_optionals = rs_c_true IMPORTING e_subrc = l_subrc_iobj e_t_msg = l_t_msg_tmp.
RSDG_TEXT_TO_PROTOCOL CALL FUNCTION 'RSDG_TEXT_TO_PROTOCOL' EXPORTING i_msgty = rs_c_error i_text = l_text_iobj i_detlevel = '3' CHANGING c_t_msg = l_t_msg.
RSDG_INSERT_LOC_OBJ_IN_TADIR CALL FUNCTION 'RSDG_INSERT_LOC_OBJ_IN_TADIR' EXPORTING i_t_mage = l_t_mage_odso i_detlevel = '2' i_test_mode = rs_c_false CHANGING c_t_msg = l_t_msg EXCEPTIONS input_invalid = 0.
RSDG_CUBE_CHECK_DDIC CALL FUNCTION 'RSDG_CUBE_CHECK_DDIC' EXPORTING i_infocube = l_s_rsdcube-infocube * I_GET_ONLY = RS_C_FALSE * I_READ_CUBE = RS_C_TRUE IMPORTING e_t_mage = l_t_mage * E_T_MSG = * E_S_DB_PAR = e_subrc = l_subrc EXCEPTIONS infocube_not_found = 1 OTHERS = 2.
RSD_OBJECT_IS_GENERATED CALL FUNCTION 'RSD_OBJECT_IS_GENERATED' EXPORTING i_objnm = l_s_mage-objname i_tlogo = l_s_mage-objtyp IMPORTING e_identifier = l_identifier EXCEPTIONS nspacegen_invalid = 1 OTHERS = 2.
DDIF_STATE_GET CALL FUNCTION 'DDIF_STATE_GET' EXPORTING type = l_s_mage-objtyp name = l_s_mage-objname state = rsd_c_ddsta-modified IMPORTING gotstate = l_gotstate EXCEPTIONS illegal_input = 1.
RSDG_TEXT_TO_PROTOCOL CALL FUNCTION 'RSDG_TEXT_TO_PROTOCOL' EXPORTING i_msgty = rs_c_error i_text = l_text i_detlevel = '3' CHANGING c_t_msg = l_t_msg.
RSDG_TEXT_TO_PROTOCOL CALL FUNCTION 'RSDG_TEXT_TO_PROTOCOL' EXPORTING i_msgty = rs_c_warning i_text = l_text i_detlevel = '3' CHANGING c_t_msg = l_t_msg.
DDIF_STATE_GET CALL FUNCTION 'DDIF_STATE_GET' EXPORTING type = 'TABL' name = l_tabname IMPORTING gotstate = l_gotstate EXCEPTIONS illegal_input = 1 OTHERS = 2.
RSDG_TEXT_TO_PROTOCOL CALL FUNCTION 'RSDG_TEXT_TO_PROTOCOL' EXPORTING i_msgty = rs_c_error i_text = l_text i_detlevel = '3' CHANGING c_t_msg = l_t_msg.
DDIF_STATE_GET CALL FUNCTION 'DDIF_STATE_GET' EXPORTING type = 'TABL' name = l_tabname IMPORTING gotstate = l_gotstate EXCEPTIONS illegal_input = 1 OTHERS = 2.
RSDG_TEXT_TO_PROTOCOL CALL FUNCTION 'RSDG_TEXT_TO_PROTOCOL' EXPORTING i_msgty = rs_c_error i_text = l_text i_detlevel = '3' CHANGING c_t_msg = l_t_msg.
DDIF_STATE_GET CALL FUNCTION 'DDIF_STATE_GET' EXPORTING type = 'TABL' name = l_tabname IMPORTING gotstate = l_gotstate EXCEPTIONS illegal_input = 1 OTHERS = 2.
CALL FUNCTION 'RSDG_TEXT_TO_PROTOCOL' EXPORTING i_msgty = rs_c_error i_text = l_text i_detlevel = '3' CHANGING c_t_msg = l_t_msg.
DDIF_STATE_GET CALL FUNCTION 'DDIF_STATE_GET' EXPORTING type = 'TABL' name = l_tabname IMPORTING gotstate = l_gotstate EXCEPTIONS illegal_input = 1 OTHERS = 2.
RSDG_TEXT_TO_PROTOCOL CALL FUNCTION 'RSDG_TEXT_TO_PROTOCOL' EXPORTING i_msgty = rs_c_error i_text = l_text i_detlevel = '3' CHANGING c_t_msg = l_t_msg.
DDIF_STATE_GET CALL FUNCTION 'DDIF_STATE_GET' EXPORTING type = 'TABL' name = l_tabname IMPORTING gotstate = l_gotstate EXCEPTIONS illegal_input = 1 OTHERS = 2.
RSDG_TEXT_TO_PROTOCOL CALL FUNCTION 'RSDG_TEXT_TO_PROTOCOL' EXPORTING i_msgty = rs_c_error i_text = l_text i_detlevel = '3' CHANGING c_t_msg = l_t_msg.
RSDG_TEXT_TO_PROTOCOL CALL FUNCTION 'RSDG_TEXT_TO_PROTOCOL' EXPORTING i_msgty = rs_c_error i_text = l_text i_detlevel = '3' CHANGING c_t_msg = l_t_msg.
RSDG_TEXT_TO_PROTOCOL CALL FUNCTION 'RSDG_TEXT_TO_PROTOCOL' EXPORTING i_msgty = rs_c_error i_text = l_text i_detlevel = '3' CHANGING c_t_msg = l_t_msg.
RSDC_SHOW_MESSAGES_POPUP CALL FUNCTION 'RSDC_SHOW_MESSAGES_POPUP' EXPORTING i_t_msg = l_t_msg i_txt = text-log i_with_s_on_empty = rs_c_true i_one_msg_direct = rs_c_false.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = te_acttype filename = te_protlist subdir = te_subprot IMPORTING file = te_protfile.
SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING acttype = te_acttype ifname = te_protfile IMPORTING efname = te_protfile TABLES p_tab = l_t_prot EXCEPTIONS write_failed = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name RSUPGRCHECK or its description.
RSUPGRCHECK - documentation and ABAP source code RSUPGRCHECK - documentation and ABAP source code RSUPGR01 - Create transport request: Store BW metadata for upgrade 3.X - 4.0/4.5 RSUPGR01 - Create transport request: Store BW metadata for upgrade 3.X - 4.0/4.5 RSUPGINIT - Create initial NAVERS for EhPInstaller RSUPGINIT - Create initial NAVERS for EhPInstaller