SAP ISU_EAMI_MSG2DEVICE_INTERVAL Function Module for Create initial dummy intervals of Equipment nrs. for message to device
ISU_EAMI_MSG2DEVICE_INTERVAL is a standard isu eami msg2device interval SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create initial dummy intervals of Equipment nrs. for message to device 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 eami msg2device interval FM, simply by entering the name ISU_EAMI_MSG2DEVICE_INTERVAL into the relevant SAP transaction such as SE37 or SE38.
Function Group: EE_AMI_MSG_MACT_SEND
Program Name: SAPLEE_AMI_MSG_MACT_SEND
Main Program: SAPLEE_AMI_MSG_MACT_SEND
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_EAMI_MSG2DEVICE_INTERVAL 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_EAMI_MSG2DEVICE_INTERVAL'"Create initial dummy intervals of Equipment nrs. for message to device.
EXPORTING
I_INTSIZE = "Interval length: Number of records per interval
I_INTNMBR = "Number of intervals
IMPORTING
E_INTSIZE = "Interval length: Number of records per interval
E_INTNMBR = "Number of intervals
TABLES
T_INTERVALS = "FI-CA: Distrib. of intervals - struc. for FM interface
EXCEPTIONS
WRONG_INPUT_DATA = 1
IMPORTING Parameters details for ISU_EAMI_MSG2DEVICE_INTERVAL
I_INTSIZE - Interval length: Number of records per interval
Data type: FKKDICRE-ISIZEOptional: No
Call by Reference: Yes
I_INTNMBR - Number of intervals
Data type: FKKDICRE-INMBROptional: No
Call by Reference: Yes
EXPORTING Parameters details for ISU_EAMI_MSG2DEVICE_INTERVAL
E_INTSIZE - Interval length: Number of records per interval
Data type: FKKDICRE-ISIZEOptional: No
Call by Reference: Yes
E_INTNMBR - Number of intervals
Data type: FKKDICRE-INMBROptional: No
Call by Reference: Yes
TABLES Parameters details for ISU_EAMI_MSG2DEVICE_INTERVAL
T_INTERVALS - FI-CA: Distrib. of intervals - struc. for FM interface
Data type: FKKDIPOSXOptional: No
Call by Reference: Yes
EXCEPTIONS details
WRONG_INPUT_DATA - Not allowed input data combination
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_EAMI_MSG2DEVICE_INTERVAL 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_e_intsize | TYPE FKKDICRE-ISIZE, " | |||
| lv_i_intsize | TYPE FKKDICRE-ISIZE, " | |||
| lt_t_intervals | TYPE STANDARD TABLE OF FKKDIPOSX, " | |||
| lv_wrong_input_data | TYPE FKKDIPOSX, " | |||
| lv_e_intnmbr | TYPE FKKDICRE-INMBR, " | |||
| lv_i_intnmbr | TYPE FKKDICRE-INMBR. " |
|   CALL FUNCTION 'ISU_EAMI_MSG2DEVICE_INTERVAL' "Create initial dummy intervals of Equipment nrs. for message to device |
| EXPORTING | ||
| I_INTSIZE | = lv_i_intsize | |
| I_INTNMBR | = lv_i_intnmbr | |
| IMPORTING | ||
| E_INTSIZE | = lv_e_intsize | |
| E_INTNMBR | = lv_e_intnmbr | |
| TABLES | ||
| T_INTERVALS | = lt_t_intervals | |
| EXCEPTIONS | ||
| WRONG_INPUT_DATA = 1 | ||
| . " ISU_EAMI_MSG2DEVICE_INTERVAL | ||
ABAP code using 7.40 inline data declarations to call FM ISU_EAMI_MSG2DEVICE_INTERVAL
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 ISIZE FROM FKKDICRE INTO @DATA(ld_e_intsize). | ||||
| "SELECT single ISIZE FROM FKKDICRE INTO @DATA(ld_i_intsize). | ||||
| "SELECT single INMBR FROM FKKDICRE INTO @DATA(ld_e_intnmbr). | ||||
| "SELECT single INMBR FROM FKKDICRE INTO @DATA(ld_i_intnmbr). | ||||
Search for further information about these or an SAP related objects