UPGMODEXT 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 UPGMODEXT 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.
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.
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
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 UPGACTKORR - Activate Request in Shadow System UPGACTKORR - Activate Request in Shadow System