<?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: ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3314645#M793961</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;follwing is list of events :&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Feb 2008 12:55:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-03T12:55:05Z</dc:date>
    <item>
      <title>ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3314644#M793960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GURU's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to ALV&lt;/P&gt;&lt;P&gt;Can anyone pls list all the events and FM used in ALV reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 12:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3314644#M793960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-03T12:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3314645#M793961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;follwing is list of events :&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 12:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3314645#M793961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-03T12:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3314646#M793962</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;CHECK these links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple ALV report&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/controls/alvgrid.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/controls/alvgrid.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Please give me general info on ALV.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=58286" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=58286&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=76490" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=76490&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=20591" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=20591&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=66305" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=66305&lt;/A&gt; - this one discusses which way should you use - ABAP Objects calls or simple function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How do I program double click in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=11601" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=11601&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=23010" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=23010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. How do I add subtotals (I have problem to add them)...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=20386" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=20386&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=85191" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=85191&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=88401" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=88401&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=17335" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=17335&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. How to add list heading like top-of-page in ABAP lists?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=58775" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=58775&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=60550" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=60550&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=16629" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=16629&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. How to print page number / total number of pages X/XX in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=29597" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=29597&lt;/A&gt; (no direct solution)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=64320" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=64320&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=44477" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=44477&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. How can I set the cell color in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=52107" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=52107&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. How do I print a logo/graphics in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=81149" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=81149&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=35498" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=35498&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=5013" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=5013&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. How do I create and use input-enabled fields in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=84933" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=84933&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=69878" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=69878&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. How can I use ALV for reports that are going to be run in background?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=83243" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=83243&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=19224" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=19224&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11. How can I display an icon in ALV? (Common requirement is traffic light icon).&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=79424" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=79424&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=24512" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=24512&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12. How can I display a checkbox in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=88376" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=88376&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=40968" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=40968&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=6919" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=6919&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIMPLE ALV:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZV_MC_CONCO_CUST_MASTER_ALV LINE-SIZE 140 LINE-COUNT 35 NO&lt;/P&gt;&lt;P&gt;STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report: ZV_MC_CONCO_CUST_MASTER_ALV * &lt;/P&gt;&lt;P&gt;Version no.: 1.0 * &lt;/P&gt;&lt;P&gt;Author: V.Raj Kumar * &lt;/P&gt;&lt;P&gt;Application: SD * &lt;/P&gt;&lt;P&gt;Date created: 14/01/2003 * &lt;/P&gt;&lt;P&gt;Description: Report To Get Sales Document-Wise Materail Details * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modification history * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request no. |Date |Programmer | Description * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;|14/01/2003|V.Raj Kumar | Initial implementation * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Decalring Data Area for List viewer... * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS: SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;FIELDCAT_LN LIKE LINE OF FIELDCAT,&lt;/P&gt;&lt;P&gt;SORTCAT TYPE SLIS_T_SORTINFO_ALV,&lt;/P&gt;&lt;P&gt;SORTCAT_LN LIKE LINE OF SORTCAT,&lt;/P&gt;&lt;P&gt;EVENTCAT TYPE SLIS_T_EVENT,&lt;/P&gt;&lt;P&gt;EVENTCAT_LN LIKE LINE OF EVENTCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: COL_POS TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures and Internal tables &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF IVBAP OCCURS 0,&lt;/P&gt;&lt;P&gt;VBELN LIKE VBAP-VBELN,&lt;/P&gt;&lt;P&gt;POSNR LIKE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;MATNR LIKE VBAP-MATNR,&lt;/P&gt;&lt;P&gt;MATKL LIKE VBAP-MATKL,&lt;/P&gt;&lt;P&gt;CHARG LIKE VBAP-CHARG,&lt;/P&gt;&lt;P&gt;KWMENG LIKE VBAP-KWMENG,&lt;/P&gt;&lt;P&gt;VRKME LIKE VBAP-VRKME,&lt;/P&gt;&lt;P&gt;ARKTX LIKE VBAP-ARKTX,&lt;/P&gt;&lt;P&gt;END OF IVBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection into Internal Table &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBELN POSNR MATNR MATKL KWMENG VRKME INTO CORRESPONDING FIELDS OF&lt;/P&gt;&lt;P&gt;TABLE IVBAP FROM VBAP WHERE VBELN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building Field Catelogs. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;PERFORM BUILD_FIELDCAT.&lt;/P&gt;&lt;P&gt;PERFORM BUILD_FIELDCAT2.&lt;/P&gt;&lt;P&gt;PERFORM BUILD_FIELDCAT3.&lt;/P&gt;&lt;P&gt;PERFORM BUILD_SORTCAT.&lt;/P&gt;&lt;P&gt;PERFORM BUILD_SORTCAT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building Event Catelogs. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;PERFORM BUILD_EVENTCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start List Viewer. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;PERFORM START_LIST_VIEWER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form Routines. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;FORM BUILD_FIELDCAT.&lt;/P&gt;&lt;P&gt;ADD 1 TO COL_POS.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-REF_TABNAME = 'VBAP'.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-FIELDNAME = 'VBELN'.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-KEY = 'X'.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-DO_SUM = SPACE.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-COL_POS = COL_POS.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-NO_OUT = SPACE.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-QFIELDNAME = SPACE.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-HOTSPOT = 'X'.&lt;/P&gt;&lt;P&gt;APPEND FIELDCAT_LN TO FIELDCAT.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BUILD_FIELDCAT2.&lt;/P&gt;&lt;P&gt;ADD 1 TO COL_POS.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-TABNAME = 'VBAP'.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-FIELDNAME = 'MATNR'.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-KEY = SPACE.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-DO_SUM = SPACE.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-COL_POS = COL_POS.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-NO_OUT = SPACE.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-QFIELDNAME = SPACE.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-HOTSPOT = SPACE.&lt;/P&gt;&lt;P&gt;APPEND FIELDCAT_LN TO FIELDCAT.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BUILD_FIELDCAT3.&lt;/P&gt;&lt;P&gt;ADD 1 TO COL_POS.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-TABNAME = 'VBAP'.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-FIELDNAME = 'MATKL'.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-KEY = SPACE.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-DO_SUM = 'X'.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-COL_POS = COL_POS.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-NO_OUT = SPACE.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-QFIELDNAME = SPACE.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-HOTSPOT = SPACE.&lt;/P&gt;&lt;P&gt;APPEND FIELDCAT_LN TO FIELDCAT.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BUILD_SORTCAT.&lt;/P&gt;&lt;P&gt;SORTCAT_LN-SPOS = '1'.&lt;/P&gt;&lt;P&gt;SORTCAT_LN-FIELDNAME = 'MATNR'.&lt;/P&gt;&lt;P&gt;SORTCAT_LN-UP = 'X'.&lt;/P&gt;&lt;P&gt;SORTCAT_LN-DOWN = SPACE.&lt;/P&gt;&lt;P&gt;SORTCAT_LN-SUBTOT = 'X'.&lt;/P&gt;&lt;P&gt;APPEND SORTCAT_LN TO SORTCAT.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BUILD_SORTCAT2.&lt;/P&gt;&lt;P&gt;SORTCAT_LN-SPOS = '2'.&lt;/P&gt;&lt;P&gt;SORTCAT_LN-FIELDNAME = 'VRKME'.&lt;/P&gt;&lt;P&gt;SORTCAT_LN-UP = SPACE.&lt;/P&gt;&lt;P&gt;SORTCAT_LN-DOWN = 'X'.&lt;/P&gt;&lt;P&gt;SORTCAT_LN-SUBTOT = SPACE.&lt;/P&gt;&lt;P&gt;APPEND SORTCAT_LN TO SORTCAT.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BUILD_EVENTCAT.&lt;/P&gt;&lt;P&gt;EVENTCAT_LN-NAME = 'TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;EVENTCAT_LN-FORM = 'PAGE_HEADER'.&lt;/P&gt;&lt;P&gt;APPEND EVENTCAT_LN TO EVENTCAT.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM START_LIST_VIEWER.&lt;/P&gt;&lt;P&gt;DATA: PGM LIKE SY-REPID.&lt;/P&gt;&lt;P&gt;PGM = SY-REPID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_INTERFACE_CHECK = ' ' &lt;/P&gt;&lt;P&gt;I_BYPASSING_BUFFER = &lt;/P&gt;&lt;P&gt;I_BUFFER_ACTIVE = ' ' &lt;/P&gt;&lt;P&gt;I_CALLBACK_PROGRAM = PGM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_CALLBACK_PF_STATUS_SET = ' ' &lt;/P&gt;&lt;P&gt;I_CALLBACK_USER_COMMAND = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_STRUCTURE_NAME = &lt;/P&gt;&lt;P&gt;IS_LAYOUT = &lt;/P&gt;&lt;P&gt;IT_FIELDCAT = FIELDCAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_EXCLUDING = &lt;/P&gt;&lt;P&gt;IT_SPECIAL_GROUPS = &lt;/P&gt;&lt;P&gt;IT_SORT = SORTCAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_FILTER = &lt;/P&gt;&lt;P&gt;IS_SEL_HIDE = &lt;/P&gt;&lt;P&gt;I_DEFAULT = 'X' &lt;/P&gt;&lt;P&gt;I_SAVE = 'A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_VARIANT = &lt;/P&gt;&lt;P&gt;IT_EVENTS = &lt;/P&gt;&lt;P&gt;IT_EVENT_EXIT = &lt;/P&gt;&lt;P&gt;IS_PRINT = &lt;/P&gt;&lt;P&gt;IS_REPREP_ID = &lt;/P&gt;&lt;P&gt;I_SCREEN_START_COLUMN = 0 &lt;/P&gt;&lt;P&gt;I_SCREEN_START_LINE = 0 &lt;/P&gt;&lt;P&gt;I_SCREEN_END_COLUMN = 0 &lt;/P&gt;&lt;P&gt;I_SCREEN_END_LINE = 0 &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;E_EXIT_CAUSED_BY_CALLER = &lt;/P&gt;&lt;P&gt;ES_EXIT_CAUSED_BY_USER = &lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;T_OUTTAB = IVBAP&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;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing Call back events. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;READ TABLE IVBAP INDEX SELFIELD-TABINDEX.&lt;/P&gt;&lt;P&gt;CHECK SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;CASE UCOMM.&lt;/P&gt;&lt;P&gt;WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;CASE SELFIELD-SEL_TAB_FIELD.&lt;/P&gt;&lt;P&gt;WHEN 'IVBAP-VBELN'.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'AUN' FIELD IVBAP-VBELN.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;WHEN 'IVBAP-VBELN'.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'MAT' FIELD IVBAP-MATNR.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;GAURAV. J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 13:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3314646#M793962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-03T13:07:26Z</dc:date>
    </item>
  </channel>
</rss>

