SAP Reports / Programs | Basis Components | Upgrade - General(BC-UPG) SAP BC

RSUPGRIN SAP ABAP INCLUDE - documentation and ABAP source code







RSUPGRIN is a standard ABAP INCLUDE 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 RSUPGRIN 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 RSUPGRIN. "Basic submit
SUBMIT RSUPGRIN AND RETURN. "Return to original report after report execution complete
SUBMIT RSUPGRIN 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 RSUPGRIN

No INCLUDES are used within this REPORT code!


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:

UPG_GET_ACTIVE_COMP_UPGRADE CALL FUNCTION 'UPG_GET_ACTIVE_COMP_UPGRADE' EXPORTING iv_component = 'SAP_BASIS' iv_upgtype = '*' iv_buffered = ' ' IMPORTING ev_upginfo = gv_upginfo EXCEPTIONS no_upgrade_active = 1 ambigious_entries = 2 invalid_component_name = 3 OTHERS = 4.

UPG_IS_SHADOW_SYSTEM CALL FUNCTION 'UPG_IS_SHADOW_SYSTEM' EXPORTING iv_r3up = 'X' IMPORTING ev_shadow = lv_shadow.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = gc_upgp_reset_pos IMPORTING upgparam_wa = param_wa EXCEPTIONS no_release_found = 1 parameter_not_found = 2 OTHERS = 3.

DROP_UPG_TRIGGER CALL FUNCTION 'DROP_UPG_TRIGGER' IMPORTING et_dropped_triggers = pt_dropped_trigger EXCEPTIONS implemention_missing = 1 OTHERS = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

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

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

SUBST_CREATE_SUBST_NAME CALL FUNCTION 'SUBST_CREATE_SUBST_NAME' EXPORTING iv_oname = ls_puttb_shd-tabname iv_destrel = ld_destrel iv_tabex = gv_extension2 iv_buildconv = ls_puttb_shd-buildconv iv_startrel = ld_startrel IMPORTING ev_nname = ls_puttb_shd-shdname.

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

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

STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = gc_acttype filename = gc_ntmaster subdir = gc_subdir_ntabsql IMPORTING file = lv_trfile EXCEPTIONS wrong_call = 1 OTHERS = 2.

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



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