SAP RS_TOOL_ACCESS Function Module for
RS_TOOL_ACCESS is a standard rs tool access SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rs tool access FM, simply by entering the name RS_TOOL_ACCESS into the relevant SAP transaction such as SE37 or SE38.
Function Group: SEAP
Program Name: SAPLSEAP
Main Program: SAPLSEAP
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RS_TOOL_ACCESS pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RS_TOOL_ACCESS'".
EXPORTING
OPERATION = "Operation
* WB_MANAGER = "
* IN_NEW_WINDOW = "
* WITH_OBJECTLIST = ' ' "
* WITH_WORKLIST = ' ' "
* OBJECT_NAME = "Object Name
* OBJECT_TYPE = "Object Type
* ENCLOSING_OBJECT = "Program Name
* POSITION = ' ' "
* DEVCLASS = "
* INCLUDE = "
* VERSION = ' ' "'A': Active, 'I': Inactive, ' ': Corresponds to Work List
* MONITOR_ACTIVATION = 'X' "
IMPORTING
NEW_NAME = "New Program Name (After Rename)
WB_TODO_REQUEST = "
CHANGING
* P_REQUEST = ' ' "Request/Task
TABLES
* OBJLIST = "
EXCEPTIONS
NOT_EXECUTED = 1 INVALID_OBJECT_TYPE = 2
IMPORTING Parameters details for RS_TOOL_ACCESS
OPERATION - Operation
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WB_MANAGER -
Data type: IF_WB_MANAGEROptional: Yes
Call by Reference: No ( called with pass by value option)
IN_NEW_WINDOW -
Data type: SEU_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
WITH_OBJECTLIST -
Data type: SEU_BOOLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITH_WORKLIST -
Data type: SEU_BOOLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_NAME - Object Name
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_TYPE - Object Type
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
ENCLOSING_OBJECT - Program Name
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
POSITION -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DEVCLASS -
Data type: TADIR-DEVCLASSOptional: Yes
Call by Reference: No ( called with pass by value option)
INCLUDE -
Data type: TRDIR-NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
VERSION - 'A': Active, 'I': Inactive, SPACE: Corresponds to Work List
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: Yes
MONITOR_ACTIVATION -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RS_TOOL_ACCESS
NEW_NAME - New Program Name (After Rename)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WB_TODO_REQUEST -
Data type: CL_WB_REQUESTOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for RS_TOOL_ACCESS
P_REQUEST - Request/Task
Data type: TRKORRDefault: SPACE
Optional: Yes
Call by Reference: Yes
TABLES Parameters details for RS_TOOL_ACCESS
OBJLIST -
Data type: RSEUAPOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_EXECUTED - Application function was not carried out
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_OBJECT_TYPE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RS_TOOL_ACCESS Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_objlist | TYPE STANDARD TABLE OF RSEUAP, " | |||
| lv_new_name | TYPE RSEUAP, " | |||
| lv_operation | TYPE RSEUAP, " | |||
| lv_p_request | TYPE TRKORR, " SPACE | |||
| lv_not_executed | TYPE TRKORR, " | |||
| lv_wb_manager | TYPE IF_WB_MANAGER, " | |||
| lv_in_new_window | TYPE SEU_BOOL, " | |||
| lv_with_objectlist | TYPE SEU_BOOL, " SPACE | |||
| lv_with_worklist | TYPE SEU_BOOL, " SPACE | |||
| lv_object_name | TYPE SEU_BOOL, " | |||
| lv_wb_todo_request | TYPE CL_WB_REQUEST, " | |||
| lv_invalid_object_type | TYPE CL_WB_REQUEST, " | |||
| lv_object_type | TYPE CL_WB_REQUEST, " | |||
| lv_enclosing_object | TYPE CL_WB_REQUEST, " | |||
| lv_position | TYPE CL_WB_REQUEST, " SPACE | |||
| lv_devclass | TYPE TADIR-DEVCLASS, " | |||
| lv_include | TYPE TRDIR-NAME, " | |||
| lv_version | TYPE CHAR1, " SPACE | |||
| lv_monitor_activation | TYPE CHAR1. " 'X' |
|   CALL FUNCTION 'RS_TOOL_ACCESS' " |
| EXPORTING | ||
| OPERATION | = lv_operation | |
| WB_MANAGER | = lv_wb_manager | |
| IN_NEW_WINDOW | = lv_in_new_window | |
| WITH_OBJECTLIST | = lv_with_objectlist | |
| WITH_WORKLIST | = lv_with_worklist | |
| OBJECT_NAME | = lv_object_name | |
| OBJECT_TYPE | = lv_object_type | |
| ENCLOSING_OBJECT | = lv_enclosing_object | |
| POSITION | = lv_position | |
| DEVCLASS | = lv_devclass | |
| INCLUDE | = lv_include | |
| VERSION | = lv_version | |
| MONITOR_ACTIVATION | = lv_monitor_activation | |
| IMPORTING | ||
| NEW_NAME | = lv_new_name | |
| WB_TODO_REQUEST | = lv_wb_todo_request | |
| CHANGING | ||
| P_REQUEST | = lv_p_request | |
| TABLES | ||
| OBJLIST | = lt_objlist | |
| EXCEPTIONS | ||
| NOT_EXECUTED = 1 | ||
| INVALID_OBJECT_TYPE = 2 | ||
| . " RS_TOOL_ACCESS | ||
ABAP code using 7.40 inline data declarations to call FM RS_TOOL_ACCESS
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_p_request) | = ' '. | |||
| DATA(ld_with_objectlist) | = ' '. | |||
| DATA(ld_with_worklist) | = ' '. | |||
| DATA(ld_position) | = ' '. | |||
| "SELECT single DEVCLASS FROM TADIR INTO @DATA(ld_devclass). | ||||
| "SELECT single NAME FROM TRDIR INTO @DATA(ld_include). | ||||
| DATA(ld_version) | = ' '. | |||
| DATA(ld_monitor_activation) | = 'X'. | |||
Search for further information about these or an SAP related objects