RSUPGBADACT 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 RSUPGBADACT 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: BADIFILE = BAdI File
Title: Deactivating BADIs During the Upgrade
INCLUDE RSUGSINC.
No SAP DATABASE tables are accessed within this REPORT code!
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = gc_acttype filename = gv_protlist subdir = gc_subprot IMPORTING file = gv_protfile.
SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING l_level = l_level l_severity = severity l_msgnr = msgnr l_v1 = l_var1 l_v2 = l_var2 l_v3 = l_var3 l_v4 = l_var4 TABLES p_tab = gt_prot.
SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING acttype = gc_acttype ifname = gv_protfile IMPORTING efname = gv_protfile TABLES p_tab = gt_prot EXCEPTIONS OTHERS = 0.
UPG_GET_SINGLE_PARAMETER call function 'UPG_GET_SINGLE_PARAMETER' exporting name = '2ND_SHADOW' importing ev_value = lv_2nd_shadow exceptions no_release_found = 1 parameter_not_found = 2 others = 3.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = gc_acttype filename = gv_badifile subdir = gc_subbin IMPORTING file = lv_badi_file.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = gc_acttype filename = gc_impqueuefile_name subdir = 'var' IMPORTING file = lv_trimpqueue_file EXCEPTIONS wrong_call = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.