<?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: data dictionary in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521531#M570778</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;If you have this routine, the program will print whatever information you specify at the end of the report. For end-of-page routine to work, you have to specify the number of line-count for the end-of-page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba06935c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba06935c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;think, you can see the end of page only on Hard copies but it is not possible to see it on the screen.&lt;/P&gt;&lt;P&gt;You can test that by using the program BCALV_TEST_HIERSEQ_LIST_EVENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. execute the above program&lt;/P&gt;&lt;P&gt;2.Check the check boxes top-of -page, end-of-page,top-of list,end-of-list&lt;/P&gt;&lt;P&gt;3. execute again&lt;/P&gt;&lt;P&gt;4. you will not see end-of-page in the output.&lt;/P&gt;&lt;P&gt;from above, not possible to watch end-of-page on the screen.&lt;/P&gt;&lt;P&gt;I think it can be obtained on the hard copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code: &lt;/P&gt;&lt;P&gt;CLEAR: ls_event.&lt;/P&gt;&lt;P&gt;ls_event-name = 'END_OF_LIST'.&lt;/P&gt;&lt;P&gt;ls_event-form = 'END_OF_LIST'.&lt;/P&gt;&lt;P&gt;APPEND ls_event TO gt_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: ls_event.&lt;/P&gt;&lt;P&gt;ls_event-name = 'END_OF_PAGE'.&lt;/P&gt;&lt;P&gt;ls_event-form = 'END_OF_PAGE'.&lt;/P&gt;&lt;P&gt;APPEND ls_event TO gt_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FORM END_OF_PAGE *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;FORM end_of_list.&lt;/P&gt;&lt;P&gt;DATA: listwidth TYPE i,&lt;/P&gt;&lt;P&gt;ld_pagepos(10) TYPE c,&lt;/P&gt;&lt;P&gt;ld_page(10) TYPE c.&lt;/P&gt;&lt;P&gt;WRITE: sy-uline(50).&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;WRITE:/40 'No of records: '.&lt;/P&gt;&lt;P&gt;ENDFORM. "end_of_list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FORM END_OF_LIST *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;FORM end_of_page.&lt;/P&gt;&lt;P&gt;DATA: listwidth TYPE i,&lt;/P&gt;&lt;P&gt;ld_pagepos(10) TYPE c,&lt;/P&gt;&lt;P&gt;ld_page(10) TYPE c.&lt;/P&gt;&lt;P&gt;SKIP. WRITE:/ 'Page:', sy-pagno .&lt;/P&gt;&lt;P&gt;Only events with a form routine name are processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The I_EVENTS table returns with the following possible constants:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Slis_ev_item_data_expand TYPE slis_formname VALUE 'ITEM_DATA_EXPAND'. &lt;/P&gt;&lt;P&gt;Only relevant for hierarchical-sequential lists using the layout parameter IS_LAYOUT-EXPAND_FIELDNAME of the structure IS_LAYOUT. Exit for passing item entries (ITEM table) for a header record that was expanded interactively by the user.&lt;/P&gt;&lt;P&gt;2. Slis_ev_reprep_sel_modify TYPE slis_formname VALUE 'REPREP_SEL_MODIFY'.&lt;/P&gt;&lt;P&gt;RS_SELFIELD-TABINDEX contains the header table index for which the item entries are to be put in the global item output table (T_OUTTAB_SLAVE). The Callback is only called if ALV has no items for a header that is to be expanded.&lt;/P&gt;&lt;P&gt;RFLG_ALL is passed with 'X' if the user shows all items. The application must ensure that entries are not repeated in the item table.&lt;/P&gt;&lt;P&gt;RS_SELFIELD is initial in this case. &lt;/P&gt;&lt;P&gt;3. Slis_ev_caller_exit_at_start TYPE slis_formname VALUE 'CALLER_EXIT'.&lt;/P&gt;&lt;P&gt;Is called at the beginning of the function module to make special settings. It is not usually used. &lt;/P&gt;&lt;P&gt;4. Slis_ev_user_command TYPE slis_formname VALUE 'USER_COMMAND'.&lt;/P&gt;&lt;P&gt;As this is a frequently-used Callback event, the form routine can also be passed directly in the interface by passing the user command in the IMPORTING parameter I_CALLBACK_USER_COMMAND.&lt;/P&gt;&lt;P&gt;5. Slis_ev_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;Equivalent to the list processing TOP-OF-PAGE event. &lt;/P&gt;&lt;P&gt;6. Slis_ev_top_of_coverpage TYPE slis_formname VALUE 'TOP_OF_COVERPAGE'. &lt;/P&gt;&lt;P&gt;The selection information and list status are output together (if they exist) on a separate page by default&lt;/P&gt;&lt;P&gt;7. Slis_ev_end_of_coverpage TYPE slis_formname VALUE 'END_OF_COVERPAGE'. &lt;/P&gt;&lt;P&gt;Analogously to TOP_OF_COVERPAGE the user can add other information&lt;/P&gt;&lt;P&gt;to the information output by ALV (selection information, list status) at this event.&lt;/P&gt;&lt;P&gt;8. Slis_ev_foreign_top_of_page TYPE slis_formname VALUE &amp;#145;FOREIGN_TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;The Top-of-page event is always processed in ALV and is only passed to the caller via the Callback mechanism. This is still the case if the caller, e.g. by a user action, processes a branch list which was not formatted by ALV (e.g. a popup with additional information about the list record selected and displayed by ALV).&lt;/P&gt;&lt;P&gt;In this case, top-of-page cannot be formatted by ALV analogously to the basic list, it must be handled completely by the caller. The event top-of-page still occurs in ALV. When ALV notices a top-of-page which was not caused by an ALV output, the form routine in FOREIGN_TOP_OF_PAGE is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. Slis_ev_foreign_end_of_page TYPE slis_formname VALUE 'FOREIGN_END_OF_PAGE'. &lt;/P&gt;&lt;P&gt;The event end-of-page is always processed in ALV and only passed to the caller via callback. This is still the case, e.g. when the caller processes a details list which was not formatted by ALV (e.g. a popup with further information about selected list records which were displayed by ALV).&lt;/P&gt;&lt;P&gt;In this case, end-of-page cannot be formatted by ALV analogously to the basic list, it must be handled completely by the caller. The event end-of-page still occurs in ALV. When ALV notices an end-of-page that was not caused by an ALV output, the form routine in FOREIGN_END_OF_PAGE is called. &lt;/P&gt;&lt;P&gt;10. Slis_ev_pf_status_set TYPE slis_formname VALUE 'PF_STATUS_SET'.&lt;/P&gt;&lt;P&gt;If a user list status is to be set, it must be done in the form routine assigned to this event. The ALV function codes, which must not be active, are in the Parameter RT_EXTAB. This table must be passed with the SET PF-STATUS command (with inactive user function codes as well, if necessary).&lt;/P&gt;&lt;P&gt;The STANDARD status of the function group SALV should be used as a template for a user-specific status. As this is a frequently used Callback event, its form routine can also be passed directly in the interface in the IMPORTING parameter I_CALLBACK_PF_STATUS_SET.&lt;/P&gt;&lt;P&gt;11. Slis_ev_list_modify TYPE slis_formname VALUE 'LIST_MODIFY'. &lt;/P&gt;&lt;P&gt;LIST_MODIFY USING R_TABNAME TYPE SLIS_TABNAME&lt;/P&gt;&lt;P&gt;R_INDEX LIKE SY-TABIX&lt;/P&gt;&lt;P&gt;R_INDEX_ITEM LIKE SY-TABIX&lt;/P&gt;&lt;P&gt;R_INDEX_SUM LIKE SY-TABIX.&lt;/P&gt;&lt;P&gt;12. Slis_ev_top_of_list TYPE slis_formname VALUE 'TOP_OF_LIST'. &lt;/P&gt;&lt;P&gt;Information output at the start of the list &lt;/P&gt;&lt;P&gt;13. Slis_ev_end_of_page TYPE slis_formname VALUE 'END_OF_PAGE'.&lt;/P&gt;&lt;P&gt;Information output at the end of a page. This is only called for printing.&lt;/P&gt;&lt;P&gt;14. Slis_ev_end_of_list TYPE slis_formname VALUE 'END_OF_LIST'. &lt;/P&gt;&lt;P&gt;Information output at the end of the list&lt;/P&gt;&lt;P&gt;15. Slis_ev_after_line_output TYPE slis_formname VALUE 'AFTER_LINE_OUTPUT'.&lt;/P&gt;&lt;P&gt;Output information after each output line. Should only be used in justified cases because it costs a lot of performance.&lt;/P&gt;&lt;P&gt;16. Slis_ev_before_line_output TYPE slis_formname VALUE 'BEFORE_LINE_OUTPUT'. &lt;/P&gt;&lt;P&gt;Output information before each output line. Should only be used in justified cases because it costs a lot of performance. &lt;/P&gt;&lt;P&gt;17. Slis_ev_subtotal_text TYPE slis_formname VALUE 'SUBTOTAL_TEXT'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event table (I_EVENTS) is now checked with the desired constants. If the desired constant is found, then the corresponding field for the FORM NAME is populated with the name of the routine containing the corresponding event.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
FORMNAME_END_OF_PAGE TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE', FORMNAME_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'USER_COMMAND'.
 
