SAP RS_FUNCTION_POOL_INSERT_AIE Function Module for
RS_FUNCTION_POOL_INSERT_AIE is a standard rs function pool insert aie 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 pool insert aie FM, simply by entering the name RS_FUNCTION_POOL_INSERT_AIE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SUNI
Program Name: SAPLSUNI
Main Program: SAPLSEUF
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RS_FUNCTION_POOL_INSERT_AIE 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_INSERT_AIE'".
EXPORTING
FUNCTION_POOL = "
* LIFECYCLE_MANAGER = "
SHORT_TEXT = "
* RESPONSIBLE = SY-UNAME "
* NAME' ' = ' ' "
* DEVCLASS = "
* CORRNUM = "
* SUPPRESS_LANGUAGE_CHECK = 'X' "
* SUPPRESS_CORR_CHECK = 'X' "
* UNICODE_CHECKS = 'X' "
IMPORTING
CORRNUM = "
EXCEPTIONS
NAME_ALREADY_EXISTS = 1 CANCELED_IN_CORR = 10 UNDEFINED_ERROR = 11 NAME_NOT_CORRECT = 2 FUNCTION_ALREADY_EXISTS = 3 INVALID_FUNCTION_POOL = 4 INVALID_NAME = 5 TOO_MANY_FUNCTIONS = 6 NO_MODIFY_PERMISSION = 7 NO_SHOW_PERMISSION = 8 ENQUEUE_SYSTEM_FAILURE = 9
IMPORTING Parameters details for RS_FUNCTION_POOL_INSERT_AIE
FUNCTION_POOL -
Data type: RSNEWLENG-AREAOptional: No
Call by Reference: No ( called with pass by value option)
LIFECYCLE_MANAGER -
Data type: IF_ADT_LIFECYCLE_MANAGEROptional: Yes
Call by Reference: Yes
SHORT_TEXT -
Data type: TFTIT-STEXTOptional: No
Call by Reference: No ( called with pass by value option)
RESPONSIBLE -
Data type: SY-UNAMEDefault: SY-UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)
NAMESPACE -
Data type: RS38L-NAMESPACEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DEVCLASS -
Data type: RS38L-DEVCLASSOptional: Yes
Call by Reference: No ( called with pass by value option)
CORRNUM -
Data type: E071-TRKORROptional: Yes
Call by Reference: No ( called with pass by value option)
SUPPRESS_LANGUAGE_CHECK -
Data type: RS38L-HEADDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SUPPRESS_CORR_CHECK -
Data type: RS38L-EXTERNDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
UNICODE_CHECKS -
Data type: TRDIR-UCCHECKDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RS_FUNCTION_POOL_INSERT_AIE
CORRNUM -
Data type: E071-TRKORROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NAME_ALREADY_EXISTS -
Data type:Optional: No
Call by Reference: Yes
CANCELED_IN_CORR -
Data type:Optional: No
Call by Reference: Yes
UNDEFINED_ERROR -
Data type:Optional: No
Call by Reference: Yes
NAME_NOT_CORRECT -
Data type:Optional: No
Call by Reference: Yes
FUNCTION_ALREADY_EXISTS -
Data type:Optional: No
Call by Reference: Yes
INVALID_FUNCTION_POOL -
Data type:Optional: No
Call by Reference: Yes
INVALID_NAME -
Data type:Optional: No
Call by Reference: Yes
TOO_MANY_FUNCTIONS -
Data type:Optional: No
Call by Reference: Yes
NO_MODIFY_PERMISSION -
Data type:Optional: No
Call by Reference: Yes
NO_SHOW_PERMISSION -
Data type:Optional: No
Call by Reference: Yes
ENQUEUE_SYSTEM_FAILURE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RS_FUNCTION_POOL_INSERT_AIE 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 E071-TRKORR, " | |||
| lv_function_pool | TYPE RSNEWLENG-AREA, " | |||
| lv_name_already_exists | TYPE RSNEWLENG, " | |||
| lv_canceled_in_corr | TYPE RSNEWLENG, " | |||
| lv_lifecycle_manager | TYPE IF_ADT_LIFECYCLE_MANAGER, " | |||
| lv_undefined_error | TYPE IF_ADT_LIFECYCLE_MANAGER, " | |||
| lv_short_text | TYPE TFTIT-STEXT, " | |||
| lv_name_not_correct | TYPE TFTIT, " | |||
| lv_responsible | TYPE SY-UNAME, " SY-UNAME | |||
| lv_function_already_exists | TYPE SY, " | |||
| lv_namespace | TYPE RS38L-NAMESPACE, " SPACE | |||
| lv_invalid_function_pool | TYPE RS38L, " | |||
| lv_devclass | TYPE RS38L-DEVCLASS, " | |||
| lv_invalid_name | TYPE RS38L, " | |||
| lv_corrnum | TYPE E071-TRKORR, " | |||
| lv_too_many_functions | TYPE E071, " | |||
| lv_no_modify_permission | TYPE E071, " | |||
| lv_suppress_language_check | TYPE RS38L-HEAD, " 'X' | |||
| lv_no_show_permission | TYPE RS38L, " | |||
| lv_suppress_corr_check | TYPE RS38L-EXTERN, " 'X' | |||
| lv_unicode_checks | TYPE TRDIR-UCCHECK, " 'X' | |||
| lv_enqueue_system_failure | TYPE TRDIR. " |
|   CALL FUNCTION 'RS_FUNCTION_POOL_INSERT_AIE' " |
| EXPORTING | ||
| FUNCTION_POOL | = lv_function_pool | |
| LIFECYCLE_MANAGER | = lv_lifecycle_manager | |
| SHORT_TEXT | = lv_short_text | |
| RESPONSIBLE | = lv_responsible | |
| NAMESPACE | = lv_namespace | |
| DEVCLASS | = lv_devclass | |
| CORRNUM | = lv_corrnum | |
| SUPPRESS_LANGUAGE_CHECK | = lv_suppress_language_check | |
| SUPPRESS_CORR_CHECK | = lv_suppress_corr_check | |
| UNICODE_CHECKS | = lv_unicode_checks | |
| IMPORTING | ||
| CORRNUM | = lv_corrnum | |
| EXCEPTIONS | ||
| NAME_ALREADY_EXISTS = 1 | ||
| CANCELED_IN_CORR = 10 | ||
| UNDEFINED_ERROR = 11 | ||
| NAME_NOT_CORRECT = 2 | ||
| FUNCTION_ALREADY_EXISTS = 3 | ||
| INVALID_FUNCTION_POOL = 4 | ||
| INVALID_NAME = 5 | ||
| TOO_MANY_FUNCTIONS = 6 | ||
| NO_MODIFY_PERMISSION = 7 | ||
| NO_SHOW_PERMISSION = 8 | ||
| ENQUEUE_SYSTEM_FAILURE = 9 | ||
| . " RS_FUNCTION_POOL_INSERT_AIE | ||
ABAP code using 7.40 inline data declarations to call FM RS_FUNCTION_POOL_INSERT_AIE
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 E071 INTO @DATA(ld_corrnum). | ||||
| "SELECT single AREA FROM RSNEWLENG INTO @DATA(ld_function_pool). | ||||
| "SELECT single STEXT FROM TFTIT INTO @DATA(ld_short_text). | ||||
| "SELECT single UNAME FROM SY INTO @DATA(ld_responsible). | ||||
| DATA(ld_responsible) | = SY-UNAME. | |||
| "SELECT single NAME' ' FROM RS38L INTO @DATA(ld_namespace). | ||||
| DATA(ld_namespace) | = ' '. | |||
| "SELECT single DEVCLASS FROM RS38L INTO @DATA(ld_devclass). | ||||
| "SELECT single TRKORR FROM E071 INTO @DATA(ld_corrnum). | ||||
| "SELECT single HEAD FROM RS38L INTO @DATA(ld_suppress_language_check). | ||||
| DATA(ld_suppress_language_check) | = 'X'. | |||
| "SELECT single EXTERN FROM RS38L INTO @DATA(ld_suppress_corr_check). | ||||
| DATA(ld_suppress_corr_check) | = 'X'. | |||
| "SELECT single UCCHECK FROM TRDIR INTO @DATA(ld_unicode_checks). | ||||
| DATA(ld_unicode_checks) | = 'X'. | |||
Search for further information about these or an SAP related objects