SAP ISU_IL_GET_AMI_MSG_TMPL_STRING Function Module for RFC to convert Text and Parameters of Template to a String
ISU_IL_GET_AMI_MSG_TMPL_STRING is a standard isu il get ami msg tmpl string SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for RFC to convert Text and Parameters of Template to a String 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 isu il get ami msg tmpl string FM, simply by entering the name ISU_IL_GET_AMI_MSG_TMPL_STRING into the relevant SAP transaction such as SE37 or SE38.
Function Group: EISU_IL_AMI_MSG
Program Name: SAPLEISU_IL_AMI_MSG
Main Program: SAPLEISU_IL_AMI_MSG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function ISU_IL_GET_AMI_MSG_TMPL_STRING 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 'ISU_IL_GET_AMI_MSG_TMPL_STRING'"RFC to convert Text and Parameters of Template to a String.
EXPORTING
X_MSG_TEMPL = "Message Template
X_MSG = "Structure for message creation
XT_PARA_VALUES = "Table Type for Structure EAMI_MSG_PARA_VALUES
IMPORTING
Y_MSG_TEXT = "Message
YT_ERROR = "Return parameter table
IMPORTING Parameters details for ISU_IL_GET_AMI_MSG_TMPL_STRING
X_MSG_TEMPL - Message Template
Data type: EISU_IL_AMI_MSG_TEMPL_KEYOptional: No
Call by Reference: No ( called with pass by value option)
X_MSG - Structure for message creation
Data type: EISU_IL_AMI_MSG_CREATIONOptional: No
Call by Reference: No ( called with pass by value option)
XT_PARA_VALUES - Table Type for Structure EAMI_MSG_PARA_VALUES
Data type: TAB_EAMI_MSG_PARA_VALUESOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_IL_GET_AMI_MSG_TMPL_STRING
Y_MSG_TEXT - Message
Data type: E_AMI_MSG_TEXTOptional: No
Call by Reference: No ( called with pass by value option)
YT_ERROR - Return parameter table
Data type: BAPIRET2_TOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_IL_GET_AMI_MSG_TMPL_STRING 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_y_msg_text | TYPE E_AMI_MSG_TEXT, " | |||
| lv_x_msg_templ | TYPE EISU_IL_AMI_MSG_TEMPL_KEY, " | |||
| lv_x_msg | TYPE EISU_IL_AMI_MSG_CREATION, " | |||
| lv_yt_error | TYPE BAPIRET2_T, " | |||
| lv_xt_para_values | TYPE TAB_EAMI_MSG_PARA_VALUES. " |
|   CALL FUNCTION 'ISU_IL_GET_AMI_MSG_TMPL_STRING' "RFC to convert Text and Parameters of Template to a String |
| EXPORTING | ||
| X_MSG_TEMPL | = lv_x_msg_templ | |
| X_MSG | = lv_x_msg | |
| XT_PARA_VALUES | = lv_xt_para_values | |
| IMPORTING | ||
| Y_MSG_TEXT | = lv_y_msg_text | |
| YT_ERROR | = lv_yt_error | |
| . " ISU_IL_GET_AMI_MSG_TMPL_STRING | ||
ABAP code using 7.40 inline data declarations to call FM ISU_IL_GET_AMI_MSG_TMPL_STRING
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