SAP Reports / Programs

RSUPGREV SAP ABAP Report - Automatic Reset of Upgrade







RSUPGREV 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 RSUPGREV into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RSUPGREV. "Basic submit
SUBMIT RSUPGREV AND RETURN. "Return to original report after report execution complete
SUBMIT RSUPGREV VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RSUPGREV

INCLUDE RSUPDINC.
INCLUDE RSUPGRIN.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING * DBSYS = SY-DBSYS * NO_EXEC = ' ' * PRID = 0 * PROGNAME = ' ' tabname = tabname_2l * DB_CHECK_FLAG = ' ' EXCEPTIONS program_not_generated = 1 program_not_written = 2 table_not_dropped = 3 OTHERS = 4.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING tabname = 'UM4BATTAB' IMPORTING subrc = lv_subrc.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'UCMIG_INTEGRATED' IMPORTING upgparam_wa = ld_param EXCEPTIONS OTHERS = 1.

DD_DB_MISSING_OBJECTS CALL FUNCTION 'DD_DB_MISSING_OBJECTS' EXPORTING adtl_db_tabl = 'X' TABLES adtl_tabl = lt_add_tables.

DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING * DBSYS = SY-DBSYS * NO_EXEC = ' ' * PRID = 0 * PROGNAME = ' ' tabname = tabname_2l * DB_CHECK_FLAG = ' ' EXCEPTIONS program_not_generated = 1 program_not_written = 2 table_not_dropped = 3 OTHERS = 4.

DD_DB_MISSING_OBJECTS CALL FUNCTION 'DD_DB_MISSING_OBJECTS' EXPORTING adtl_db_tabl = 'X' TABLES adtl_tabl = lt_add_tables.

SUBST_EXCHANGE_NAMETABS CALL FUNCTION 'SUBST_EXCHANGE_NAMETABS' EXPORTING iv_extension = gv_extension iv_extension_view = gv_extension_view iv_mode = 'D' iv_saprelease = lv_saprelease * IMPORTING * EV_ERRCOUNT = * EV_ERRTAB = .

SAPGUI_PROGRESS_INDICATOR ** CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' ** EXPORTING *** PERCENTAGE = 0 ** text = lv_tabname.

DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING * DBSYS = SY-DBSYS * NO_EXEC = ' ' * PRID = 0 * PROGNAME = ' ' tabname = lv_tabname * DB_CHECK_FLAG = ' ' * IMPORTING * GENPROG = * SUBRC = EXCEPTIONS program_not_generated = 1 program_not_written = 2 table_not_dropped = 3 OTHERS = 4.

DB_TABL_CNV CALL FUNCTION 'DB_TABL_CNV' EXPORTING tabname = lv_tabname_2l * PRID = 0 target = 'RESET' * FCT = * EXECMODE = * MUTUALEX = 'X' * STEPPER = 'X' * DEBUG = ' ' IMPORTING subrc = lv_subrc * CHANGING * TICNV_WA = EXCEPTIONS op_failure = 1 no_of_pools_exceeded = 2 illegal_function = 3 illegal_execmode = 4 conversion_rejected = 5 illegal_transition = 6 OTHERS = 7.

DB_TABL_CNV CALL FUNCTION 'DB_TABL_CNV' EXPORTING tabname = lv_tabname_2l * PRID = 0 target = 'CLEAR' * FCT = * EXECMODE = * MUTUALEX = 'X' * STEPPER = 'X' * DEBUG = ' ' IMPORTING subrc = lv_subrc * CHANGING * TICNV_WA = EXCEPTIONS op_failure = 1 no_of_pools_exceeded = 2 illegal_function = 3 illegal_execmode = 4 conversion_rejected = 5 illegal_transition = 6 OTHERS = 7.

WRITE_AND_CALL_DBPROG CALL FUNCTION 'WRITE_AND_CALL_DBPROG' EXPORTING no_exec = ' ' * PRID = 0 * PROGNAME = ' ' * MAX_SEVERITY = 'E' * ABAP_FLAG = ' ' IMPORTING * GENPROG = rc = ld_rc TABLES statements = lt_statements EXCEPTIONS program_not_written = 1 sql_error_occured = 2 op_failure = 3 OTHERS = 4.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'ISU_STRESSMAKER' IMPORTING upgparam_wa = ld_param EXCEPTIONS OTHERS = 1.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'COPYFROM_UPTIME' IMPORTING ev_value = ld_value EXCEPTIONS OTHERS = 1.

DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING tabname = ld_tabname IMPORTING SUBRC = ld_rc .



Contribute (Add Comments)

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 RSUPGREV or its description.