DATA: L_I_EVENT TYPE SLIS_ALV_EVENT.
 
  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
           I_LIST_TYPE = 0
       IMPORTING
            ET_EVENTS   = I_EVENTS.
 
  READ TABLE I_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
                           INTO L_I_EVENT.
  IF SY-SUBRC = 0.
    MOVE FORMNAME_TOP_OF_PAGE TO L_I_EVENT-FORM.
    APPEND L_I_EVENT TO I_EVENTS.
  ENDIF.
 
  READ TABLE I_EVENTS WITH KEY NAME = SLIS_EV_END_OF_PAGE
                           INTO L_I_EVENT.
  IF SY-SUBRC = 0.
    MOVE FORMNAME_END_OF_PAGE TO L_I_EVENT-FORM.
    APPEND L_I_EVENT TO I_EVENTS.
  ENDIF.
  CLEAR L_I_EVENT.
  READ TABLE I_EVENTS WITH KEY NAME = SLIS_EV_USER_COMMAND
                           INTO L_I_EVENT.
  IF SY-SUBRC = 0.
    MOVE FORMNAME_USER_COMMAND TO L_I_EVENT-FORM.
    APPEND L_I_EVENT TO I_EVENTS.
  ENDIF.
 


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-are-the-events-in-alv.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-are-the-events-in-alv.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers&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>Sat, 07 Jul 2007 08:48:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-07T08:48:13Z</dc:date>
    <item>
      <title>data dictionary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521530#M570777</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;when will end-of-page is triggered?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 08:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521530#M570777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T08:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: data dictionary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521531#M570778</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;If you have this routine, the program will print whatever information you specify at the end of the report. For end-of-page routine to work, you have to specify the number of line-count for the end-of-page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba06935c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba06935c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;think, you can see the end of page only on Hard copies but it is not possible to see it on the screen.&lt;/P&gt;&lt;P&gt;You can test that by using the program BCALV_TEST_HIERSEQ_LIST_EVENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. execute the above program&lt;/P&gt;&lt;P&gt;2.Check the check boxes top-of -page, end-of-page,top-of list,end-of-list&lt;/P&gt;&lt;P&gt;3. execute again&lt;/P&gt;&lt;P&gt;4. you will not see end-of-page in the output.&lt;/P&gt;&lt;P&gt;from above, not possible to watch end-of-page on the screen.&lt;/P&gt;&lt;P&gt;I think it can be obtained on the hard copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code: &lt;/P&gt;&lt;P&gt;CLEAR: ls_event.&lt;/P&gt;&lt;P&gt;ls_event-name = 'END_OF_LIST'.&lt;/P&gt;&lt;P&gt;ls_event-form = 'END_OF_LIST'.&lt;/P&gt;&lt;P&gt;APPEND ls_event TO gt_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: ls_event.&lt;/P&gt;&lt;P&gt;ls_event-name = 'END_OF_PAGE'.&lt;/P&gt;&lt;P&gt;ls_event-form = 'END_OF_PAGE'.&lt;/P&gt;&lt;P&gt;APPEND ls_event TO gt_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FORM END_OF_PAGE *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;FORM end_of_list.&lt;/P&gt;&lt;P&gt;DATA: listwidth TYPE i,&lt;/P&gt;&lt;P&gt;ld_pagepos(10) TYPE c,&lt;/P&gt;&lt;P&gt;ld_page(10) TYPE c.&lt;/P&gt;&lt;P&gt;WRITE: sy-uline(50).&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;WRITE:/40 'No of records: '.&lt;/P&gt;&lt;P&gt;ENDFORM. "end_of_list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FORM END_OF_LIST *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;FORM end_of_page.&lt;/P&gt;&lt;P&gt;DATA: listwidth TYPE i,&lt;/P&gt;&lt;P&gt;ld_pagepos(10) TYPE c,&lt;/P&gt;&lt;P&gt;ld_page(10) TYPE c.&lt;/P&gt;&lt;P&gt;SKIP. WRITE:/ 'Page:', sy-pagno .&lt;/P&gt;&lt;P&gt;Only events with a form routine name are processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The I_EVENTS table returns with the following possible constants:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Slis_ev_item_data_expand TYPE slis_formname VALUE 'ITEM_DATA_EXPAND'. &lt;/P&gt;&lt;P&gt;Only relevant for hierarchical-sequential lists using the layout parameter IS_LAYOUT-EXPAND_FIELDNAME of the structure IS_LAYOUT. Exit for passing item entries (ITEM table) for a header record that was expanded interactively by the user.&lt;/P&gt;&lt;P&gt;2. Slis_ev_reprep_sel_modify TYPE slis_formname VALUE 'REPREP_SEL_MODIFY'.&lt;/P&gt;&lt;P&gt;RS_SELFIELD-TABINDEX contains the header table index for which the item entries are to be put in the global item output table (T_OUTTAB_SLAVE). The Callback is only called if ALV has no items for a header that is to be expanded.&lt;/P&gt;&lt;P&gt;RFLG_ALL is passed with 'X' if the user shows all items. The application must ensure that entries are not repeated in the item table.&lt;/P&gt;&lt;P&gt;RS_SELFIELD is initial in this case. &lt;/P&gt;&lt;P&gt;3. Slis_ev_caller_exit_at_start TYPE slis_formname VALUE 'CALLER_EXIT'.&lt;/P&gt;&lt;P&gt;Is called at the beginning of the function module to make special settings. It is not usually used. &lt;/P&gt;&lt;P&gt;4. Slis_ev_user_command TYPE slis_formname VALUE 'USER_COMMAND'.&lt;/P&gt;&lt;P&gt;As this is a frequently-used Callback event, the form routine can also be passed directly in the interface by passing the user command in the IMPORTING parameter I_CALLBACK_USER_COMMAND.&lt;/P&gt;&lt;P&gt;5. Slis_ev_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;Equivalent to the list processing TOP-OF-PAGE event. &lt;/P&gt;&lt;P&gt;6. Slis_ev_top_of_coverpage TYPE slis_formname VALUE 'TOP_OF_COVERPAGE'. &lt;/P&gt;&lt;P&gt;The selection information and list status are output together (if they exist) on a separate page by default&lt;/P&gt;&lt;P&gt;7. Slis_ev_end_of_coverpage TYPE slis_formname VALUE 'END_OF_COVERPAGE'. &lt;/P&gt;&lt;P&gt;Analogously to TOP_OF_COVERPAGE the user can add other information&lt;/P&gt;&lt;P&gt;to the information output by ALV (selection information, list status) at this event.&lt;/P&gt;&lt;P&gt;8. Slis_ev_foreign_top_of_page TYPE slis_formname VALUE &amp;#145;FOREIGN_TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;The Top-of-page event is always processed in ALV and is only passed to the caller via the Callback mechanism. This is still the case if the caller, e.g. by a user action, processes a branch list which was not formatted by ALV (e.g. a popup with additional information about the list record selected and displayed by ALV).&lt;/P&gt;&lt;P&gt;In this case, top-of-page cannot be formatted by ALV analogously to the basic list, it must be handled completely by the caller. The event top-of-page still occurs in ALV. When ALV notices a top-of-page which was not caused by an ALV output, the form routine in FOREIGN_TOP_OF_PAGE is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. Slis_ev_foreign_end_of_page TYPE slis_formname VALUE 'FOREIGN_END_OF_PAGE'. &lt;/P&gt;&lt;P&gt;The event end-of-page is always processed in ALV and only passed to the caller via callback. This is still the case, e.g. when the caller processes a details list which was not formatted by ALV (e.g. a popup with further information about selected list records which were displayed by ALV).&lt;/P&gt;&lt;P&gt;In this case, end-of-page cannot be formatted by ALV analogously to the basic list, it must be handled completely by the caller. The event end-of-page still occurs in ALV. When ALV notices an end-of-page that was not caused by an ALV output, the form routine in FOREIGN_END_OF_PAGE is called. &lt;/P&gt;&lt;P&gt;10. Slis_ev_pf_status_set TYPE slis_formname VALUE 'PF_STATUS_SET'.&lt;/P&gt;&lt;P&gt;If a user list status is to be set, it must be done in the form routine assigned to this event. The ALV function codes, which must not be active, are in the Parameter RT_EXTAB. This table must be passed with the SET PF-STATUS command (with inactive user function codes as well, if necessary).&lt;/P&gt;&lt;P&gt;The STANDARD status of the function group SALV should be used as a template for a user-specific status. As this is a frequently used Callback event, its form routine can also be passed directly in the interface in the IMPORTING parameter I_CALLBACK_PF_STATUS_SET.&lt;/P&gt;&lt;P&gt;11. Slis_ev_list_modify TYPE slis_formname VALUE 'LIST_MODIFY'. &lt;/P&gt;&lt;P&gt;LIST_MODIFY USING R_TABNAME TYPE SLIS_TABNAME&lt;/P&gt;&lt;P&gt;R_INDEX LIKE SY-TABIX&lt;/P&gt;&lt;P&gt;R_INDEX_ITEM LIKE SY-TABIX&lt;/P&gt;&lt;P&gt;R_INDEX_SUM LIKE SY-TABIX.&lt;/P&gt;&lt;P&gt;12. Slis_ev_top_of_list TYPE slis_formname VALUE 'TOP_OF_LIST'. &lt;/P&gt;&lt;P&gt;Information output at the start of the list &lt;/P&gt;&lt;P&gt;13. Slis_ev_end_of_page TYPE slis_formname VALUE 'END_OF_PAGE'.&lt;/P&gt;&lt;P&gt;Information output at the end of a page. This is only called for printing.&lt;/P&gt;&lt;P&gt;14. Slis_ev_end_of_list TYPE slis_formname VALUE 'END_OF_LIST'. &lt;/P&gt;&lt;P&gt;Information output at the end of the list&lt;/P&gt;&lt;P&gt;15. Slis_ev_after_line_output TYPE slis_formname VALUE 'AFTER_LINE_OUTPUT'.&lt;/P&gt;&lt;P&gt;Output information after each output line. Should only be used in justified cases because it costs a lot of performance.&lt;/P&gt;&lt;P&gt;16. Slis_ev_before_line_output TYPE slis_formname VALUE 'BEFORE_LINE_OUTPUT'. &lt;/P&gt;&lt;P&gt;Output information before each output line. Should only be used in justified cases because it costs a lot of performance. &lt;/P&gt;&lt;P&gt;17. Slis_ev_subtotal_text TYPE slis_formname VALUE 'SUBTOTAL_TEXT'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event table (I_EVENTS) is now checked with the desired constants. If the desired constant is found, then the corresponding field for the FORM NAME is populated with the name of the routine containing the corresponding event.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
