SAP FIMAIPRES_EXT_DATA_INIT Function Module for Initialize List of Enhanced Results
FIMAIPRES_EXT_DATA_INIT is a standard fimaipres ext data init SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Initialize List of Enhanced Results 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 fimaipres ext data init FM, simply by entering the name FIMAIPRES_EXT_DATA_INIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FSCDMAD_IO_OIMASS
Program Name: SAPLFSCDMAD_IO_OIMASS
Main Program: SAPLFSCDMAD_IO_OIMASS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FIMAIPRES_EXT_DATA_INIT 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 'FIMAIPRES_EXT_DATA_INIT'"Initialize List of Enhanced Results.
EXPORTING
I_SEL_TYPE = "Selection Type
I_SEL_NAME = "Selection Name
I_RUN_KEY = "Key For Mass Activity Run
I_SIMPLE = "
IMPORTING
E_REF_RES_EXT = "
E_STRUCT_NAME = "Table Name
E_INCL_FIELDS = "
IMPORTING Parameters details for FIMAIPRES_EXT_DATA_INIT
I_SEL_TYPE - Selection Type
Data type: SLTYP_KKOptional: No
Call by Reference: Yes
I_SEL_NAME - Selection Name
Data type: SLNAM_KKOptional: No
Call by Reference: Yes
I_RUN_KEY - Key For Mass Activity Run
Data type: FKK_MAD_RUNKEYOptional: No
Call by Reference: Yes
I_SIMPLE -
Data type: COptional: No
Call by Reference: Yes
EXPORTING Parameters details for FIMAIPRES_EXT_DATA_INIT
E_REF_RES_EXT -
Data type: DATAOptional: No
Call by Reference: Yes
E_STRUCT_NAME - Table Name
Data type: DD02L-TABNAMEOptional: No
Call by Reference: Yes
E_INCL_FIELDS -
Data type: FKK_FIELDSOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FIMAIPRES_EXT_DATA_INIT 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_i_sel_type | TYPE SLTYP_KK, " | |||
| lv_e_ref_res_ext | TYPE DATA, " | |||
| lv_i_sel_name | TYPE SLNAM_KK, " | |||
| lv_e_struct_name | TYPE DD02L-TABNAME, " | |||
| lv_i_run_key | TYPE FKK_MAD_RUNKEY, " | |||
| lv_e_incl_fields | TYPE FKK_FIELDS, " | |||
| lv_i_simple | TYPE C. " |
|   CALL FUNCTION 'FIMAIPRES_EXT_DATA_INIT' "Initialize List of Enhanced Results |
| EXPORTING | ||
| I_SEL_TYPE | = lv_i_sel_type | |
| I_SEL_NAME | = lv_i_sel_name | |
| I_RUN_KEY | = lv_i_run_key | |
| I_SIMPLE | = lv_i_simple | |
| IMPORTING | ||
| E_REF_RES_EXT | = lv_e_ref_res_ext | |
| E_STRUCT_NAME | = lv_e_struct_name | |
| E_INCL_FIELDS | = lv_e_incl_fields | |
| . " FIMAIPRES_EXT_DATA_INIT | ||
ABAP code using 7.40 inline data declarations to call FM FIMAIPRES_EXT_DATA_INIT
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 TABNAME FROM DD02L INTO @DATA(ld_e_struct_name). | ||||
Search for further information about these or an SAP related objects