SAP FC_INTERFACE_MESSAGES_CREATE Function Module for
FC_INTERFACE_MESSAGES_CREATE is a standard fc interface messages create 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 fc interface messages create FM, simply by entering the name FC_INTERFACE_MESSAGES_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FCIM
Program Name: SAPLFCIM
Main Program: SAPLFCIM
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FC_INTERFACE_MESSAGES_CREATE 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 'FC_INTERFACE_MESSAGES_CREATE'".
EXPORTING
* I_S_ACCREV = "
I_AWREF = "
* I_AWORG = "
I_FLG_MAIL = "
* I_FLG_RVS = "
TABLES
I_T_ACCHD = "
I_T_ERRTYPMESS = "
I_T_DOCPAR = "
I_T_DOCLN_ERR = "
I_T_RA_GLVOR = "
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLFCIM_280 Integration: Change of Recipient for Express Mail
IMPORTING Parameters details for FC_INTERFACE_MESSAGES_CREATE
I_S_ACCREV -
Data type: ACCREVOptional: Yes
Call by Reference: Yes
I_AWREF -
Data type: FCIN_AWREFOptional: No
Call by Reference: Yes
I_AWORG -
Data type: FCIN_AWORGOptional: Yes
Call by Reference: Yes
I_FLG_MAIL -
Data type: FC_FLGOptional: No
Call by Reference: Yes
I_FLG_RVS -
Data type: FC_FLGOptional: Yes
Call by Reference: Yes
TABLES Parameters details for FC_INTERFACE_MESSAGES_CREATE
I_T_ACCHD -
Data type: FCIN_T_ACCHDOptional: No
Call by Reference: No ( called with pass by value option)
I_T_ERRTYPMESS -
Data type: FCIN_T_ERRTYPMESSOptional: No
Call by Reference: No ( called with pass by value option)
I_T_DOCPAR -
Data type: FCIN_T_DOCPARTOptional: No
Call by Reference: No ( called with pass by value option)
I_T_DOCLN_ERR -
Data type: FCIN_T_DOCLN_ERROptional: No
Call by Reference: No ( called with pass by value option)
I_T_RA_GLVOR -
Data type: FCIN_T_RA_GLVOROptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FC_INTERFACE_MESSAGES_CREATE 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: | ||||
| lt_i_t_acchd | TYPE STANDARD TABLE OF FCIN_T_ACCHD, " | |||
| lv_i_s_accrev | TYPE ACCREV, " | |||
| lv_i_awref | TYPE FCIN_AWREF, " | |||
| lt_i_t_errtypmess | TYPE STANDARD TABLE OF FCIN_T_ERRTYPMESS, " | |||
| lv_i_aworg | TYPE FCIN_AWORG, " | |||
| lt_i_t_docpar | TYPE STANDARD TABLE OF FCIN_T_DOCPART, " | |||
| lv_i_flg_mail | TYPE FC_FLG, " | |||
| lt_i_t_docln_err | TYPE STANDARD TABLE OF FCIN_T_DOCLN_ERR, " | |||
| lv_i_flg_rvs | TYPE FC_FLG, " | |||
| lt_i_t_ra_glvor | TYPE STANDARD TABLE OF FCIN_T_RA_GLVOR. " |
|   CALL FUNCTION 'FC_INTERFACE_MESSAGES_CREATE' " |
| EXPORTING | ||
| I_S_ACCREV | = lv_i_s_accrev | |
| I_AWREF | = lv_i_awref | |
| I_AWORG | = lv_i_aworg | |
| I_FLG_MAIL | = lv_i_flg_mail | |
| I_FLG_RVS | = lv_i_flg_rvs | |
| TABLES | ||
| I_T_ACCHD | = lt_i_t_acchd | |
| I_T_ERRTYPMESS | = lt_i_t_errtypmess | |
| I_T_DOCPAR | = lt_i_t_docpar | |
| I_T_DOCLN_ERR | = lt_i_t_docln_err | |
| I_T_RA_GLVOR | = lt_i_t_ra_gltor | |
| . " FC_INTERFACE_MESSAGES_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM FC_INTERFACE_MESSAGES_CREATE
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.Search for further information about these or an SAP related objects