<?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: Problem regarding ALV block list... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-alv-block-list/m-p/4466306#M1058220</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;Try to use function REUSE_ALV_BLOCK_LIST_APPEND instead &lt;/P&gt;&lt;P&gt;of REUSE_ALV_LIST_DISPLAY. &lt;/P&gt;&lt;P&gt;A good example for using this function is program &lt;/P&gt;&lt;P&gt;BALVBT01. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLOCK REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used to display multiple lists continuously.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_BLOCK_LIST_DISPLAY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D. REUSE_ALV_BLOCK_HS_LIST_APPEND&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;&lt;/P&gt;&lt;P&gt;a. I_CALLBACK_PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b. I_CALLBACK_PF_STATUS_SET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c. I_CALLBACK_USER_COMMAND&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Export :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. IS_LAYOUT : layout settings for block&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b. IT_FIELDCAT : field catalog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c. I_TABNAME : Internal table name of the output data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d. IT_EVENTS : internal table name with all possible events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables : &lt;/P&gt;&lt;P&gt;&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;INTERNAL TABLES IN SLIS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slis_t_fieldcat_alv :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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;&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;&lt;/P&gt;&lt;P&gt;b. fieldname : internal fieldname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c. tabname : internal table name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d. ref_fieldname : fieldname (dictionary)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e. ref_tabname : table (dictionary)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f. key(1) : column with key-color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g. icon(1) : icon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;h. hotspot(1) : hotspot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i. Symbol(1) : symbol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;j. Checkbox(1) : checkbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;k. just(1) : (R)ight (L)eft (C)ent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l. do_sum(1) : sum up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;m. no_out(1) : (O)blig. (X)no out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;n. outputlen : output length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o. seltext-l : long key word&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p. seltext_m : middle key word &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;q. seltext_s : short key word&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r. reptext_ddic : heading(ddic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s. ddictxt(1) : (S)hort (M)iddle (L)ong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t. datatype : datatype&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SLIS_T_EVENT :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table for storing all the possible events of the ALV. This can be populated by the function module Reuse_alv_events_get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The columns are : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name : name of the event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form : name of the routine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYNTAXES FOR THE ROUTINES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_CALLBACK_PF_STATUS_SET &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM set_pf_status USING rt_extab TYPE slis_t_extab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table RT_EXTAB contains the function codes which are hidden in the standard interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_CALLBACK_USER_COMMAND &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command USING r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter r_ucomm contains the function code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure rs_selfield has the details about the current cursor position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/sample-program-on-block-lists.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/sample-program-on-block-lists.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2008 09:40:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-15T09:40:20Z</dc:date>
    <item>
      <title>Problem regarding ALV block list...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-alv-block-list/m-p/4466305#M1058219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
Hello Experts, 

I am currently developing a report wherein I need to display 3 different tables but the
catch is, I need to replicate those 3 tables depending on the sort criteria. Lets
say I have a sort criteria by company code(BUKRS) and in my tables I have 3 company codes. So
what I need to do is to display 3 ALV blocks per company code so in my case I need to
display 9 ALV blocks because per company =  3 display. 

My problem is only the last company code is being displayed. Below is my code:

*   Initialize ALV
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        i_callback_program = gv_repid.
*        I_CALLBACK_PF_STATUS_SET       = ' '
*        I_CALLBACK_USER_COMMAND        = ' '
*        IT_EXCLUDING                   =

*   Prepare fields of internal tables for fieldcatalog
    DO lv_lines TIMES.
      ADD 1 TO lv_tabix.
      LOOP AT lt_itab_name INTO wa_itab_name.
        CALL METHOD cl_abap_structdescr=&amp;gt;describe_by_name
          EXPORTING
            p_name         = wa_itab_name-itab_name
          RECEIVING
            p_descr_ref    = lcl_typedescr
          EXCEPTIONS
            type_not_found = 1
            OTHERS         = 2.

        IF sy-subrc &amp;lt;&amp;gt; 0.
*          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
*                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.

        REFRESH lt_components.
        lcl_structdescr ?= lcl_typedescr.
        lt_components = lcl_structdescr-&amp;gt;components.

        me-&amp;gt;prepare_components( ).
        me-&amp;gt;build_layout( ).
        me-&amp;gt;set_print( ).
        me-&amp;gt;build_events( ).

        ASSIGN (wa_itab_name-itab_name2) TO &amp;lt;fs_itab&amp;gt;.

        CASE 'X'.
          WHEN rb_bukrs.
            READ TABLE lcl_process_data=&amp;gt;gt_sort_crit ASSIGNING &amp;lt;fs_sort_crit&amp;gt;
                                                      INDEX lv_tabix.
            IF sy-subrc = 0.
              CASE wa_itab_name-itab_name2.
                WHEN 'LT_OUTPUT_ACQ'.
                  lt_output_acq[] = lt_output_acq_dum[].
                  DELETE lt_output_acq WHERE bukrs &amp;lt;&amp;gt; &amp;lt;fs_sort_crit&amp;gt;-bukrs.
                WHEN 'LT_OUTPUT_RET'.
                  lt_output_ret[] = lt_output_ret_dum[].
                  DELETE lt_output_ret WHERE bukrs &amp;lt;&amp;gt; &amp;lt;fs_sort_crit&amp;gt;-bukrs.
                WHEN 'LT_OUTPUT_NET'.
                  lt_output_net[] = lt_output_net_dum[].
                  DELETE lt_output_net WHERE bukrs &amp;lt;&amp;gt; &amp;lt;fs_sort_crit&amp;gt;-bukrs.
              ENDCASE.
            ENDIF.
          WHEN rb_kostl.
            READ TABLE lcl_process_data=&amp;gt;gt_sort_crit ASSIGNING &amp;lt;fs_sort_crit&amp;gt;
                                                      INDEX lv_tabix.
            IF sy-subrc = 0.
              CASE wa_itab_name-itab_name2.
                WHEN 'LT_OUTPUT_ACQ'.
                  lt_output_acq[] = lt_output_acq_dum[].
                  DELETE lt_output_acq WHERE kostl &amp;lt;&amp;gt; &amp;lt;fs_sort_crit&amp;gt;-kostl.
                WHEN 'LT_OUTPUT_RET'.
                  lt_output_ret[] = lt_output_ret_dum[].
                  DELETE lt_output_ret WHERE kostl &amp;lt;&amp;gt; &amp;lt;fs_sort_crit&amp;gt;-kostl.
                WHEN 'LT_OUTPUT_NET'.
                  lt_output_net[] = lt_output_net_dum[].
                  DELETE lt_output_net WHERE kostl &amp;lt;&amp;gt; &amp;lt;fs_sort_crit&amp;gt;-kostl.
              ENDCASE.
            ENDIF.
        ENDCASE.

