SAP RS_WORKING_OBJECTS_ACTIVATE Function Module for
RS_WORKING_OBJECTS_ACTIVATE is a standard rs working objects activate 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 working objects activate FM, simply by entering the name RS_WORKING_OBJECTS_ACTIVATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SEWORKINGAREA
Program Name: SAPLSEWORKINGAREA
Main Program: SAPLSEWORKINGAREA
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RS_WORKING_OBJECTS_ACTIVATE 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_WORKING_OBJECTS_ACTIVATE'".
EXPORTING
* SUPPRESS_SYNTAX_CHECK = "
* SUPPRESS_ENQUEUE = 'X' "
* UI_DECOUPLED = "
* MESSAGE_CONTAINER = "
* PHASED_ACTIVATION = "
* SUPPRESS_GENERATION = "
* P_WB_MANAGER = "
* SUPPRESS_INSERT = "
* ACTIVATE_DDIC_OBJECTS = ' ' "
* WITH_POPUP = ' ' "
* CWB_MODE = "
* DISPLAY_SYSID = ' ' "
* SUPPRESS_CORR_INSERT = ' ' "
IMPORTING
P_NO_FORCE_ACTIVATION = "
P_CHECKLIST = "
TABLES
OBJECTS = "
EXCEPTIONS
EXCECUTION_ERROR = 1 CANCELLED = 2 INSERT_INTO_CORR_ERROR = 3
IMPORTING Parameters details for RS_WORKING_OBJECTS_ACTIVATE
SUPPRESS_SYNTAX_CHECK -
Data type: ANYOptional: Yes
Call by Reference: No ( called with pass by value option)
SUPPRESS_ENQUEUE -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: Yes
UI_DECOUPLED -
Data type: BOOLE_DOptional: Yes
Call by Reference: No ( called with pass by value option)
MESSAGE_CONTAINER -
Data type: CL_WB_MESSAGE_CONTAINEROptional: Yes
Call by Reference: Yes
PHASED_ACTIVATION -
Data type: BOOLE_DOptional: Yes
Call by Reference: Yes
SUPPRESS_GENERATION -
Data type: ANYOptional: Yes
Call by Reference: No ( called with pass by value option)
P_WB_MANAGER -
Data type: IF_WB_MANAGEROptional: Yes
Call by Reference: Yes
SUPPRESS_INSERT -
Data type: ANYOptional: Yes
Call by Reference: Yes
ACTIVATE_DDIC_OBJECTS -
Data type: ANYDefault: SPACE
Optional: Yes
Call by Reference: Yes
WITH_POPUP -
Data type: ANYDefault: SPACE
Optional: Yes
Call by Reference: Yes
CWB_MODE -
Data type: COptional: Yes
Call by Reference: Yes
DISPLAY_SYSID -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: Yes
SUPPRESS_CORR_INSERT -
Data type: ANYDefault: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RS_WORKING_OBJECTS_ACTIVATE
P_NO_FORCE_ACTIVATION -
Data type: BOOLE_DOptional: No
Call by Reference: Yes
P_CHECKLIST -
Data type: CL_WB_CHECKLISTOptional: No
Call by Reference: Yes
TABLES Parameters details for RS_WORKING_OBJECTS_ACTIVATE
OBJECTS -
Data type: DWINACTIVOptional: No
Call by Reference: Yes
EXCEPTIONS details
EXCECUTION_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CANCELLED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INSERT_INTO_CORR_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RS_WORKING_OBJECTS_ACTIVATE 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_objects | TYPE STANDARD TABLE OF DWINACTIV, " | |||
| lv_excecution_error | TYPE DWINACTIV, " | |||
| lv_p_no_force_activation | TYPE BOOLE_D, " | |||
| lv_suppress_syntax_check | TYPE ANY, " | |||
| lv_suppress_enqueue | TYPE FLAG, " 'X' | |||
| lv_ui_decoupled | TYPE BOOLE_D, " | |||
| lv_message_container | TYPE CL_WB_MESSAGE_CONTAINER, " | |||
| lv_phased_activation | TYPE BOOLE_D, " | |||
| lv_cancelled | TYPE BOOLE_D, " | |||
| lv_p_checklist | TYPE CL_WB_CHECKLIST, " | |||
| lv_suppress_generation | TYPE ANY, " | |||
| lv_p_wb_manager | TYPE IF_WB_MANAGER, " | |||
| lv_insert_into_corr_error | TYPE IF_WB_MANAGER, " | |||
| lv_suppress_insert | TYPE ANY, " | |||
| lv_activate_ddic_objects | TYPE ANY, " SPACE | |||
| lv_with_popup | TYPE ANY, " SPACE | |||
| lv_cwb_mode | TYPE C, " | |||
| lv_display_sysid | TYPE C, " SPACE | |||
| lv_suppress_corr_insert | TYPE ANY. " SPACE |
|   CALL FUNCTION 'RS_WORKING_OBJECTS_ACTIVATE' " |
| EXPORTING | ||
| SUPPRESS_SYNTAX_CHECK | = lv_suppress_syntax_check | |
| SUPPRESS_ENQUEUE | = lv_suppress_enqueue | |
| UI_DECOUPLED | = lv_ui_decoupled | |
| MESSAGE_CONTAINER | = lv_message_container | |
| PHASED_ACTIVATION | = lv_phased_activation | |
| SUPPRESS_GENERATION | = lv_suppress_generation | |
| P_WB_MANAGER | = lv_p_wb_manager | |
| SUPPRESS_INSERT | = lv_suppress_insert | |
| ACTIVATE_DDIC_OBJECTS | = lv_activate_ddic_objects | |
| WITH_POPUP | = lv_with_popup | |
| CWB_MODE | = lv_cwb_mode | |
| DISPLAY_SYSID | = lv_display_sysid | |
| SUPPRESS_CORR_INSERT | = lv_suppress_corr_insert | |
| IMPORTING | ||
| P_NO_FORCE_ACTIVATION | = lv_p_no_force_activation | |
| P_CHECKLIST | = lv_p_checklist | |
| TABLES | ||
| OBJECTS | = lt_objects | |
| EXCEPTIONS | ||
| EXCECUTION_ERROR = 1 | ||
| CANCELLED = 2 | ||
| INSERT_INTO_CORR_ERROR = 3 | ||
| . " RS_WORKING_OBJECTS_ACTIVATE | ||
ABAP code using 7.40 inline data declarations to call FM RS_WORKING_OBJECTS_ACTIVATE
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_suppress_enqueue) | = 'X'. | |||
| DATA(ld_activate_ddic_objects) | = ' '. | |||
| DATA(ld_with_popup) | = ' '. | |||
| DATA(ld_display_sysid) | = ' '. | |||
| DATA(ld_suppress_corr_insert) | = ' '. | |||
Search for further information about these or an SAP related objects