SAP Function Modules

IO_D_LIST SAP Function module - IWB: List of info objects (with attributes)







IO_D_LIST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name IO_D_LIST into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: SI71
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM IO_D_LIST - IO D LIST





CALL FUNCTION 'IO_D_LIST' "IWB: List of info objects (with attributes)
* EXPORTING
*   task = 'DOCU'               " sy-ucomm
*   popup = SPACE               " c
*   source_info_object =        " sdokobject
*   top_of_page_header = SPACE  " c
*   no_docking = 'X'            " iwparams-flag  Single-Character Flag
*   dock_repid = SPACE          " sy-repid      ABAP Program: Current Main Program
*   dock_dynnr = SPACE          " sy-dynnr      ABAP Program: Number of Current Screen
*   suppress_context_reset = SPACE  " iwparams-flag  Single-Character Flag
  IMPORTING
    call_browser =              " c
    action =                    " sy-ucomm
  TABLES
    info_objects =              " sdokobject
    context =                   " sdokpropty
*   properties_source =         " sdokproptl
*   properties_target =         " sdokproptl
*   info_objects_with_task =    " iwcheckout
*   empty_folders =             " sdokobject
*   result_info_objects =       " sdokobject
*   result_properties =         " sdokproptl
*   bad_objects =               " iwerrobjct
*   translation_prep =          " iwiotransl
*   selected_items_tab =        " sdokobject
    .  "  IO_D_LIST

ABAP code example for Function Module IO_D_LIST





The ABAP code below is a full code listing to execute function module IO_D_LIST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_call_browser  TYPE C ,
ld_action  TYPE SY-UCOMM ,
it_info_objects  TYPE STANDARD TABLE OF SDOKOBJECT,"TABLES PARAM
wa_info_objects  LIKE LINE OF it_info_objects ,
it_context  TYPE STANDARD TABLE OF SDOKPROPTY,"TABLES PARAM
wa_context  LIKE LINE OF it_context ,
it_properties_source  TYPE STANDARD TABLE OF SDOKPROPTL,"TABLES PARAM
wa_properties_source  LIKE LINE OF it_properties_source ,
it_properties_target  TYPE STANDARD TABLE OF SDOKPROPTL,"TABLES PARAM
wa_properties_target  LIKE LINE OF it_properties_target ,
it_info_objects_with_task  TYPE STANDARD TABLE OF IWCHECKOUT,"TABLES PARAM
wa_info_objects_with_task  LIKE LINE OF it_info_objects_with_task ,
it_empty_folders  TYPE STANDARD TABLE OF SDOKOBJECT,"TABLES PARAM
wa_empty_folders  LIKE LINE OF it_empty_folders ,
it_result_info_objects  TYPE STANDARD TABLE OF SDOKOBJECT,"TABLES PARAM
wa_result_info_objects  LIKE LINE OF it_result_info_objects ,
it_result_properties  TYPE STANDARD TABLE OF SDOKPROPTL,"TABLES PARAM
wa_result_properties  LIKE LINE OF it_result_properties ,
it_bad_objects  TYPE STANDARD TABLE OF IWERROBJCT,"TABLES PARAM
wa_bad_objects  LIKE LINE OF it_bad_objects ,
it_translation_prep  TYPE STANDARD TABLE OF IWIOTRANSL,"TABLES PARAM
wa_translation_prep  LIKE LINE OF it_translation_prep ,
it_selected_items_tab  TYPE STANDARD TABLE OF SDOKOBJECT,"TABLES PARAM
wa_selected_items_tab  LIKE LINE OF it_selected_items_tab .

DATA(ld_task) = 'some text here'.
DATA(ld_popup) = 'some text here'.
DATA(ld_source_info_object) = 'some text here'.
DATA(ld_top_of_page_header) = 'some text here'.

DATA(ld_no_docking) = some text here
DATA(ld_dock_repid) = 'some text here'.
DATA(ld_dock_dynnr) = 'some text here'.

DATA(ld_suppress_context_reset) = some text here

"populate fields of struture and append to itab
append wa_info_objects to it_info_objects.

"populate fields of struture and append to itab
append wa_context to it_context.

"populate fields of struture and append to itab
append wa_properties_source to it_properties_source.

"populate fields of struture and append to itab
append wa_properties_target to it_properties_target.

"populate fields of struture and append to itab
append wa_info_objects_with_task to it_info_objects_with_task.

"populate fields of struture and append to itab
append wa_empty_folders to it_empty_folders.

"populate fields of struture and append to itab
append wa_result_info_objects to it_result_info_objects.

"populate fields of struture and append to itab
append wa_result_properties to it_result_properties.

