SAP ISU_IL_GET_AMI_MSG_VALID_DATE Function Module for RFC to get validity date
ISU_IL_GET_AMI_MSG_VALID_DATE is a standard isu il get ami msg valid date 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 get validity date 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 valid date FM, simply by entering the name ISU_IL_GET_AMI_MSG_VALID_DATE 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_VALID_DATE 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_VALID_DATE'"RFC to get validity date.
EXPORTING
* X_MSG_TEMPL_ID = "Message Template
X_SOURCE = "Source of Message
* X_MSG_TEMPL_LANGU = "Language Key
IMPORTING
Y_MSG_VALID_DATE = "Validity Date for Message
IMPORTING Parameters details for ISU_IL_GET_AMI_MSG_VALID_DATE
X_MSG_TEMPL_ID - Message Template
Data type: E_AMI_MSG_TEMPL_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
X_SOURCE - Source of Message
Data type: E_AMI_MSG_SOURCEOptional: No
Call by Reference: No ( called with pass by value option)
X_MSG_TEMPL_LANGU - Language Key
Data type: SPRASOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_IL_GET_AMI_MSG_VALID_DATE
Y_MSG_VALID_DATE - Validity Date for Message
Data type: E_AMI_MSG_VALID_DATEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_IL_GET_AMI_MSG_VALID_DATE 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_x_msg_templ_id | TYPE E_AMI_MSG_TEMPL_ID, " | |||
| lv_y_msg_valid_date | TYPE E_AMI_MSG_VALID_DATE, " | |||
| lv_x_source | TYPE E_AMI_MSG_SOURCE, " | |||
| lv_x_msg_templ_langu | TYPE SPRAS. " |
|   CALL FUNCTION 'ISU_IL_GET_AMI_MSG_VALID_DATE' "RFC to get validity date |
| EXPORTING | ||
| X_MSG_TEMPL_ID | = lv_x_msg_templ_id | |
| X_SOURCE | = lv_x_source | |
| X_MSG_TEMPL_LANGU | = lv_x_msg_templ_langu | |
| IMPORTING | ||
| Y_MSG_VALID_DATE | = lv_y_msg_valid_date | |
| . " ISU_IL_GET_AMI_MSG_VALID_DATE | ||
ABAP code using 7.40 inline data declarations to call FM ISU_IL_GET_AMI_MSG_VALID_DATE
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