SAP RS_WORKING_OBJECT_ACTIVATE Function Module for









RS_WORKING_OBJECT_ACTIVATE is a standard rs working object 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 object activate FM, simply by entering the name RS_WORKING_OBJECT_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_OBJECT_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_OBJECT_ACTIVATE'"
EXPORTING
* OBJECT = "
* DISPLAY_SYSID = ' ' "
* CWB_REMOVAL = ' ' "
* SUPPRESS_CORR_INSERT = ' ' "
* MESSAGE_CONTAINER = "
* UI_DECOUPLED = "
* PHASED_ACTIVATION = "
* OBJ_NAME = "
* FORCE_ACTIVATION = ' ' "
* ACTIVATE_ONLY_THIS_OBJECT = "
* OBJECT_SAVED = "
* DICTIONARY_ONLY = ' ' "
* P_WB_MANAGER = "
* P_CALLER_PROGRAM = "
* CWB_MODE = "

IMPORTING
BIND_ERROR_WINDOW = "
P_NO_FORCE_ACTIVATION = "
P_CHECKLIST = "

TABLES
* OBJECTS = "Inactive Objects

EXCEPTIONS
OBJECT_NOT_IN_WORKING_AREA = 1 EXECUTION_ERROR = 2 CANCELLED = 3 INSERT_INTO_CORR_ERROR = 4
.



IMPORTING Parameters details for RS_WORKING_OBJECT_ACTIVATE

OBJECT -

Data type: E071-OBJECT
Optional: Yes
Call by Reference: No ( called with pass by value option)

DISPLAY_SYSID -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: Yes

CWB_REMOVAL -

Data type: ABAP_BOOL
Default: SPACE
Optional: Yes
Call by Reference: Yes

SUPPRESS_CORR_INSERT -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: Yes

MESSAGE_CONTAINER -

Data type: CL_WB_MESSAGE_CONTAINER
Optional: Yes
Call by Reference: Yes

UI_DECOUPLED -

Data type: BOOLE_D
Optional: Yes
Call by Reference: No ( called with pass by value option)

PHASED_ACTIVATION -

Data type: BOOLE_D
Optional: Yes
Call by Reference: Yes

OBJ_NAME -

Data type: E071-OBJ_NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

FORCE_ACTIVATION -

Data type: ANY
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

ACTIVATE_ONLY_THIS_OBJECT -

Data type: ANY
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECT_SAVED -

Data type: ANY
Optional: Yes
Call by Reference: No ( called with pass by value option)

DICTIONARY_ONLY -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

P_WB_MANAGER -

Data type: IF_WB_MANAGER
Optional: Yes
Call by Reference: No ( called with pass by value option)

P_CALLER_PROGRAM -

Data type: SY-REPID
Optional: Yes
Call by Reference: Yes

CWB_MODE -

Data type: C
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RS_WORKING_OBJECT_ACTIVATE

BIND_ERROR_WINDOW -

Data type: CHAR1
Optional: No
Call by Reference: Yes

P_NO_FORCE_ACTIVATION -

Data type: BOOLE_D
Optional: No
Call by Reference: Yes

P_CHECKLIST -

Data type: CL_WB_CHECKLIST
Optional: No
Call by Reference: Yes

TABLES Parameters details for RS_WORKING_OBJECT_ACTIVATE

OBJECTS - Inactive Objects

Data type: DWINACTIV
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

OBJECT_NOT_IN_WORKING_AREA -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

EXECUTION_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_OBJECT_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:
lv_object  TYPE E071-OBJECT, "   
lt_objects  TYPE STANDARD TABLE OF DWINACTIV, "   
lv_bind_error_window  TYPE CHAR1, "   
lv_object_not_in_working_area  TYPE CHAR1, "   
lv_display_sysid  TYPE C, "   SPACE
lv_cwb_removal  TYPE ABAP_BOOL, "   SPACE
lv_suppress_corr_insert  TYPE C, "   SPACE
lv_message_container  TYPE CL_WB_MESSAGE_CONTAINER, "   
lv_ui_decoupled  TYPE BOOLE_D, "   
lv_phased_activation  TYPE BOOLE_D, "   
lv_obj_name  TYPE E071-OBJ_NAME, "   
lv_execution_error  TYPE E071, "   
lv_p_no_force_activation  TYPE BOOLE_D, "   
lv_cancelled  TYPE BOOLE_D, "   
lv_p_checklist  TYPE CL_WB_CHECKLIST, "   
lv_force_activation  TYPE ANY, "   SPACE
lv_insert_into_corr_error  TYPE ANY, "   
lv_activate_only_this_object  TYPE ANY, "   
lv_object_saved  TYPE ANY, "   
lv_dictionary_only  TYPE CHAR1, "   SPACE
lv_p_wb_manager  TYPE IF_WB_MANAGER, "   
lv_p_caller_program  TYPE SY-REPID, "   
lv_cwb_mode  TYPE C. "   

  CALL FUNCTION 'RS_WORKING_OBJECT_ACTIVATE'  "
    EXPORTING
         OBJECT = lv_object
         DISPLAY_SYSID = lv_display_sysid
         CWB_REMOVAL = lv_cwb_removal
         SUPPRESS_CORR_INSERT = lv_suppress_corr_insert
         MESSAGE_CONTAINER = lv_message_container
         UI_DECOUPLED = lv_ui_decoupled
         PHASED_ACTIVATION = lv_phased_activation
         OBJ_NAME = lv_obj_name
         FORCE_ACTIVATION = lv_force_activation
         ACTIVATE_ONLY_THIS_OBJECT = lv_activate_only_this_object
         OBJECT_SAVED = lv_object_saved
         DICTIONARY_ONLY = lv_dictionary_only
         P_WB_MANAGER = lv_p_wb_manager
         P_CALLER_PROGRAM = lv_p_caller_program
         CWB_MODE = lv_cwb_mode
    IMPORTING
         BIND_ERROR_WINDOW = lv_bind_error_window
         P_NO_FORCE_ACTIVATION = lv_p_no_force_activation
         P_CHECKLIST = lv_p_checklist
    TABLES
         OBJECTS = lt_objects
    EXCEPTIONS
        OBJECT_NOT_IN_WORKING_AREA = 1
        EXECUTION_ERROR = 2
        CANCELLED = 3
        INSERT_INTO_CORR_ERROR = 4
. " RS_WORKING_OBJECT_ACTIVATE




ABAP code using 7.40 inline data declarations to call FM RS_WORKING_OBJECT_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.

"SELECT single OBJECT FROM E071 INTO @DATA(ld_object).
 
 
 
 
DATA(ld_display_sysid) = ' '.
 
DATA(ld_cwb_removal) = ' '.
 
DATA(ld_suppress_corr_insert) = ' '.
 
 
 
 
"SELECT single OBJ_NAME FROM E071 INTO @DATA(ld_obj_name).
 
 
 
 
 
DATA(ld_force_activation) = ' '.
 
 
 
 
DATA(ld_dictionary_only) = ' '.
 
 
"SELECT single REPID FROM SY INTO @DATA(ld_p_caller_program).
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!