SAP ELM_DATA_SET_IL Function Module for Ext. List Management - Interaction Layer - Set Data
ELM_DATA_SET_IL is a standard elm data set il SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Ext. List Management - Interaction Layer - Set Data 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 elm data set il FM, simply by entering the name ELM_DATA_SET_IL into the relevant SAP transaction such as SE37 or SE38.
Function Group: ELM_IL
Program Name: SAPLELM_IL
Main Program: SAPLELM_IL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ELM_DATA_SET_IL 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 'ELM_DATA_SET_IL'"Ext. List Management - Interaction Layer - Set Data.
EXPORTING
* IV_MODE = "Ext. List Management - Editing Mode
* IV_LIST_GUID = "Ext. List Mangement: GUID for BP List
* IS_LIST = "Ext. List Management: API Interface for Input
* IT_STEP = "Ext. List Management - Steps API-IN
* IT_FILE = "Ext. List Management - File API-IN
* IS_SEARCH_FIELDS = "Ext. List Management: Search Fields
* IS_JOB = "Ext. List Management - Job
* IV_DELETED = "Ext. List Management: Business Partner List - Deletion Flag
IMPORTING Parameters details for ELM_DATA_SET_IL
IV_MODE - Ext. List Management - Editing Mode
Data type: ELMT_MODEOptional: Yes
Call by Reference: Yes
IV_LIST_GUID - Ext. List Mangement: GUID for BP List
Data type: ELMT_LIST_GUIDOptional: Yes
Call by Reference: Yes
IS_LIST - Ext. List Management: API Interface for Input
Data type: ELMT_LIST_API_INOptional: Yes
Call by Reference: Yes
IT_STEP - Ext. List Management - Steps API-IN
Data type: ELMT_STEP_API_IN_TABOptional: Yes
Call by Reference: Yes
IT_FILE - Ext. List Management - File API-IN
Data type: ELMT_FILE_API_IN_TABOptional: Yes
Call by Reference: Yes
IS_SEARCH_FIELDS - Ext. List Management: Search Fields
Data type: ELMT_SEARCH_FIELDSOptional: Yes
Call by Reference: Yes
IS_JOB - Ext. List Management - Job
Data type: ELMT_JOBOptional: Yes
Call by Reference: Yes
IV_DELETED - Ext. List Management: Business Partner List - Deletion Flag
Data type: ELMT_DELETEDOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ELM_DATA_SET_IL 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_iv_mode | TYPE ELMT_MODE, " | |||
| lv_iv_list_guid | TYPE ELMT_LIST_GUID, " | |||
| lv_is_list | TYPE ELMT_LIST_API_IN, " | |||
| lv_it_step | TYPE ELMT_STEP_API_IN_TAB, " | |||
| lv_it_file | TYPE ELMT_FILE_API_IN_TAB, " | |||
| lv_is_search_fields | TYPE ELMT_SEARCH_FIELDS, " | |||
| lv_is_job | TYPE ELMT_JOB, " | |||
| lv_iv_deleted | TYPE ELMT_DELETED. " |
|   CALL FUNCTION 'ELM_DATA_SET_IL' "Ext. List Management - Interaction Layer - Set Data |
| EXPORTING | ||
| IV_MODE | = lv_iv_mode | |
| IV_LIST_GUID | = lv_iv_list_guid | |
| IS_LIST | = lv_is_list | |
| IT_STEP | = lv_it_step | |
| IT_FILE | = lv_it_file | |
| IS_SEARCH_FIELDS | = lv_is_search_fields | |
| IS_JOB | = lv_is_job | |
| IV_DELETED | = lv_iv_deleted | |
| . " ELM_DATA_SET_IL | ||
ABAP code using 7.40 inline data declarations to call FM ELM_DATA_SET_IL
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