*       Append internal table for ALV block            
        me-&amp;gt;call_alv_block_fm(                          "&amp;lt;---This is where I append the internal tables
              EXPORTING
                im_itab_name = wa_itab_name-itab_name2
                im_itab      = &amp;lt;fs_itab&amp;gt; ).
      ENDLOOP.
    ENDDO.

    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
*      EXPORTING
*        I_INTERFACE_CHECK             = ' '
*        IS_PRINT                      =
*        I_SCREEN_START_COLUMN         = 0
*        I_SCREEN_START_LINE           = 0
*        I_SCREEN_END_COLUMN           = 0
*        I_SCREEN_END_LINE             = 0
*      IMPORTING
*        E_EXIT_CAUSED_BY_CALLER       =
*        ES_EXIT_CAUSED_BY_USER        =
      EXCEPTIONS
        program_error                 = 1
        OTHERS                        = 2.

    IF sy-subrc &amp;lt;&amp;gt; 0.
*      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
*              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 09:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-alv-block-list/m-p/4466305#M1058219</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2008-09-15T09:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem regarding ALV block list...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-alv-block-list/m-p/4466306#M1058220</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;Try to use function REUSE_ALV_BLOCK_LIST_APPEND instead &lt;/P&gt;&lt;P&gt;of REUSE_ALV_LIST_DISPLAY. &lt;/P&gt;&lt;P&gt;A good example for using this function is program &lt;/P&gt;&lt;P&gt;BALVBT01. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLOCK REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used to display multiple lists continuously.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_BLOCK_LIST_DISPLAY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D. REUSE_ALV_BLOCK_HS_LIST_APPEND&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;&lt;/P&gt;&lt;P&gt;a. I_CALLBACK_PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b. I_CALLBACK_PF_STATUS_SET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c. I_CALLBACK_USER_COMMAND&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Export :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. IS_LAYOUT : layout settings for block&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b. IT_FIELDCAT : field catalog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c. I_TABNAME : Internal table name of the output data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d. IT_EVENTS : internal table name with all possible events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables : &lt;/P&gt;&lt;P&gt;&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;INTERNAL TABLES IN SLIS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slis_t_fieldcat_alv :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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;&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;&lt;/P&gt;&lt;P&gt;b. fieldname : internal fieldname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c. tabname : internal table name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d. ref_fieldname : fieldname (dictionary)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e. ref_tabname : table (dictionary)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f. key(1) : column with key-color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g. icon(1) : icon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;h. hotspot(1) : hotspot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i. Symbol(1) : symbol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;j. Checkbox(1) : checkbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;k. just(1) : (R)ight (L)eft (C)ent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l. do_sum(1) : sum up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;m. no_out(1) : (O)blig. (X)no out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;n. outputlen : output length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o. seltext-l : long key word&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p. seltext_m : middle key word &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;q. seltext_s : short key word&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r. reptext_ddic : heading(ddic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s. ddictxt(1) : (S)hort (M)iddle (L)ong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t. datatype : datatype&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SLIS_T_EVENT :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table for storing all the possible events of the ALV. This can be populated by the function module Reuse_alv_events_get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The columns are : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name : name of the event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form : name of the routine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYNTAXES FOR THE ROUTINES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_CALLBACK_PF_STATUS_SET &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM set_pf_status USING rt_extab TYPE slis_t_extab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table RT_EXTAB contains the function codes which are hidden in the standard interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_CALLBACK_USER_COMMAND &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command USING r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter r_ucomm contains the function code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure rs_selfield has the details about the current cursor position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/sample-program-on-block-lists.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/sample-program-on-block-lists.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 09:40:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-alv-block-list/m-p/4466306#M1058220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T09:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem regarding ALV block list...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-alv-block-list/m-p/4466307#M1058221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I am using the said FM inside my method. Please see code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* METHOD call_alv_block_fm
  METHOD call_alv_block_fm.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        is_layout                        = gs_layout
        it_fieldcat                      = gt_fieldcat
        i_tabname                        = im_itab_name
        it_events                        = gt_events
        it_sort                          = gt_sort
*       I_TEXT                           = ' '
      TABLES
        t_outtab                         = im_itab
      EXCEPTIONS
        program_error                    = 1
        maximum_of_appends_reached       = 2
        OTHERS                           = 3.

    IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
  ENDMETHOD.                    "call_alv_block_fm

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 09:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-alv-block-list/m-p/4466307#M1058221</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2008-09-15T09:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem regarding ALV block list...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-alv-block-list/m-p/4466308#M1058222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 09:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-alv-block-list/m-p/4466308#M1058222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T09:56:03Z</dc:date>
    </item>
  </channel>
</rss>

