SAP RS_FUNCTION_ACTIVATE Function Module for









RS_FUNCTION_ACTIVATE is a standard rs function 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 function activate FM, simply by entering the name RS_FUNCTION_ACTIVATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: SEUF
Program Name: SAPLSEUF
Main Program: SAPLSEUF
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RS_FUNCTION_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_FUNCTION_ACTIVATE'"
EXPORTING
* ACTION = ' ' "
* CORR_INSERT = ' ' "For value ' ', entry is made in the correction system
FUNCNAME = "Name of the function module
* WITH_POPUP = ' ' "Query whether activated. Space = without popup.
* SUPPRESS_WORKING_AREA = ' ' "
* OBJECT_SAVED = "

EXCEPTIONS
CANCELLED = 1 CANCELED_IN_CORR = 2 EDITOR_NAVIGATION_FLAG = 3 MESSAGE_SEND = 4 NOT_FOUND = 5 NO_ACTION = 6 PERMISSION_FAILURE = 7
.



IMPORTING Parameters details for RS_FUNCTION_ACTIVATE

ACTION -

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

CORR_INSERT - For value SPACE, entry is made in the correction system

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

FUNCNAME - Name of the function module

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

WITH_POPUP - Query whether activated. Space = without popup.

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

SUPPRESS_WORKING_AREA -

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

OBJECT_SAVED -

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

EXCEPTIONS details

CANCELLED - Canceled

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

CANCELED_IN_CORR - Action not carried out

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

EDITOR_NAVIGATION_FLAG -

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

MESSAGE_SEND -

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

NOT_FOUND - Function module not found

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

NO_ACTION - Action not carried out

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

PERMISSION_FAILURE - Query whether activated. Space = without popup.

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

Copy and paste ABAP code example for RS_FUNCTION_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_action  TYPE RS38L-GLOBAL, "   SPACE
lv_cancelled  TYPE RS38L, "   
lv_corr_insert  TYPE RS38L-EXTERN, "   SPACE
lv_canceled_in_corr  TYPE RS38L, "   
lv_funcname  TYPE RS38L-NAME, "   
lv_editor_navigation_flag  TYPE RS38L, "   
lv_with_popup  TYPE RS38L-GLOBAL, "   SPACE
lv_message_send  TYPE RS38L, "   
lv_not_found  TYPE RS38L, "   
lv_suppress_working_area  TYPE RS38L, "   SPACE
lv_no_action  TYPE RS38L, "   
lv_object_saved  TYPE RS38L, "   
lv_permission_failure  TYPE RS38L. "   

  CALL FUNCTION 'RS_FUNCTION_ACTIVATE'  "
    EXPORTING
         ACTION = lv_action
         CORR_INSERT = lv_corr_insert
         FUNCNAME = lv_funcname
         WITH_POPUP = lv_with_popup
         SUPPRESS_WORKING_AREA = lv_suppress_working_area
         OBJECT_SAVED = lv_object_saved
    EXCEPTIONS
        CANCELLED = 1
        CANCELED_IN_CORR = 2
        EDITOR_NAVIGATION_FLAG = 3
        MESSAGE_SEND = 4
        NOT_FOUND = 5
        NO_ACTION = 6
        PERMISSION_FAILURE = 7
. " RS_FUNCTION_ACTIVATE




ABAP code using 7.40 inline data declarations to call FM RS_FUNCTION_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 GLOBAL FROM RS38L INTO @DATA(ld_action).
DATA(ld_action) = ' '.
 
 
"SELECT single EXTERN FROM RS38L INTO @DATA(ld_corr_insert).
DATA(ld_corr_insert) = ' '.
 
 
"SELECT single NAME FROM RS38L INTO @DATA(ld_funcname).
 
 
"SELECT single GLOBAL FROM RS38L INTO @DATA(ld_with_popup).
DATA(ld_with_popup) = ' '.
 
 
 
DATA(ld_suppress_working_area) = ' '.
 
 
 
 


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!