UPGMODUPD 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 UPGMODUPD 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.
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.
TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING wi_trkorr = request-trkorr wi_dialog = '' wi_sel_e071 = 'X' TABLES wt_e071 = request_objects EXCEPTIONS OTHERS = 0.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = funcname IMPORTING str_area = group_wo_ns group = group EXCEPTIONS function_not_exist = 1 OTHERS = 2.
SUBST_SET_COMMANDFILE_NAME call function 'SUBST_SET_COMMANDFILE_NAME' exporting iv_sapvers = gv_target_rel iv_nr = sy-index importing ev_custa = request-trkorr .
AFTER_IMP_CMOD CALL FUNCTION 'AFTER_IMP_CMOD' TABLES tt_e071 = i_e071.
SXE_EXTENSION_REGENERATE_CUA CALL FUNCTION 'SXE_EXTENSION_REGENERATE_CUA'.
UPG_GET_UPGRADE_INFO CALL FUNCTION 'UPG_GET_UPGRADE_INFO' EXPORTING iv_component = 'SAP_BASIS' "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.
UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'EHP_INSTALLER' IMPORTING ev_value = lv_ehpinstaller EXCEPTIONS OTHERS = 3.
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.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = 'P' filename = 'MEMSAPup.dat'
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
UPGMODUPD - documentation and ABAP source code UPGMODUPD - documentation and ABAP source code UPGMODEXT - documentation and ABAP source code UPGMODEXT - documentation and ABAP source code UPGDELPROG - Delete Program UPGADDUSR at Customer Site when Upgrade is Finished UPGDELPROG - Delete Program UPGADDUSR at Customer Site when Upgrade is Finished