FORMNAME_END_OF_PAGE TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE', FORMNAME_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'USER_COMMAND'.
 
DATA: L_I_EVENT TYPE SLIS_ALV_EVENT.
 
  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
           I_LIST_TYPE = 0
       IMPORTING
            ET_EVENTS   = I_EVENTS.
 
  READ TABLE I_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
                           INTO L_I_EVENT.
  IF SY-SUBRC = 0.
    MOVE FORMNAME_TOP_OF_PAGE TO L_I_EVENT-FORM.
    APPEND L_I_EVENT TO I_EVENTS.
  ENDIF.
 
  READ TABLE I_EVENTS WITH KEY NAME = SLIS_EV_END_OF_PAGE
                           INTO L_I_EVENT.
  IF SY-SUBRC = 0.
    MOVE FORMNAME_END_OF_PAGE TO L_I_EVENT-FORM.
    APPEND L_I_EVENT TO I_EVENTS.
  ENDIF.
  CLEAR L_I_EVENT.
  READ TABLE I_EVENTS WITH KEY NAME = SLIS_EV_USER_COMMAND
                           INTO L_I_EVENT.
  IF SY-SUBRC = 0.
    MOVE FORMNAME_USER_COMMAND TO L_I_EVENT-FORM.
    APPEND L_I_EVENT TO I_EVENTS.
  ENDIF.
 


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-are-the-events-in-alv.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-are-the-events-in-alv.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers&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>Sat, 07 Jul 2007 08:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521531#M570778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T08:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: data dictionary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521532#M570779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a report program, you specify the size of the END-OF-PAGE area of list pages in the LINE-COUNT parameter of the REPORT statement (e.g. REPORT TEST LINE-COUNT 65(3)). If you do not define a size, the END-OF-PAGE area contains no lines and the event END-OF-PAGE is never executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you specify REPORT TEST LINE-COUNT 65(3)) then the END-OF-PAGE event is executed whenever processing reaches  65th line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Antony Thomas&lt;/P&gt;&lt;P&gt;Reward points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 08:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521532#M570779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T08:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: data dictionary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521533#M570780</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;at when will be triggered the end-of page,end -of selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 08:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521533#M570780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T08:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: data dictionary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521534#M570781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;End_of_ page event triggers when system encounters certain number of lines have been exceeded and new page to be triggerd ( in alv context system takes report zztest line-count 80 in to cosideration for triggering page break) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End_of_list event triggers once when system encounters that last record of the internal table has reached.this will be executed only once for the list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End-of-page : is footer of the page. End-of-selection: is triggered At the end of the processing block. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers&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>Sat, 07 Jul 2007 08:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-dictionary/m-p/2521534#M570781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T08:55:41Z</dc:date>
    </item>
  </channel>
</rss>

