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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RS_SCRP_RESTORE_LAST_VERSION - Reset all dynpros of ran order to last version RS_SCRP_RESTORE_LAST_VERSION - Reset all dynpros of ran order to last version RS_SCRP_REPAIR_NON_7BIT_ASCII - Report RS_SCRP_REPAIR_NON_7BIT_ASCII RS_SCRP_REPAIR_NON_7BIT_ASCII - Report RS_SCRP_REPAIR_NON_7BIT_ASCII RS_SCRP_IN_BACKGROUND_TOP - RSSCRPINBACKGROUNDTOP RS_SCRP_IN_BACKGROUND - Program RS_SCRP_IN_BACKGROUND