RSUPGDEC 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 RSUPGDEC 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: Upgrade: Check DDIC Extension Category
INCLUDE RSUGSINC.
No SAP DATABASE tables are accessed within this REPORT code!
SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING l_level = l_level l_severity = severity l_msag = ag l_msgnr = msgnr l_v1 = l_var1 l_v2 = l_var2 l_v3 = l_var3 l_v4 = l_var4 TABLES p_tab = gt_protocol.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = lc_acttype filename = gv_logfile subdir = gc_subprot IMPORTING file = gv_protfile EXCEPTIONS wrong_call = 1 OTHERS = 2.
SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING acttype = gc_acttype ifname = gv_protfile IMPORTING efname = gv_protfile TABLES p_tab = gt_protocol EXCEPTIONS write_failed = 01 OTHERS = 02.
UPG_GET_UPGRADE_INFO CALL FUNCTION 'UPG_GET_UPGRADE_INFO' EXPORTING iv_component = '*' "lv_component iv_newrelease = ' ' iv_upgtype = '*' iv_readmode = gc_readmode_last * iv_comp_select = 'A' iv_buffered = ' ' IMPORTING ev_upgcnt = lv_nactup TABLES tt_upginfo = lt_uvers EXCEPTIONS readmode_unknown = 1 component_not_active = 2 ambigious_entries = 3 no_upgrade_active = 4 OTHERS = 5.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = lc_acttype "putdir filename = lv_filename "RSUPGDEC.000
DD_DEPENDENT_NUM_CIAP_GET_EW * call function 'DD_DEPENDENT_NUM_CIAP_GET_EW' * TABLES * DDINFO = ddinfo.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.