SAP RS_FUNCTION_POOL_RENAME Function Module for Rename Function Groups









RS_FUNCTION_POOL_RENAME is a standard rs function pool rename SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Rename Function Groups processing and below is the pattern details for this FM, 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 pool rename FM, simply by entering the name RS_FUNCTION_POOL_RENAME 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_POOL_RENAME 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_POOL_RENAME'"Rename Function Groups
EXPORTING
* CORRNUM = ' ' "
FUNCTION_POOL = "Name of function group
* WITH_KORR = 'X' "
* NEW_FUNCTION_POOL = "

EXCEPTIONS
CANCELED_IN_CORR = 1 ENQUEUE_SYSTEM_FAILURE = 2 NOT_EXECUTED = 3 NO_MODIFY_PERMISSION = 4 NO_SHOW_PERMISSION = 5 PERMISSION_FAILURE = 6 POOL_NOT_EXISTS = 7
.



IMPORTING Parameters details for RS_FUNCTION_POOL_RENAME

CORRNUM -

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

FUNCTION_POOL - Name of function group

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

WITH_KORR -

Data type: RS38L-FREE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

NEW_FUNCTION_POOL -

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

EXCEPTIONS details

CANCELED_IN_CORR - Termination in correction system

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

ENQUEUE_SYSTEM_FAILURE - System Lock Error

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

NOT_EXECUTED - Function was not executed

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

NO_MODIFY_PERMISSION -

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

NO_SHOW_PERMISSION -

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

PERMISSION_FAILURE -

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

POOL_NOT_EXISTS -

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

Copy and paste ABAP code example for RS_FUNCTION_POOL_RENAME 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_corrnum  TYPE E070-TRKORR, "   SPACE
lv_canceled_in_corr  TYPE E070, "   
lv_function_pool  TYPE RS38L-AREA, "   
lv_enqueue_system_failure  TYPE RS38L, "   
lv_with_korr  TYPE RS38L-FREE, "   'X'
lv_not_executed  TYPE RS38L, "   
lv_new_function_pool  TYPE RS38L-AREA, "   
lv_no_modify_permission  TYPE RS38L, "   
lv_no_show_permission  TYPE RS38L, "   
lv_permission_failure  TYPE RS38L, "   
lv_pool_not_exists  TYPE RS38L. "   

  CALL FUNCTION 'RS_FUNCTION_POOL_RENAME'  "Rename Function Groups
    EXPORTING
         CORRNUM = lv_corrnum
         FUNCTION_POOL = lv_function_pool
         WITH_KORR = lv_with_korr
         NEW_FUNCTION_POOL = lv_new_function_pool
    EXCEPTIONS
        CANCELED_IN_CORR = 1
        ENQUEUE_SYSTEM_FAILURE = 2
        NOT_EXECUTED = 3
        NO_MODIFY_PERMISSION = 4
        NO_SHOW_PERMISSION = 5
        PERMISSION_FAILURE = 6
        POOL_NOT_EXISTS = 7
. " RS_FUNCTION_POOL_RENAME




ABAP code using 7.40 inline data declarations to call FM RS_FUNCTION_POOL_RENAME

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 TRKORR FROM E070 INTO @DATA(ld_corrnum).
DATA(ld_corrnum) = ' '.
 
 
"SELECT single AREA FROM RS38L INTO @DATA(ld_function_pool).
 
 
"SELECT single FREE FROM RS38L INTO @DATA(ld_with_korr).
DATA(ld_with_korr) = 'X'.
 
 
"SELECT single AREA FROM RS38L INTO @DATA(ld_new_function_pool).
 
 
 
 
 


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!