"populate fields of struture and append to itab
append wa_bad_objects to it_bad_objects.

"populate fields of struture and append to itab
append wa_translation_prep to it_translation_prep.

"populate fields of struture and append to itab
append wa_selected_items_tab to it_selected_items_tab. . CALL FUNCTION 'IO_D_LIST' * EXPORTING * task = ld_task * popup = ld_popup * source_info_object = ld_source_info_object * top_of_page_header = ld_top_of_page_header * no_docking = ld_no_docking * dock_repid = ld_dock_repid * dock_dynnr = ld_dock_dynnr * suppress_context_reset = ld_suppress_context_reset IMPORTING call_browser = ld_call_browser action = ld_action TABLES info_objects = it_info_objects context = it_context * properties_source = it_properties_source * properties_target = it_properties_target * info_objects_with_task = it_info_objects_with_task * empty_folders = it_empty_folders * result_info_objects = it_result_info_objects * result_properties = it_result_properties * bad_objects = it_bad_objects * translation_prep = it_translation_prep * selected_items_tab = it_selected_items_tab . " IO_D_LIST
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_call_browser  TYPE C ,
ld_task  TYPE SY-UCOMM ,
it_info_objects  TYPE STANDARD TABLE OF SDOKOBJECT ,
wa_info_objects  LIKE LINE OF it_info_objects,
ld_action  TYPE SY-UCOMM ,
ld_popup  TYPE C ,
it_context  TYPE STANDARD TABLE OF SDOKPROPTY ,
wa_context  LIKE LINE OF it_context,
ld_source_info_object  TYPE SDOKOBJECT ,
it_properties_source  TYPE STANDARD TABLE OF SDOKPROPTL ,
wa_properties_source  LIKE LINE OF it_properties_source,
ld_top_of_page_header  TYPE C ,
it_properties_target  TYPE STANDARD TABLE OF SDOKPROPTL ,
wa_properties_target  LIKE LINE OF it_properties_target,
ld_no_docking  TYPE IWPARAMS-FLAG ,
it_info_objects_with_task  TYPE STANDARD TABLE OF IWCHECKOUT ,
wa_info_objects_with_task  LIKE LINE OF it_info_objects_with_task,
ld_dock_repid  TYPE SY-REPID ,
it_empty_folders  TYPE STANDARD TABLE OF SDOKOBJECT ,
wa_empty_folders  LIKE LINE OF it_empty_folders,
ld_dock_dynnr  TYPE SY-DYNNR ,
it_result_info_objects  TYPE STANDARD TABLE OF SDOKOBJECT ,
wa_result_info_objects  LIKE LINE OF it_result_info_objects,
ld_suppress_context_reset  TYPE IWPARAMS-FLAG ,
it_result_properties  TYPE STANDARD TABLE OF SDOKPROPTL ,
wa_result_properties  LIKE LINE OF it_result_properties,
it_bad_objects  TYPE STANDARD TABLE OF IWERROBJCT ,
wa_bad_objects  LIKE LINE OF it_bad_objects,
it_translation_prep  TYPE STANDARD TABLE OF IWIOTRANSL ,
wa_translation_prep  LIKE LINE OF it_translation_prep,
it_selected_items_tab  TYPE STANDARD TABLE OF SDOKOBJECT ,
wa_selected_items_tab  LIKE LINE OF it_selected_items_tab.

ld_task = 'some text here'.

"populate fields of struture and append to itab
append wa_info_objects to it_info_objects.
ld_popup = 'some text here'.

"populate fields of struture and append to itab
append wa_context to it_context.
ld_source_info_object = 'some text here'.

"populate fields of struture and append to itab
append wa_properties_source to it_properties_source.
ld_top_of_page_header = 'some text here'.

"populate fields of struture and append to itab
append wa_properties_target to it_properties_target.

ld_no_docking = some text here

"populate fields of struture and append to itab
append wa_info_objects_with_task to it_info_objects_with_task.
ld_dock_repid = 'some text here'.

"populate fields of struture and append to itab
append wa_empty_folders to it_empty_folders.
ld_dock_dynnr = 'some text here'.

"populate fields of struture and append to itab
append wa_result_info_objects to it_result_info_objects.

ld_suppress_context_reset = some text here

"populate fields of struture and append to itab
append wa_result_properties to it_result_properties.

"populate fields of struture and append to itab
append wa_bad_objects to it_bad_objects.

"populate fields of struture and append to itab
append wa_translation_prep to it_translation_prep.

"populate fields of struture and append to itab
append wa_selected_items_tab to it_selected_items_tab.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name IO_D_LIST or its description.