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

Function FUNCTION_CREATE_REMOTE 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 'FUNCTION_CREATE_REMOTE'".
EXPORTING
* CORRNUM = ' ' "Correction number
* REMOTE_BASXML_SUPPORTED = ' ' "
FUNCNAME = "Name of the function module
FUNCTION_POOL = "Respective function group
* INTERFACE_GLOBAL = ' ' "Indicator for global interface
* REMOTE_CALL = ' ' "Can be used for remote function call
SHORT_TEXT = "Short description of the function module
* SUPPRESS_CORR_CHECK = 'X' "Suppression of the correction system (= default)
* UPDATE_TASK = ' ' "Update category
* NAME' ' = ' ' "Namespace
IMPORTING
FUNCTION_INCLUDE = "Name of the respective INCLUDE file
TABLES
EXCEPTION_LIST = "List of exceptions
EXPORT_PARAMETER = "Export parameters
IMPORT_PARAMETER = "Import parameters
PARAMETER_DOCU = "Short description of parameters
TABLES_PARAMETER = "Table parameters
* CHANGING_PARAMETER = "
EXCEPTIONS
DOUBLE_TASK = 1 ERROR_MESSAGE = 2 FUNCTION_ALREADY_EXISTS = 3 INVALID_FUNCTION_POOL = 4 INVALID_NAME = 5 TOO_MANY_FUNCTIONS = 6
IMPORTING Parameters details for FUNCTION_CREATE_REMOTE
CORRNUM - Correction number
Data type: E071-TRKORRDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
REMOTE_BASXML_SUPPORTED -
Data type: RS38L-BASXML_ENABLEDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
FUNCNAME - Name of the function module
Data type: RS38L-NAMEOptional: No
Call by Reference: No ( called with pass by value option)
FUNCTION_POOL - Respective function group
Data type: RS38L-AREAOptional: No
Call by Reference: No ( called with pass by value option)
INTERFACE_GLOBAL - Indicator for global interface
Data type: RS38L-GLOBALDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
REMOTE_CALL - Can be used for remote function call
Data type: RS38L-REMOTEDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
SHORT_TEXT - Short description of the function module
Data type: TFTIT-STEXTOptional: No
Call by Reference: No ( called with pass by value option)
SUPPRESS_CORR_CHECK - Suppression of the correction system (= default)
Data type: RS38L-EXTERNDefault: 'X'
Optional: No
Call by Reference: No ( called with pass by value option)
UPDATE_TASK - Update category
Data type: RS38L-UKIND1Default: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
NAMESPACE - Namespace
Data type: RS38L-NAMESPACEDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FUNCTION_CREATE_REMOTE
FUNCTION_INCLUDE - Name of the respective INCLUDE file
Data type: RS38L-INCLUDEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FUNCTION_CREATE_REMOTE
EXCEPTION_LIST - List of exceptions
Data type: RSEXCOptional: No
Call by Reference: Yes
EXPORT_PARAMETER - Export parameters
Data type: RSEXPOptional: No
Call by Reference: Yes
IMPORT_PARAMETER - Import parameters
Data type: RSIMPOptional: No
Call by Reference: Yes
PARAMETER_DOCU - Short description of parameters
Data type: RSFDOOptional: No
Call by Reference: Yes
TABLES_PARAMETER - Table parameters
Data type: RSTBLOptional: No
Call by Reference: Yes
CHANGING_PARAMETER -
Data type: RSCHAOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
DOUBLE_TASK - RFC updates were marked
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_MESSAGE - The issue of messages is suppressed
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FUNCTION_ALREADY_EXISTS - Function already exists
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_FUNCTION_POOL - Function group not yet created
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_NAME - X
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TOO_MANY_FUNCTIONS - More than 99 functions in the function group
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FUNCTION_CREATE_REMOTE 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, " SPACE | |||
| lv_double_task | TYPE E071, " | |||
| lt_exception_list | TYPE STANDARD TABLE OF RSEXC, " | |||
| lv_function_include | TYPE RS38L-INCLUDE, " | |||
| lv_remote_basxml_supported | TYPE RS38L-BASXML_ENABLED, " SPACE | |||
| lv_funcname | TYPE RS38L-NAME, " | |||
| lv_error_message | TYPE RS38L, " | |||
| lt_export_parameter | TYPE STANDARD TABLE OF RSEXP, " | |||
| lv_function_pool | TYPE RS38L-AREA, " | |||
| lt_import_parameter | TYPE STANDARD TABLE OF RSIMP, " | |||
| lv_function_already_exists | TYPE RSIMP, " | |||
| lt_parameter_docu | TYPE STANDARD TABLE OF RSFDO, " | |||
| lv_interface_global | TYPE RS38L-GLOBAL, " SPACE | |||
| lv_invalid_function_pool | TYPE RS38L, " | |||
| lv_remote_call | TYPE RS38L-REMOTE, " SPACE | |||
| lv_invalid_name | TYPE RS38L, " | |||
| lt_tables_parameter | TYPE STANDARD TABLE OF RSTBL, " | |||
| lv_short_text | TYPE TFTIT-STEXT, " | |||
| lt_changing_parameter | TYPE STANDARD TABLE OF RSCHA, " | |||
| lv_too_many_functions | TYPE RSCHA, " | |||
| lv_suppress_corr_check | TYPE RS38L-EXTERN, " 'X' | |||
| lv_update_task | TYPE RS38L-UKIND1, " SPACE | |||
| lv_namespace | TYPE RS38L-NAMESPACE. " SPACE |
|   CALL FUNCTION 'FUNCTION_CREATE_REMOTE' " |
| EXPORTING | ||
| CORRNUM | = lv_corrnum | |
| REMOTE_BASXML_SUPPORTED | = lv_remote_basxml_supported | |
| FUNCNAME | = lv_funcname | |
| FUNCTION_POOL | = lv_function_pool | |
| INTERFACE_GLOBAL | = lv_interface_global | |
| REMOTE_CALL | = lv_remote_call | |
| SHORT_TEXT | = lv_short_text | |
| SUPPRESS_CORR_CHECK | = lv_suppress_corr_check | |
| UPDATE_TASK | = lv_update_task | |
| NAMESPACE | = lv_namespace | |
| IMPORTING | ||
| FUNCTION_INCLUDE | = lv_function_include | |
| TABLES | ||
| EXCEPTION_LIST | = lt_exception_list | |
| EXPORT_PARAMETER | = lt_export_parameter | |
| IMPORT_PARAMETER | = lt_import_parameter | |
| PARAMETER_DOCU | = lt_parameter_docu | |
| TABLES_PARAMETER | = lt_tables_parameter | |
| CHANGING_PARAMETER | = lt_changing_parameter | |
| EXCEPTIONS | ||
| DOUBLE_TASK = 1 | ||
| ERROR_MESSAGE = 2 | ||
| FUNCTION_ALREADY_EXISTS = 3 | ||
| INVALID_FUNCTION_POOL = 4 | ||
| INVALID_NAME = 5 | ||
| TOO_MANY_FUNCTIONS = 6 | ||
| . " FUNCTION_CREATE_REMOTE | ||
ABAP code using 7.40 inline data declarations to call FM FUNCTION_CREATE_REMOTE
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). | ||||
| DATA(ld_corrnum) | = ' '. | |||
| "SELECT single INCLUDE FROM RS38L INTO @DATA(ld_function_include). | ||||
| "SELECT single BASXML_ENABLED FROM RS38L INTO @DATA(ld_remote_basxml_supported). | ||||
| DATA(ld_remote_basxml_supported) | = ' '. | |||
| "SELECT single NAME FROM RS38L INTO @DATA(ld_funcname). | ||||
| "SELECT single AREA FROM RS38L INTO @DATA(ld_function_pool). | ||||
| "SELECT single GLOBAL FROM RS38L INTO @DATA(ld_interface_global). | ||||
| DATA(ld_interface_global) | = ' '. | |||
| "SELECT single REMOTE FROM RS38L INTO @DATA(ld_remote_call). | ||||
| DATA(ld_remote_call) | = ' '. | |||
| "SELECT single STEXT FROM TFTIT INTO @DATA(ld_short_text). | ||||
| "SELECT single EXTERN FROM RS38L INTO @DATA(ld_suppress_corr_check). | ||||
| DATA(ld_suppress_corr_check) | = 'X'. | |||
| "SELECT single UKIND1 FROM RS38L INTO @DATA(ld_update_task). | ||||
| DATA(ld_update_task) | = ' '. | |||
| "SELECT single NAME' ' FROM RS38L INTO @DATA(ld_namespace). | ||||
| DATA(ld_namespace) | = ' '. | |||
Search for further information about these or an SAP related objects