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

Purpose
Screens belonging to a request or task are reset to the last version.
Only LIMU DYNP entries of the task are edited. There will be no listingof programs (R3TR PROG) or function groups (R3TR FUGR).
Versioning requires a change authorization for screens.

Selection
If an order is specified, this is first split up into its tasks.
The LIMU DYNP entries are extracted from the received taks and thenconverted into a screen list.
If a limitation is specified for the data, these screens are checked forthe date of their last change.

Output
After processing a screen, either a success message or, in the case oftermination, a system message is issued.

Activities
The screens are loaded into the version and reset to the last version.