SAP FUNCTION_INCLUDE_CONCATENATE Function Module for Determine the Name of a Function Group / Main Program by Namespace
FUNCTION_INCLUDE_CONCATENATE is a standard function include concatenate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine the Name of a Function Group / Main Program by Namespace 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 function include concatenate FM, simply by entering the name FUNCTION_INCLUDE_CONCATENATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SUNI
Program Name: SAPLSUNI
Main Program: SAPLSUNI
Appliation area: S
Release date: 26-Mar-1997
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FUNCTION_INCLUDE_CONCATENATE 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_INCLUDE_CONCATENATE'"Determine the Name of a Function Group / Main Program by Namespace.
EXPORTING
* INCLUDE_NUMBER = "Number of the function module include
IMPORTING
TOP = "Name of the TOP include
UXX = "Name of the UXX include
INCLUDE = "Name of a function group include
CHANGING
* PROGRAM = "Name of main program of a function group
* GROUP = "Function group name without namespace
* NAME' ' = "Namespace
* COMPLETE_AREA = "Entire function group name
EXCEPTIONS
NOT_ENOUGH_INPUT = 1 NO_FUNCTION_POOL = 2 DELIMITER_WRONG_POSITION = 3
IMPORTING Parameters details for FUNCTION_INCLUDE_CONCATENATE
INCLUDE_NUMBER - Number of the function module include
Data type: TFDIR-INCLUDEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FUNCTION_INCLUDE_CONCATENATE
TOP - Name of the TOP include
Data type: RS38L-INCLUDEOptional: No
Call by Reference: No ( called with pass by value option)
UXX - Name of the UXX include
Data type: RS38L-INCLUDEOptional: No
Call by Reference: No ( called with pass by value option)
INCLUDE - Name of a function group include
Data type: RS38L-INCLUDEOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for FUNCTION_INCLUDE_CONCATENATE
PROGRAM - Name of main program of a function group
Data type: RS38L-INCLUDEOptional: Yes
Call by Reference: No ( called with pass by value option)
GROUP - Function group name without namespace
Data type: RS38L-AREAOptional: Yes
Call by Reference: No ( called with pass by value option)
NAMESPACE - Namespace
Data type: RS38L-NAMESPACEOptional: Yes
Call by Reference: No ( called with pass by value option)
COMPLETE_AREA - Entire function group name
Data type: RS38L-AREAOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_ENOUGH_INPUT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_FUNCTION_POOL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DELIMITER_WRONG_POSITION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FUNCTION_INCLUDE_CONCATENATE 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_top | TYPE RS38L-INCLUDE, " | |||
| lv_program | TYPE RS38L-INCLUDE, " | |||
| lv_include_number | TYPE TFDIR-INCLUDE, " | |||
| lv_not_enough_input | TYPE TFDIR, " | |||
| lv_uxx | TYPE RS38L-INCLUDE, " | |||
| lv_group | TYPE RS38L-AREA, " | |||
| lv_no_function_pool | TYPE RS38L, " | |||
| lv_include | TYPE RS38L-INCLUDE, " | |||
| lv_namespace | TYPE RS38L-NAMESPACE, " | |||
| lv_delimiter_wrong_position | TYPE RS38L, " | |||
| lv_complete_area | TYPE RS38L-AREA. " |
|   CALL FUNCTION 'FUNCTION_INCLUDE_CONCATENATE' "Determine the Name of a Function Group / Main Program by Namespace |
| EXPORTING | ||
| INCLUDE_NUMBER | = lv_include_number | |
| IMPORTING | ||
| TOP | = lv_top | |
| UXX | = lv_uxx | |
| INCLUDE | = lv_include | |
| CHANGING | ||
| PROGRAM | = lv_program | |
| GROUP | = lv_group | |
| NAMESPACE | = lv_namespace | |
| COMPLETE_AREA | = lv_complete_area | |
| EXCEPTIONS | ||
| NOT_ENOUGH_INPUT = 1 | ||
| NO_FUNCTION_POOL = 2 | ||
| DELIMITER_WRONG_POSITION = 3 | ||
| . " FUNCTION_INCLUDE_CONCATENATE | ||
ABAP code using 7.40 inline data declarations to call FM FUNCTION_INCLUDE_CONCATENATE
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 INCLUDE FROM RS38L INTO @DATA(ld_top). | ||||
| "SELECT single INCLUDE FROM RS38L INTO @DATA(ld_program). | ||||
| "SELECT single INCLUDE FROM TFDIR INTO @DATA(ld_include_number). | ||||
| "SELECT single INCLUDE FROM RS38L INTO @DATA(ld_uxx). | ||||
| "SELECT single AREA FROM RS38L INTO @DATA(ld_group). | ||||
| "SELECT single INCLUDE FROM RS38L INTO @DATA(ld_include). | ||||
| "SELECT single NAMESPACE FROM RS38L INTO @DATA(ld_namespace). | ||||
| "SELECT single AREA FROM RS38L INTO @DATA(ld_complete_area). | ||||
Search for further information about these or an SAP related objects