SAP INTERN_LIST_DIALOG Function Module for









INTERN_LIST_DIALOG is a standard intern list dialog SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 intern list dialog FM, simply by entering the name INTERN_LIST_DIALOG into the relevant SAP transaction such as SE37 or SE38.

Function Group: SED2
Program Name: SAPLSED2
Main Program: SAPLSED2
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function INTERN_LIST_DIALOG 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 'INTERN_LIST_DIALOG'"
EXPORTING
* LISTTYPE = '1' "List Type
OBJNAME = "Object name
* FCT = 'S' "
* MALANGU = SY-LANGU "Maintenance Language

IMPORTING
SELOBJNAME = "Selected Object
FCODE = "Function code

TABLES
* SELOBJ_TAB = "

EXCEPTIONS
NOT_EXECUTED = 1 INVALID_PARAMETER = 2 OBJECT_NOT_FOUND = 3
.



IMPORTING Parameters details for INTERN_LIST_DIALOG

LISTTYPE - List Type

Data type: DDREFSTRUC-FLAG
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJNAME - Object name

Data type: RSEDD0-DDOBJNAME
Optional: No
Call by Reference: No ( called with pass by value option)

FCT -

Data type: RSDXX-FCT
Default: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)

MALANGU - Maintenance Language

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for INTERN_LIST_DIALOG

SELOBJNAME - Selected Object

Data type: RSEDD0-DDOBJNAME
Optional: No
Call by Reference: No ( called with pass by value option)

FCODE - Function code

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for INTERN_LIST_DIALOG

SELOBJ_TAB -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NOT_EXECUTED - Action canceled

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INVALID_PARAMETER - Invalid parameter value

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECT_NOT_FOUND - No Suitable Object Found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for INTERN_LIST_DIALOG 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_listtype  TYPE DDREFSTRUC-FLAG, "   '1'
lv_selobjname  TYPE RSEDD0-DDOBJNAME, "   
lt_selobj_tab  TYPE STANDARD TABLE OF RSEDD0, "   
lv_not_executed  TYPE RSEDD0, "   
lv_fcode  TYPE RSEDD0, "   
lv_objname  TYPE RSEDD0-DDOBJNAME, "   
lv_invalid_parameter  TYPE RSEDD0, "   
lv_fct  TYPE RSDXX-FCT, "   'S'
lv_object_not_found  TYPE RSDXX, "   
lv_malangu  TYPE SY-LANGU. "   SY-LANGU

  CALL FUNCTION 'INTERN_LIST_DIALOG'  "
    EXPORTING
         LISTTYPE = lv_listtype
         OBJNAME = lv_objname
         FCT = lv_fct
         MALANGU = lv_malangu
    IMPORTING
         SELOBJNAME = lv_selobjname
         FCODE = lv_fcode
    TABLES
         SELOBJ_TAB = lt_selobj_tab
    EXCEPTIONS
        NOT_EXECUTED = 1
        INVALID_PARAMETER = 2
        OBJECT_NOT_FOUND = 3
. " INTERN_LIST_DIALOG




ABAP code using 7.40 inline data declarations to call FM INTERN_LIST_DIALOG

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 FLAG FROM DDREFSTRUC INTO @DATA(ld_listtype).
DATA(ld_listtype) = '1'.
 
"SELECT single DDOBJNAME FROM RSEDD0 INTO @DATA(ld_selobjname).
 
 
 
 
"SELECT single DDOBJNAME FROM RSEDD0 INTO @DATA(ld_objname).
 
 
"SELECT single FCT FROM RSDXX INTO @DATA(ld_fct).
DATA(ld_fct) = 'S'.
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_malangu).
DATA(ld_malangu) = SY-LANGU.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!