<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Function Modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863266#M928553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classical Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A classic report is a program that generates a single list, which must contain all of the required detail information.&lt;/P&gt;&lt;P&gt;1) This procedure may result in extensive lists from which the user has to pick the relevant data.&lt;/P&gt;&lt;P&gt;2) For background processing, this is the only possible method. After starting a background job, there is no way of influencing the program.&lt;/P&gt;&lt;P&gt;3) The desired selections must be made beforehand and the list must provide detailed information.&lt;/P&gt;&lt;P&gt;4) For dialog sessions, there are no such restrictions.&lt;/P&gt;&lt;P&gt;5) The user is present during the execution of the program and can control and manipulate the program flow directly.&lt;/P&gt;&lt;P&gt;6) To be able to use all advantages of the online environment, classical reporting was developed into interactive reporting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV&lt;/P&gt;&lt;P&gt;ABAP List Viewer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The common features of report are column alignment, sorting, filtering, subtotals, totals etc. To implement these, a lot of coding and logic is to be put. To avoid that we can use a concept called ABAP List Viewer (ALV).&lt;/P&gt;&lt;P&gt;This helps us to implement all the features mentioned very effectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using ALV, We can have three types of reports:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Simple Report&lt;/P&gt;&lt;P&gt;2. Block Report&lt;/P&gt;&lt;P&gt;3. Hierarchical Sequential Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some function modules which will enable to produce the above reports without much effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the definitions of internal tables, structures and constants are declared in a type-pool called SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SIMPLE REPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important function modules are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. Reuse_alv_list_display&lt;/P&gt;&lt;P&gt;b. Reuse_alv_fieldcatalog_merge&lt;/P&gt;&lt;P&gt;c. Reuse_alv_events_get&lt;/P&gt;&lt;P&gt;d. Reuse_alv_commentary_write&lt;/P&gt;&lt;P&gt;e. Reuse_alv_grid_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. REUSE_ALV_LIST_DISPLAY : This is the function module which prints the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important parameters are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I. Export :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i. I_callback_program : report id&lt;/P&gt;&lt;P&gt;ii. I_callback_pf_status_set : routine where a user can set his own pf status or change the functionality of the existing pf status&lt;/P&gt;&lt;P&gt;iii. I_callback_user_command : routine where the function codes are handled&lt;/P&gt;&lt;P&gt;iv. I_structure name : name of the dictionary table&lt;/P&gt;&lt;P&gt;v. Is_layout : structure to set the layout of the report&lt;/P&gt;&lt;P&gt;vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module &lt;/P&gt;&lt;P&gt;vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II. Tables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i. t_outtab : internal table with the data to be output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_FIELDCATALOG_MERGE : This function module is used to populate a fieldcatalog which is essential to display the data in ALV. If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter(I_structure name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Important Parameters are :&lt;/P&gt;&lt;P&gt;I. Export :&lt;/P&gt;&lt;P&gt;i. I_program_name : report id&lt;/P&gt;&lt;P&gt;ii. I_internal_tabname : the internal output table&lt;/P&gt;&lt;P&gt;iii. I_inclname : include the report name where all the dynamic forms are handled.&lt;/P&gt;&lt;P&gt;II Changing&lt;/P&gt;&lt;P&gt;ct_fieldcat : an internal table with the type SLIS_T_FIELDCAT_ALV which is&lt;/P&gt;&lt;P&gt;declared in the type pool SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_EVENTS_GET : Returns table of possible events for a list type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters :&lt;/P&gt;&lt;P&gt;I. Import :&lt;/P&gt;&lt;P&gt;Et_Events : The event table is returned with all possible CALLBACK events&lt;/P&gt;&lt;P&gt;for the specified list type (column 'NAME'). For events to be processed by Callback, their 'FORM' field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field 'FORM' filled and the entry modified using constants from the type pool SALV.&lt;/P&gt;&lt;P&gt;II. Export :&lt;/P&gt;&lt;P&gt;I_List_type :&lt;/P&gt;&lt;P&gt;0 = simple list REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;1 = hierarchcal-sequential list REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;2 = simple block list REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;3 = hierarchical-sequential block list&lt;/P&gt;&lt;P&gt;REUSE_ALV_BLOCK_LIST_HS_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D. REUSE_ALV_COMMENTARY_WRITE : This is used in the Top-of-page event to print the headings and other comments for the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I. it_list_commentary : internal table with the headings of the type slis_t_listheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This internal table has three fields :&lt;/P&gt;&lt;P&gt;Typ : u2018Hu2019 u2013 header, u2018Su2019 u2013 selection , u2018Au2019 - action&lt;/P&gt;&lt;P&gt;Key : only when typ is u2018Su2019.&lt;/P&gt;&lt;P&gt;Info : the text to be printed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E. REUSE_ALV_GRID_DISPLAY : A new function in 4.6 version, to display the results in grid rather than as a preview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters : same as reuse_alv_list_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example for simple list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. BLOCK REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used to have multiple lists continuously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important functions used in this report are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. REUSE_ALV_BLOCK_LIST_INIT&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_BLOCK_LIST_HS_APPEND&lt;/P&gt;&lt;P&gt;D. REUSE_ALV_BLOCK_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. REUSE_ALV_BLOCK_LIST_INIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters:&lt;/P&gt;&lt;P&gt;I. I_CALLBACK_PROGRAM&lt;/P&gt;&lt;P&gt;II. I_CALLBACK_PF_STATUS_SET&lt;/P&gt;&lt;P&gt;III. I_CALLBACK_USER_COMMAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used to set the default gui status etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export :&lt;/P&gt;&lt;P&gt;I. is_layout : layout settings for block&lt;/P&gt;&lt;P&gt;II. it_fieldcat : field catalog&lt;/P&gt;&lt;P&gt;III. i_tabname : internal table name with output data&lt;/P&gt;&lt;P&gt;IV. it_events : internal table with all possible events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables :&lt;/P&gt;&lt;P&gt;i. t_outtab : internal table with output data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module adds the data to the block.&lt;/P&gt;&lt;P&gt;Repeat this function for all the different blocks to be displayed one after the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_BLOCK_LIST_HS_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used for hierarchical sequential blocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D. REUSE_ALV_BLOCK_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters : All the parameters are optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module display the list with data appended by the above function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the functions REUSE_ALV_FIELDCATALOG_MERGE, REUSE_ALV_EVENTS_GET, REUSE_ALV_COMMENTARY_WRITE can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Hierarchical reports :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hierarchical sequential list output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters:&lt;/P&gt;&lt;P&gt;I. Export:&lt;/P&gt;&lt;P&gt;i. I_CALLBACK_PROGRAM&lt;/P&gt;&lt;P&gt;ii. I_CALLBACK_PF_STATUS_SET&lt;/P&gt;&lt;P&gt;iii. I_CALLBACK_USER_COMMAND&lt;/P&gt;&lt;P&gt;iv. IS_LAYOUT&lt;/P&gt;&lt;P&gt;v. IT_FIELDCAT&lt;/P&gt;&lt;P&gt;vi. IT_EVENTS&lt;/P&gt;&lt;P&gt;vii. i_tabname_header : Name of the internal table in the program containing the&lt;/P&gt;&lt;P&gt;output data of the highest hierarchy level.&lt;/P&gt;&lt;P&gt;viii. i_tabname_item : Name of the internal table in the program containing the&lt;/P&gt;&lt;P&gt;output data of the lowest hierarchy level.&lt;/P&gt;&lt;P&gt;ix. is_keyinfo : This structure contains the header and item table field&lt;/P&gt;&lt;P&gt;names which link the two tables (shared key).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II. Tables&lt;/P&gt;&lt;P&gt;i. t_outtab_header : Header table with data to be output&lt;/P&gt;&lt;P&gt;ii. t_outtab_item : Name of the internal table in the program containing the&lt;/P&gt;&lt;P&gt;output data of the lowest hierarchy level.&lt;/P&gt;&lt;P&gt;slis_t_fieldcat_alv : This internal table contains the field attributes. This internal table can be populated automatically by using u2018REUSE_ALV_FIELDCATALOG_MERGEu2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important Attributes :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. col_pos : position of the column&lt;/P&gt;&lt;P&gt;B. fieldname : internal fieldname&lt;/P&gt;&lt;P&gt;C. tabname : internal table name&lt;/P&gt;&lt;P&gt;D. ref_fieldname : fieldname (dictionary)&lt;/P&gt;&lt;P&gt;E. ref_tabname : table (dictionary)&lt;/P&gt;&lt;P&gt;F. key(1) : column with key-color&lt;/P&gt;&lt;P&gt;G. icon(1) : icon&lt;/P&gt;&lt;P&gt;H. symbol(1) : symbol&lt;/P&gt;&lt;P&gt;I. checkbox(1) : checkbox&lt;/P&gt;&lt;P&gt;J. just(1) : (R)ight (L)eft (C)ent.&lt;/P&gt;&lt;P&gt;K. do_sum(1) : sum up&lt;/P&gt;&lt;P&gt;L. no_out(1) : (O)blig.(X)no out&lt;/P&gt;&lt;P&gt;M. outputlen : output length&lt;/P&gt;&lt;P&gt;N. seltext_l : long key word&lt;/P&gt;&lt;P&gt;O. seltext_m : middle key word&lt;/P&gt;&lt;P&gt;P. seltext_s : short key word&lt;/P&gt;&lt;P&gt;Q. reptext_ddic : heading (ddic)&lt;/P&gt;&lt;P&gt;R. ddictxt(1) : (S)hort (M)iddle (L)ong&lt;/P&gt;&lt;P&gt;S. datatype : datatype&lt;/P&gt;&lt;P&gt;T. hotspot(1) : hotspot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV provides following benefits over Classical report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You can sort, Cut, Copy, Paste the output data&lt;/P&gt;&lt;P&gt;2. Option to play around with the data&lt;/P&gt;&lt;P&gt;3. You can filter the data as per your requirement&lt;/P&gt;&lt;P&gt;4. You can do totaling or sub-totaling&lt;/P&gt;&lt;P&gt;5. You can reduce the number of columns which you want in output&lt;/P&gt;&lt;P&gt;6. You can download the output to excel or html or text file&lt;/P&gt;&lt;P&gt;7. You can have editable ALV &amp;amp; edit &amp;amp; save records&lt;/P&gt;&lt;P&gt;8. Data output is in tabular format --&amp;gt; User friendly output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE38 transaction &lt;/P&gt;&lt;P&gt;Type BCALV* and click F4&lt;/P&gt;&lt;P&gt;A list of all standard sample SAP ALV programs would be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. REUSE_ALV_BLOCK_LIST_INIT: - (This module is used for the initialization of blocks &amp;amp; called first before calling REUSE_ALV_BLOCK_LIST_APPEND or REUSE_ALV_BLOCK_LIST_HS_APPEND)&lt;/P&gt;&lt;P&gt;IMPORTING                                                 &lt;/P&gt;&lt;P&gt;     VALUE(I_CALLBACK_PROGRAM) LIKE  SY-REPID            &lt;/P&gt;&lt;P&gt;     VALUE(I_CALLBACK_PF_STATUS_SET) TYPE  SLIS_FORMNAME &lt;/P&gt;&lt;P&gt;                     DEFAULT SPACE                       &lt;/P&gt;&lt;P&gt;     VALUE(I_CALLBACK_USER_COMMAND) TYPE  SLIS_FORMNAME  &lt;/P&gt;&lt;P&gt;                     DEFAULT SPACE                       &lt;/P&gt;&lt;P&gt;     VALUE(IT_EXCLUDING) TYPE  SLIS_T_EXTAB OPTIONAL&lt;/P&gt;&lt;P&gt;I_CALLBACK_PROGRAM: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_CALLBACK_PF_STATUS_SET: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_CALLBACK_USER_COMMAND: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_EXCLUDING: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;7.REUSE_ALV_BLOCK_LIST_APPEND: -(this behaves same as REUSE_ALV_LIST_DISPLAY)&lt;/P&gt;&lt;P&gt;IMPORTING                                               &lt;/P&gt;&lt;P&gt;     VALUE(IS_LAYOUT) TYPE  SLIS_LAYOUT_ALV            &lt;/P&gt;&lt;P&gt;     VALUE(IT_FIELDCAT) TYPE  SLIS_T_FIELDCAT_ALV      &lt;/P&gt;&lt;P&gt;     VALUE(I_TABNAME) TYPE  SLIS_TABNAME               &lt;/P&gt;&lt;P&gt;     VALUE(IT_EVENTS) TYPE  SLIS_T_EVENT               &lt;/P&gt;&lt;P&gt;     VALUE(IT_SORT) TYPE  SLIS_T_SORTINFO_ALV OPTIONAL &lt;/P&gt;&lt;P&gt;     VALUE(I_TEXT) TYPE  SLIS_TEXT40 DEFAULT SPACE     &lt;/P&gt;&lt;P&gt;TABLES                                                  &lt;/P&gt;&lt;P&gt;      T_OUTTAB                                         &lt;/P&gt;&lt;P&gt;EXCEPTIONS                                              &lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR                                    &lt;/P&gt;&lt;P&gt;      MAXIMUM_OF_APPENDS_REACHED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_LAYOUT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_FIELDCAT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_TABNAME: -&lt;/P&gt;&lt;P&gt;IT_EVENTS: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_SORT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_TEXT: -&lt;/P&gt;&lt;P&gt;T_OUTTAB: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY &lt;/P&gt;&lt;P&gt;8.REUSE_ALV_BLOCK_LIST_HS_APPEND: -(this behaves same as REUSE_ALV_HIERSEQ_LIST_DISPLAY)&lt;/P&gt;&lt;P&gt;IMPORTING                                                &lt;/P&gt;&lt;P&gt;      VALUE(IS_LAYOUT) TYPE  SLIS_LAYOUT_ALV             &lt;/P&gt;&lt;P&gt;      VALUE(IT_FIELDCAT) TYPE  SLIS_T_FIELDCAT_ALV       &lt;/P&gt;&lt;P&gt;      VALUE(IS_KEYINFO) TYPE  SLIS_KEYINFO_ALV           &lt;/P&gt;&lt;P&gt;      VALUE(I_HEADER_TABNAME) TYPE  SLIS_TABNAME         &lt;/P&gt;&lt;P&gt;      VALUE(I_ITEM_TABNAME) TYPE  SLIS_TABNAME           &lt;/P&gt;&lt;P&gt;      VALUE(IT_EVENTS) TYPE  SLIS_T_EVENT                &lt;/P&gt;&lt;P&gt;      VALUE(IT_SORT) TYPE  SLIS_T_SORTINFO_ALV OPTIONAL  &lt;/P&gt;&lt;P&gt;      VALUE(I_TEXT) TYPE  SLIS_TEXT40 DEFAULT SPACE      &lt;/P&gt;&lt;P&gt;TABLES                                                   &lt;/P&gt;&lt;P&gt;       T_OUTTAB_HEADER                                   &lt;/P&gt;&lt;P&gt;       T_OUTTAB_ITEM                                     &lt;/P&gt;&lt;P&gt;EXCEPTIONS                                               &lt;/P&gt;&lt;P&gt;       PROGRAM_ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_LAYOUT: - &lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_FIELDCAT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IS_KEYINFO: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_HEADER_TABNAME: -&lt;/P&gt;&lt;P&gt;Same as I_TABNAME_HEADER in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_ITEM_TABNAME: -&lt;/P&gt;&lt;P&gt;Same as I_TABNAME_ITEM in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_EVENTS: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_SORT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_TEXT: -&lt;/P&gt;&lt;P&gt;T_OUTTAB_HEADER: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;T_OUTTAB_ITEM: - &lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. REUSE_ALV_BLOCK_LIST_DISPLAY: - (This module is called display blocks after appending then.)&lt;/P&gt;&lt;P&gt;IMPORTING                                                     &lt;/P&gt;&lt;P&gt;     VALUE(I_INTERFACE_CHECK) DEFAULT SPACE                  &lt;/P&gt;&lt;P&gt;     VALUE(IS_PRINT) TYPE  SLIS_PRINT_ALV OPTIONAL           &lt;/P&gt;&lt;P&gt;     VALUE(I_SCREEN_START_COLUMN) DEFAULT 0                  &lt;/P&gt;&lt;P&gt;     VALUE(I_SCREEN_START_LINE) DEFAULT 0                    &lt;/P&gt;&lt;P&gt;     VALUE(I_SCREEN_END_COLUMN) DEFAULT 0                    &lt;/P&gt;&lt;P&gt;     VALUE(I_SCREEN_END_LINE) DEFAULT 0                      &lt;/P&gt;&lt;P&gt;EXPORTING                                                     &lt;/P&gt;&lt;P&gt;     VALUE(E_EXIT_CAUSED_BY_CALLER)                          &lt;/P&gt;&lt;P&gt;     VALUE(ES_EXIT_CAUSED_BY_USER) TYPE  SLIS_EXIT_BY_USER   &lt;/P&gt;&lt;P&gt;EXCEPTIONS                                                    &lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR&lt;/P&gt;&lt;P&gt;I_INTERFACE_CHECK: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IS_PRINT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_SCREEN_START_COLUMN: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_SCREEN_START_LINE: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_SCREEN_END_COLUMN: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_SCREEN_END_LINE: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;E_EXIT_CAUSED_BY_CALLER: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;ES_EXIT_CAUSED_BY_USER: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10.REUSE_ALV_LIST_LAYOUT_INFO_GET: - (this module is used to read current ALV list information)&lt;/P&gt;&lt;P&gt;XPORTING                                           &lt;/P&gt;&lt;P&gt;     VALUE(ES_LAYOUT) TYPE  SLIS_LAYOUT_ALV        &lt;/P&gt;&lt;P&gt;     VALUE(ET_FIELDCAT) TYPE  SLIS_T_FIELDCAT_ALV  &lt;/P&gt;&lt;P&gt;     VALUE(ET_SORT) TYPE  SLIS_T_SORTINFO_ALV      &lt;/P&gt;&lt;P&gt;     VALUE(ET_FILTER) TYPE  SLIS_T_FILTER_ALV      &lt;/P&gt;&lt;P&gt;     VALUE(ES_LIST_SCROLL) TYPE  SLIS_LIST_SCROLL  &lt;/P&gt;&lt;P&gt;     VALUE(ES_VARIANT) LIKE  DISVARIANT            &lt;/P&gt;&lt;P&gt;                     STRUCTURE  DISVARIANT         &lt;/P&gt;&lt;P&gt;XCEPTIONS                                          &lt;/P&gt;&lt;P&gt;      NO_INFOS                                     &lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR&lt;/P&gt;&lt;P&gt;ES_LAYOUT: -&lt;/P&gt;&lt;P&gt;Same as IT_LAYOUT in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;ET_FIELDCAT: -&lt;/P&gt;&lt;P&gt;Same as IT_FIELDCAT in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;ET_SORT: -&lt;/P&gt;&lt;P&gt;Same as IT_SORT in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;ET_FILTER: -&lt;/P&gt;&lt;P&gt;Same as IT_FILTER in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;ES_LIST_SCROLL: -&lt;/P&gt;&lt;P&gt;Structure with fields which describe the current list scroll status:      &lt;/P&gt;&lt;P&gt;o  lsind                                                                  &lt;/P&gt;&lt;P&gt;   See the documentation of the system field SY-LSIND                     &lt;/P&gt;&lt;P&gt;o  cpage                                                                  &lt;/P&gt;&lt;P&gt;   See the documentation of the system field SY-CPAGE &lt;/P&gt;&lt;P&gt;o  staro                                                                  &lt;/P&gt;&lt;P&gt;   See the documentation of the system field SY-STARO &lt;/P&gt;&lt;P&gt;o  cursor_line                                                            &lt;/P&gt;&lt;P&gt;   Current cursor row position in the list (not in the internal output    &lt;/P&gt;&lt;P&gt;   Table)                                                                                &lt;/P&gt;&lt;P&gt;o cursor_offset                                                          &lt;/P&gt;&lt;P&gt;   current cursor column position in the list (not in the internal output table)&lt;/P&gt;&lt;P&gt;ES_VARIANT: -&lt;/P&gt;&lt;P&gt;Same as IS_VARIANT in REUSE_ALV_LIST_DISPLAY &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;sitaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2008 06:57:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-23T06:57:03Z</dc:date>
    <item>
      <title>Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863264#M928551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi! all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             can anybody explain what does the following Function Module dose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. REUSE_ALV_FIELDCATALOG_MERGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. REUSE_ALV_BLOCK_LIST_APPEND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. REUSE_ALV_BLOCK_LIST_DISPLAY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are the parameters to be passed to the Function Module &lt;STRONG&gt;REUSE_ALV_BLOCK_LIST_DISPLAY&lt;/STRONG&gt;  .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 06:45:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863264#M928551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T06:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863265#M928552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REUSE_ALV_FIELDCATALOG_MERGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; you can get the fieldcat of the structure or table you used directly from DDIC. your internal table structure must be same as that of ddic structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  in blocked alv you use this function module. its used to append all the tables which are to be displayed on the o/p. it Appends Simple List in Block Mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. REUSE_ALV_BLOCK_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   its used to dispaly the o/p of report in normal list format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to pass any parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      program_error = 1&lt;/P&gt;&lt;P&gt;      OTHERS        = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 06:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863265#M928552</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-05-23T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863266#M928553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classical Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A classic report is a program that generates a single list, which must contain all of the required detail information.&lt;/P&gt;&lt;P&gt;1) This procedure may result in extensive lists from which the user has to pick the relevant data.&lt;/P&gt;&lt;P&gt;2) For background processing, this is the only possible method. After starting a background job, there is no way of influencing the program.&lt;/P&gt;&lt;P&gt;3) The desired selections must be made beforehand and the list must provide detailed information.&lt;/P&gt;&lt;P&gt;4) For dialog sessions, there are no such restrictions.&lt;/P&gt;&lt;P&gt;5) The user is present during the execution of the program and can control and manipulate the program flow directly.&lt;/P&gt;&lt;P&gt;6) To be able to use all advantages of the online environment, classical reporting was developed into interactive reporting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV&lt;/P&gt;&lt;P&gt;ABAP List Viewer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The common features of report are column alignment, sorting, filtering, subtotals, totals etc. To implement these, a lot of coding and logic is to be put. To avoid that we can use a concept called ABAP List Viewer (ALV).&lt;/P&gt;&lt;P&gt;This helps us to implement all the features mentioned very effectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using ALV, We can have three types of reports:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Simple Report&lt;/P&gt;&lt;P&gt;2. Block Report&lt;/P&gt;&lt;P&gt;3. Hierarchical Sequential Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some function modules which will enable to produce the above reports without much effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the definitions of internal tables, structures and constants are declared in a type-pool called SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SIMPLE REPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important function modules are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. Reuse_alv_list_display&lt;/P&gt;&lt;P&gt;b. Reuse_alv_fieldcatalog_merge&lt;/P&gt;&lt;P&gt;c. Reuse_alv_events_get&lt;/P&gt;&lt;P&gt;d. Reuse_alv_commentary_write&lt;/P&gt;&lt;P&gt;e. Reuse_alv_grid_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. REUSE_ALV_LIST_DISPLAY : This is the function module which prints the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important parameters are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I. Export :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i. I_callback_program : report id&lt;/P&gt;&lt;P&gt;ii. I_callback_pf_status_set : routine where a user can set his own pf status or change the functionality of the existing pf status&lt;/P&gt;&lt;P&gt;iii. I_callback_user_command : routine where the function codes are handled&lt;/P&gt;&lt;P&gt;iv. I_structure name : name of the dictionary table&lt;/P&gt;&lt;P&gt;v. Is_layout : structure to set the layout of the report&lt;/P&gt;&lt;P&gt;vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module &lt;/P&gt;&lt;P&gt;vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II. Tables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i. t_outtab : internal table with the data to be output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_FIELDCATALOG_MERGE : This function module is used to populate a fieldcatalog which is essential to display the data in ALV. If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter(I_structure name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Important Parameters are :&lt;/P&gt;&lt;P&gt;I. Export :&lt;/P&gt;&lt;P&gt;i. I_program_name : report id&lt;/P&gt;&lt;P&gt;ii. I_internal_tabname : the internal output table&lt;/P&gt;&lt;P&gt;iii. I_inclname : include the report name where all the dynamic forms are handled.&lt;/P&gt;&lt;P&gt;II Changing&lt;/P&gt;&lt;P&gt;ct_fieldcat : an internal table with the type SLIS_T_FIELDCAT_ALV which is&lt;/P&gt;&lt;P&gt;declared in the type pool SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_EVENTS_GET : Returns table of possible events for a list type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters :&lt;/P&gt;&lt;P&gt;I. Import :&lt;/P&gt;&lt;P&gt;Et_Events : The event table is returned with all possible CALLBACK events&lt;/P&gt;&lt;P&gt;for the specified list type (column 'NAME'). For events to be processed by Callback, their 'FORM' field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field 'FORM' filled and the entry modified using constants from the type pool SALV.&lt;/P&gt;&lt;P&gt;II. Export :&lt;/P&gt;&lt;P&gt;I_List_type :&lt;/P&gt;&lt;P&gt;0 = simple list REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;1 = hierarchcal-sequential list REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;2 = simple block list REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;3 = hierarchical-sequential block list&lt;/P&gt;&lt;P&gt;REUSE_ALV_BLOCK_LIST_HS_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D. REUSE_ALV_COMMENTARY_WRITE : This is used in the Top-of-page event to print the headings and other comments for the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I. it_list_commentary : internal table with the headings of the type slis_t_listheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This internal table has three fields :&lt;/P&gt;&lt;P&gt;Typ : u2018Hu2019 u2013 header, u2018Su2019 u2013 selection , u2018Au2019 - action&lt;/P&gt;&lt;P&gt;Key : only when typ is u2018Su2019.&lt;/P&gt;&lt;P&gt;Info : the text to be printed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E. REUSE_ALV_GRID_DISPLAY : A new function in 4.6 version, to display the results in grid rather than as a preview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters : same as reuse_alv_list_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example for simple list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. BLOCK REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used to have multiple lists continuously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important functions used in this report are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. REUSE_ALV_BLOCK_LIST_INIT&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_BLOCK_LIST_HS_APPEND&lt;/P&gt;&lt;P&gt;D. REUSE_ALV_BLOCK_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. REUSE_ALV_BLOCK_LIST_INIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters:&lt;/P&gt;&lt;P&gt;I. I_CALLBACK_PROGRAM&lt;/P&gt;&lt;P&gt;II. I_CALLBACK_PF_STATUS_SET&lt;/P&gt;&lt;P&gt;III. I_CALLBACK_USER_COMMAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used to set the default gui status etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export :&lt;/P&gt;&lt;P&gt;I. is_layout : layout settings for block&lt;/P&gt;&lt;P&gt;II. it_fieldcat : field catalog&lt;/P&gt;&lt;P&gt;III. i_tabname : internal table name with output data&lt;/P&gt;&lt;P&gt;IV. it_events : internal table with all possible events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables :&lt;/P&gt;&lt;P&gt;i. t_outtab : internal table with output data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module adds the data to the block.&lt;/P&gt;&lt;P&gt;Repeat this function for all the different blocks to be displayed one after the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_BLOCK_LIST_HS_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used for hierarchical sequential blocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D. REUSE_ALV_BLOCK_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters : All the parameters are optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module display the list with data appended by the above function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the functions REUSE_ALV_FIELDCATALOG_MERGE, REUSE_ALV_EVENTS_GET, REUSE_ALV_COMMENTARY_WRITE can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Hierarchical reports :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hierarchical sequential list output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters:&lt;/P&gt;&lt;P&gt;I. Export:&lt;/P&gt;&lt;P&gt;i. I_CALLBACK_PROGRAM&lt;/P&gt;&lt;P&gt;ii. I_CALLBACK_PF_STATUS_SET&lt;/P&gt;&lt;P&gt;iii. I_CALLBACK_USER_COMMAND&lt;/P&gt;&lt;P&gt;iv. IS_LAYOUT&lt;/P&gt;&lt;P&gt;v. IT_FIELDCAT&lt;/P&gt;&lt;P&gt;vi. IT_EVENTS&lt;/P&gt;&lt;P&gt;vii. i_tabname_header : Name of the internal table in the program containing the&lt;/P&gt;&lt;P&gt;output data of the highest hierarchy level.&lt;/P&gt;&lt;P&gt;viii. i_tabname_item : Name of the internal table in the program containing the&lt;/P&gt;&lt;P&gt;output data of the lowest hierarchy level.&lt;/P&gt;&lt;P&gt;ix. is_keyinfo : This structure contains the header and item table field&lt;/P&gt;&lt;P&gt;names which link the two tables (shared key).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II. Tables&lt;/P&gt;&lt;P&gt;i. t_outtab_header : Header table with data to be output&lt;/P&gt;&lt;P&gt;ii. t_outtab_item : Name of the internal table in the program containing the&lt;/P&gt;&lt;P&gt;output data of the lowest hierarchy level.&lt;/P&gt;&lt;P&gt;slis_t_fieldcat_alv : This internal table contains the field attributes. This internal table can be populated automatically by using u2018REUSE_ALV_FIELDCATALOG_MERGEu2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important Attributes :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. col_pos : position of the column&lt;/P&gt;&lt;P&gt;B. fieldname : internal fieldname&lt;/P&gt;&lt;P&gt;C. tabname : internal table name&lt;/P&gt;&lt;P&gt;D. ref_fieldname : fieldname (dictionary)&lt;/P&gt;&lt;P&gt;E. ref_tabname : table (dictionary)&lt;/P&gt;&lt;P&gt;F. key(1) : column with key-color&lt;/P&gt;&lt;P&gt;G. icon(1) : icon&lt;/P&gt;&lt;P&gt;H. symbol(1) : symbol&lt;/P&gt;&lt;P&gt;I. checkbox(1) : checkbox&lt;/P&gt;&lt;P&gt;J. just(1) : (R)ight (L)eft (C)ent.&lt;/P&gt;&lt;P&gt;K. do_sum(1) : sum up&lt;/P&gt;&lt;P&gt;L. no_out(1) : (O)blig.(X)no out&lt;/P&gt;&lt;P&gt;M. outputlen : output length&lt;/P&gt;&lt;P&gt;N. seltext_l : long key word&lt;/P&gt;&lt;P&gt;O. seltext_m : middle key word&lt;/P&gt;&lt;P&gt;P. seltext_s : short key word&lt;/P&gt;&lt;P&gt;Q. reptext_ddic : heading (ddic)&lt;/P&gt;&lt;P&gt;R. ddictxt(1) : (S)hort (M)iddle (L)ong&lt;/P&gt;&lt;P&gt;S. datatype : datatype&lt;/P&gt;&lt;P&gt;T. hotspot(1) : hotspot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV provides following benefits over Classical report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You can sort, Cut, Copy, Paste the output data&lt;/P&gt;&lt;P&gt;2. Option to play around with the data&lt;/P&gt;&lt;P&gt;3. You can filter the data as per your requirement&lt;/P&gt;&lt;P&gt;4. You can do totaling or sub-totaling&lt;/P&gt;&lt;P&gt;5. You can reduce the number of columns which you want in output&lt;/P&gt;&lt;P&gt;6. You can download the output to excel or html or text file&lt;/P&gt;&lt;P&gt;7. You can have editable ALV &amp;amp; edit &amp;amp; save records&lt;/P&gt;&lt;P&gt;8. Data output is in tabular format --&amp;gt; User friendly output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE38 transaction &lt;/P&gt;&lt;P&gt;Type BCALV* and click F4&lt;/P&gt;&lt;P&gt;A list of all standard sample SAP ALV programs would be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. REUSE_ALV_BLOCK_LIST_INIT: - (This module is used for the initialization of blocks &amp;amp; called first before calling REUSE_ALV_BLOCK_LIST_APPEND or REUSE_ALV_BLOCK_LIST_HS_APPEND)&lt;/P&gt;&lt;P&gt;IMPORTING                                                 &lt;/P&gt;&lt;P&gt;     VALUE(I_CALLBACK_PROGRAM) LIKE  SY-REPID            &lt;/P&gt;&lt;P&gt;     VALUE(I_CALLBACK_PF_STATUS_SET) TYPE  SLIS_FORMNAME &lt;/P&gt;&lt;P&gt;                     DEFAULT SPACE                       &lt;/P&gt;&lt;P&gt;     VALUE(I_CALLBACK_USER_COMMAND) TYPE  SLIS_FORMNAME  &lt;/P&gt;&lt;P&gt;                     DEFAULT SPACE                       &lt;/P&gt;&lt;P&gt;     VALUE(IT_EXCLUDING) TYPE  SLIS_T_EXTAB OPTIONAL&lt;/P&gt;&lt;P&gt;I_CALLBACK_PROGRAM: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_CALLBACK_PF_STATUS_SET: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_CALLBACK_USER_COMMAND: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_EXCLUDING: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;7.REUSE_ALV_BLOCK_LIST_APPEND: -(this behaves same as REUSE_ALV_LIST_DISPLAY)&lt;/P&gt;&lt;P&gt;IMPORTING                                               &lt;/P&gt;&lt;P&gt;     VALUE(IS_LAYOUT) TYPE  SLIS_LAYOUT_ALV            &lt;/P&gt;&lt;P&gt;     VALUE(IT_FIELDCAT) TYPE  SLIS_T_FIELDCAT_ALV      &lt;/P&gt;&lt;P&gt;     VALUE(I_TABNAME) TYPE  SLIS_TABNAME               &lt;/P&gt;&lt;P&gt;     VALUE(IT_EVENTS) TYPE  SLIS_T_EVENT               &lt;/P&gt;&lt;P&gt;     VALUE(IT_SORT) TYPE  SLIS_T_SORTINFO_ALV OPTIONAL &lt;/P&gt;&lt;P&gt;     VALUE(I_TEXT) TYPE  SLIS_TEXT40 DEFAULT SPACE     &lt;/P&gt;&lt;P&gt;TABLES                                                  &lt;/P&gt;&lt;P&gt;      T_OUTTAB                                         &lt;/P&gt;&lt;P&gt;EXCEPTIONS                                              &lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR                                    &lt;/P&gt;&lt;P&gt;      MAXIMUM_OF_APPENDS_REACHED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_LAYOUT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_FIELDCAT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_TABNAME: -&lt;/P&gt;&lt;P&gt;IT_EVENTS: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_SORT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_TEXT: -&lt;/P&gt;&lt;P&gt;T_OUTTAB: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY &lt;/P&gt;&lt;P&gt;8.REUSE_ALV_BLOCK_LIST_HS_APPEND: -(this behaves same as REUSE_ALV_HIERSEQ_LIST_DISPLAY)&lt;/P&gt;&lt;P&gt;IMPORTING                                                &lt;/P&gt;&lt;P&gt;      VALUE(IS_LAYOUT) TYPE  SLIS_LAYOUT_ALV             &lt;/P&gt;&lt;P&gt;      VALUE(IT_FIELDCAT) TYPE  SLIS_T_FIELDCAT_ALV       &lt;/P&gt;&lt;P&gt;      VALUE(IS_KEYINFO) TYPE  SLIS_KEYINFO_ALV           &lt;/P&gt;&lt;P&gt;      VALUE(I_HEADER_TABNAME) TYPE  SLIS_TABNAME         &lt;/P&gt;&lt;P&gt;      VALUE(I_ITEM_TABNAME) TYPE  SLIS_TABNAME           &lt;/P&gt;&lt;P&gt;      VALUE(IT_EVENTS) TYPE  SLIS_T_EVENT                &lt;/P&gt;&lt;P&gt;      VALUE(IT_SORT) TYPE  SLIS_T_SORTINFO_ALV OPTIONAL  &lt;/P&gt;&lt;P&gt;      VALUE(I_TEXT) TYPE  SLIS_TEXT40 DEFAULT SPACE      &lt;/P&gt;&lt;P&gt;TABLES                                                   &lt;/P&gt;&lt;P&gt;       T_OUTTAB_HEADER                                   &lt;/P&gt;&lt;P&gt;       T_OUTTAB_ITEM                                     &lt;/P&gt;&lt;P&gt;EXCEPTIONS                                               &lt;/P&gt;&lt;P&gt;       PROGRAM_ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_LAYOUT: - &lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_FIELDCAT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IS_KEYINFO: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_HEADER_TABNAME: -&lt;/P&gt;&lt;P&gt;Same as I_TABNAME_HEADER in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_ITEM_TABNAME: -&lt;/P&gt;&lt;P&gt;Same as I_TABNAME_ITEM in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_EVENTS: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IT_SORT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_TEXT: -&lt;/P&gt;&lt;P&gt;T_OUTTAB_HEADER: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;T_OUTTAB_ITEM: - &lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_HIERSEQ_LIST_DISPLAY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. REUSE_ALV_BLOCK_LIST_DISPLAY: - (This module is called display blocks after appending then.)&lt;/P&gt;&lt;P&gt;IMPORTING                                                     &lt;/P&gt;&lt;P&gt;     VALUE(I_INTERFACE_CHECK) DEFAULT SPACE                  &lt;/P&gt;&lt;P&gt;     VALUE(IS_PRINT) TYPE  SLIS_PRINT_ALV OPTIONAL           &lt;/P&gt;&lt;P&gt;     VALUE(I_SCREEN_START_COLUMN) DEFAULT 0                  &lt;/P&gt;&lt;P&gt;     VALUE(I_SCREEN_START_LINE) DEFAULT 0                    &lt;/P&gt;&lt;P&gt;     VALUE(I_SCREEN_END_COLUMN) DEFAULT 0                    &lt;/P&gt;&lt;P&gt;     VALUE(I_SCREEN_END_LINE) DEFAULT 0                      &lt;/P&gt;&lt;P&gt;EXPORTING                                                     &lt;/P&gt;&lt;P&gt;     VALUE(E_EXIT_CAUSED_BY_CALLER)                          &lt;/P&gt;&lt;P&gt;     VALUE(ES_EXIT_CAUSED_BY_USER) TYPE  SLIS_EXIT_BY_USER   &lt;/P&gt;&lt;P&gt;EXCEPTIONS                                                    &lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR&lt;/P&gt;&lt;P&gt;I_INTERFACE_CHECK: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;IS_PRINT: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_SCREEN_START_COLUMN: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_SCREEN_START_LINE: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_SCREEN_END_COLUMN: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;I_SCREEN_END_LINE: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;E_EXIT_CAUSED_BY_CALLER: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;ES_EXIT_CAUSED_BY_USER: -&lt;/P&gt;&lt;P&gt;Same as in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10.REUSE_ALV_LIST_LAYOUT_INFO_GET: - (this module is used to read current ALV list information)&lt;/P&gt;&lt;P&gt;XPORTING                                           &lt;/P&gt;&lt;P&gt;     VALUE(ES_LAYOUT) TYPE  SLIS_LAYOUT_ALV        &lt;/P&gt;&lt;P&gt;     VALUE(ET_FIELDCAT) TYPE  SLIS_T_FIELDCAT_ALV  &lt;/P&gt;&lt;P&gt;     VALUE(ET_SORT) TYPE  SLIS_T_SORTINFO_ALV      &lt;/P&gt;&lt;P&gt;     VALUE(ET_FILTER) TYPE  SLIS_T_FILTER_ALV      &lt;/P&gt;&lt;P&gt;     VALUE(ES_LIST_SCROLL) TYPE  SLIS_LIST_SCROLL  &lt;/P&gt;&lt;P&gt;     VALUE(ES_VARIANT) LIKE  DISVARIANT            &lt;/P&gt;&lt;P&gt;                     STRUCTURE  DISVARIANT         &lt;/P&gt;&lt;P&gt;XCEPTIONS                                          &lt;/P&gt;&lt;P&gt;      NO_INFOS                                     &lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR&lt;/P&gt;&lt;P&gt;ES_LAYOUT: -&lt;/P&gt;&lt;P&gt;Same as IT_LAYOUT in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;ET_FIELDCAT: -&lt;/P&gt;&lt;P&gt;Same as IT_FIELDCAT in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;ET_SORT: -&lt;/P&gt;&lt;P&gt;Same as IT_SORT in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;ET_FILTER: -&lt;/P&gt;&lt;P&gt;Same as IT_FILTER in REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;ES_LIST_SCROLL: -&lt;/P&gt;&lt;P&gt;Structure with fields which describe the current list scroll status:      &lt;/P&gt;&lt;P&gt;o  lsind                                                                  &lt;/P&gt;&lt;P&gt;   See the documentation of the system field SY-LSIND                     &lt;/P&gt;&lt;P&gt;o  cpage                                                                  &lt;/P&gt;&lt;P&gt;   See the documentation of the system field SY-CPAGE &lt;/P&gt;&lt;P&gt;o  staro                                                                  &lt;/P&gt;&lt;P&gt;   See the documentation of the system field SY-STARO &lt;/P&gt;&lt;P&gt;o  cursor_line                                                            &lt;/P&gt;&lt;P&gt;   Current cursor row position in the list (not in the internal output    &lt;/P&gt;&lt;P&gt;   Table)                                                                                &lt;/P&gt;&lt;P&gt;o cursor_offset                                                          &lt;/P&gt;&lt;P&gt;   current cursor column position in the list (not in the internal output table)&lt;/P&gt;&lt;P&gt;ES_VARIANT: -&lt;/P&gt;&lt;P&gt;Same as IS_VARIANT in REUSE_ALV_LIST_DISPLAY &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;sitaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 06:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863266#M928553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T06:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863267#M928554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REUSE_ALV_FIELDCATALOG_MERGE:  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used to populate a fieldcatalog which is essential to display the data in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as parameter (I_structure_name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REUSE_ALV_BLOCK_LIST_APPEND:Some of the important parameters are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export :&lt;/P&gt;&lt;P&gt;        a. IS_LAYOUT     :  layout settings for block&lt;/P&gt;&lt;P&gt;        b. IT_FIELDCAT  :  field catalog&lt;/P&gt;&lt;P&gt;        c. I_TABNAME    : Internal table name of the output data&lt;/P&gt;&lt;P&gt;        d.  IT_EVENTS    : internal table name with all possible events&lt;/P&gt;&lt;P&gt;Tables : &lt;/P&gt;&lt;P&gt;       a.  T_OUTTAB     :  internal table with output data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  This function module adds the data to the block&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REUSE_ALV_BLOCK_LIST_DISPLAY : All the parameters are optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module display the list with data appended by the above function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 06:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863267#M928554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T06:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863268#M928555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No parametes are required(Not mandatory) to pass into the FM 'REUSE_ALV_BLOCK_LIST_DISPLAY'.&lt;/P&gt;&lt;P&gt;you can comment all the parametes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in the FM REUSE_ALV_BLOCK_LIST_APPEND you need to fill the different tabnames and fieldcat names that you want to display in different blocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if helpful......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 07:06:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/3863268#M928555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T07:06:39Z</dc:date>
    </item>
  </channel>
</rss>

