SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | ABAP Editor(BC-DWB-TOO-ABA) SAP BC

RSVRSTBA SAP ABAP Report - Display Versions of ABAP Text Elements with Recover Version







RSVRSTBA 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 RSVRSTBA 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 RSVRSTBA. "Basic submit
SUBMIT RSVRSTBA AND RETURN. "Return to original report after report execution complete
SUBMIT RSVRSTBA VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: OBJNAME = Program name
Selection Text: OBJTYPE = Version type (REPS/REPT)
Selection Text: VERSNO = Retrieval version no.
Title: Display Versions of ABAP Text Elements with Recover Version


INCLUDES used within this REPORT RSVRSTBA

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:

RS_WORKING_AREA_ACTIVE_CHECK CALL FUNCTION 'RS_WORKING_AREA_ACTIVE_CHECK' "Aktive/Inaktive Sourcen EXCEPTIONS NOK = 1 OTHERS = 2.

RS_WORKING_AREA_INIT CALL FUNCTION 'RS_WORKING_AREA_INIT' EXCEPTIONS OTHERS = 0.

RS_OBJECT_IN_WORKING_AREA CALL FUNCTION 'RS_OBJECT_IN_WORKING_AREA' EXPORTING OBJECT = 'REPT' OBJ_NAME = TROBJ_NAME MODE = AK_INAK_MODE IMPORTING OBJECT_IS_WORK_ITEM = OBJECT_IS_WORK_ITEM EXCEPTIONS OTHERS = 1.

RS_ACCESS_PERMISSION CALL FUNCTION 'RS_ACCESS_PERMISSION' EXPORTING AUTHORITY_CHECK = 'X' MODE = 'MODIFY' OBJECT = OBJNAME OBJECT_CLASS = 'TEXT' SUPPRESS_LANGUAGE_CHECK = 'X' SUPPRESS_EXTEND_DIALOG = SPACE IMPORTING TRANSPORT_KEY = TRANS EXTEND = CUSTOMER EXCEPTIONS CANCELED_IN_CORR = 01 ENQUEUED_BY_USER = 02 ENQUEUE_SYSTEM_FAILURE = 03 ILLEGAL_PARAMETER_VALUES = 04 LOCKED_BY_AUTHOR = 05 NO_MODIFY_PERMISSION = 06 NO_SHOW_PERMISSION = 07 PERMISSION_FAILURE = 08.

RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' EXPORTING MODE = 'MODIFY' OBJECT = OBJNAME OBJECT_CLASS = 'TEXT' IMPORTING TRANSPORT_KEY = TRANS KORRNUM = SMODI_TRKORR EXCEPTIONS OTHERS = 4.

RS_INSERT_INTO_WORKING_AREA CALL FUNCTION 'RS_INSERT_INTO_WORKING_AREA' EXPORTING OBJECT = 'REPT' OBJ_NAME = E071OBJECTNAME EXCEPTIONS OTHERS = 0.

RS_VERS_LANGUAGE_INFO CALL FUNCTION 'RS_VERS_LANGUAGE_INFO' TABLES LANGUS = LANGUAGE_TAB EXCEPTIONS LANGUAGE_MISSING = 1 OTHERS = 2.

SVRS_GET_VERSION_REPO_40 CALL FUNCTION 'SVRS_GET_VERSION_REPO_40' EXPORTING OBJECT_NAME = OBJNAME VERSNO = VERSNO TABLES TEXTPOOL_TAB = HIRST TRDIR_TAB = VRDIR VSMODISRC = ISMODISRC EXCEPTIONS NO_VERSION = 01.

SVRS_GET_VERSION_REPT_40 CALL FUNCTION 'SVRS_GET_VERSION_REPT_40' EXPORTING OBJECT_NAME = OBJNAME VERSNO = VERSNO TABLES REPOT_TAB = HIRSTT TRDIR_TAB = VRDIR VSMODISRC = ISMODISRC VSMODILOG = ISMODILOG EXCEPTIONS NO_VERSION = 01.

RS_WORKING_AREA_INIT CALL FUNCTION 'RS_WORKING_AREA_INIT' EXCEPTIONS OTHERS = 0.

RS_OBJECT_IN_WORKING_AREA CALL FUNCTION 'RS_OBJECT_IN_WORKING_AREA' EXPORTING GLOBAL_CHECK = 'X' OBJECT = TROBJ_TYPE OBJ_NAME = TROBJ_NAME IMPORTING OBJECT_IS_WORK_ITEM = OBJECT_IS_WORK_ITEM OBJECT_INACTIVE_VERSION = OBJECT_INACTIVE_VERSION EXCEPTIONS OTHERS = 1.

SVRS_AFTER_CHANGED_ONLINE_NEW CALL FUNCTION 'SVRS_AFTER_CHANGED_ONLINE_NEW' EXPORTING E071_ENTRY = STRU STATUS = STATUS_FLAG IMPORTING VERSION_NEW = VERSNUM 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 RSVRSTBA or its description.