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

RS_SCRP_RESTORE_LAST_VERSION SAP ABAP Report - Reset all dynpros of ran order to last version







RS_SCRP_RESTORE_LAST_VERSION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Screens belonging to a request or task are reset to the last version...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RS_SCRP_RESTORE_LAST_VERSION 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 RS_SCRP_RESTORE_LAST_VERSION. "Basic submit
SUBMIT RS_SCRP_RESTORE_LAST_VERSION AND RETURN. "Return to original report after report execution complete
SUBMIT RS_SCRP_RESTORE_LAST_VERSION 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: P_SIMUL = Simulation
Selection Text: P_CORR_O = D .
Selection Text: P_CORR_R = D .
Selection Text: P_DATE = D .
Selection Text: P_TIME = D .
Title: Reset all dynpros of ran order to last version
Text Symbol: 001 = Reset All Screeens in Order
Text Symbol: 003 = Reset Order
Text Symbol: 004 = Only if last change earlier than
Text Symbol: 005 = No screens found for selection
Text Symbol: 006 = After checking generation date, no screen for processing
Text Symbol: 007 = Screen
Text Symbol: 008 = Processed Successfully
Text Symbol: 009 = Simulation : Only check that no dynpros are changed
Text Symbol: 011 = Specify Reset Order


INCLUDES used within this REPORT RS_SCRP_RESTORE_LAST_VERSION

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:

TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'SYST' IMPORTING ev_task = p_corr_r EXCEPTIONS OTHERS = 4.

TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING wi_trkorr = p_corr_o wi_dialog = ' ' wi_langu = sy-langu * wi_sel_e070 = ' ' wi_sel_e071 = 'X' * wi_sel_e071k = ' ' * iv_sel_e071kf = ' ' * wi_sel_e07t = ' ' * wi_sel_e070c = ' ' * iv_sel_e070m = ' ' * iv_sel_e070a = ' ' TABLES wt_e071 = t_objects EXCEPTIONS not_exist_e070 = 1 no_authorization = 2 OTHERS = 3.

RS_SCRP_RESTORE_LAST_VERSION CALL FUNCTION 'RS_SCRP_RESTORE_LAST_VERSION' EXPORTING prog = dynpro_id-prog dnum = dynpro_id-dnum korrnum = p_corr_r "neuer Auftrag * WITH_VERSIONING = ABAP_FALSE EXCEPTIONS permission_failure = 1 not_exists = 2 not_executed = 3 version_not_exists = 4 OTHERS = 5.



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