<?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 regarding the function module 'REUSE_ALV_GRID_DISPLAY' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819534#M659463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wat do these things do in 'REUSE_ALV_GRID_DISPLAY' function module and how to use them??&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;      I_HTML_HEIGHT_TOP                 = 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2007 08:01:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-04T08:01:18Z</dc:date>
    <item>
      <title>regarding the function module 'REUSE_ALV_GRID_DISPLAY'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819534#M659463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wat do these things do in 'REUSE_ALV_GRID_DISPLAY' function module and how to use them??&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;      I_HTML_HEIGHT_TOP                 = 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 08:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819534#M659463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T08:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the function module 'REUSE_ALV_GRID_DISPLAY'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819535#M659464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should have a look at the documentation of the FM, after that you can come back with &amp;lt;i&amp;gt;specific&amp;lt;/i&amp;gt; questions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 08:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819535#M659464</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2007-10-04T08:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the function module 'REUSE_ALV_GRID_DISPLAY'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819536#M659465</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 out this link...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/sap/abap/controls/alvgrid.htm" target="test_blank"&gt;http://www.erpgenie.com/sap/abap/controls/alvgrid.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 08:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819536#M659465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T08:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the function module 'REUSE_ALV_GRID_DISPLAY'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819537#M659466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this standard program where it_special_groups is used&lt;/P&gt;&lt;P&gt;BALVSD01 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in the field catalog the columns were grouped together with field SP_GROUP, you must pass a table with texts for these groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the current layout window, it is then possible to use a list box to restrict column selection to one of these groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or go through this link which ll help you to give the details about REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/code/archives.asp?i=10&amp;amp;a=c" target="test_blank"&gt;http://sap.ittoolbox.com/code/archives.asp?i=10&amp;amp;a=c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harini.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 08:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819537#M659466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T08:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the function module 'REUSE_ALV_GRID_DISPLAY'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819538#M659467</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;See the function module Documentation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Passing an EXIT routine indicates to the ALV that the application wants to respond to certain function codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, these are function codes that are unknown to the ALV (that is, are not standard ALV functions) and that were defined and set by a user status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also the documentation on parameter I_CALLBACK_PF_STATUS_SET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interface of the form routine specified must be defined as follows:&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;rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter R_UCOMM contains the function code triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure RS_SELFIELD contains the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tabname : Name of the internal output table&lt;/P&gt;&lt;P&gt;tabindex : Index of the internal output table&lt;/P&gt;&lt;P&gt;fieldname: Field name&lt;/P&gt;&lt;P&gt;endsum : Cursor is located on the totals line&lt;/P&gt;&lt;P&gt;sumindex : If &amp;gt;0, the cursor is located on a subtotals line&lt;/P&gt;&lt;P&gt;value : Value of the field on the list&lt;/P&gt;&lt;P&gt;refresh : (Exporting) List should be set up again&lt;/P&gt;&lt;P&gt;col_stable:(Exporting) Keep column position when list is set up again&lt;/P&gt;&lt;P&gt;row_stable:(Exporting) Keep row position when list is set up again&lt;/P&gt;&lt;P&gt;exit :(Exporting) Exit list (and ALV)&lt;/P&gt;&lt;P&gt;before_action: Call before standard action execution&lt;/P&gt;&lt;P&gt;after_action : Call after standard action execution, before list setup&lt;/P&gt;&lt;P&gt;ignore_multi : Internal use&lt;/P&gt;&lt;P&gt;sel_tab_field: Internal use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The EXIT routine is called whenever a function unknown to the ALV is triggered or if the routine call before/after the execution of a standard function code has been defined by interface parameter IT_EVENT_EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also the documentation on parameter IT_EVENT_EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function code and the current cursor position are then passed on to the calling program through the EXIT routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user has selected multiple rows by selecting checkboxes, the output table field designated as the checkbox contains the current state of the checkbox in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top_Of_page :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the caller specifies an EXIT routine, this routine must have the following form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM top_of_page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module REUSE_ALV_COMMENTARY_WRITE can then be called within the EXIT routine. This module is responsible for formatting the header information and also ensures online HTML formatting. In the print preview or in batch mode, the text passed is then output in the normal format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If module REUSE_ALV_COMMENTARY_WRITE cannot be used, you must use two parameters instead. In I_CALLBACK_TOP_OF_PAGE you pass the form routine that is responsible for normal formatting in batch mode or in the print preview mode. The form routine that is responsible for online formatting, is passed in parameter I_CALLBACK_HTML_TOP_OF_PAGE. If one of these parameters is not filled, top-of-page is not output in the respective mode.&lt;/P&gt;&lt;P&gt;&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 REUSE_ALV_FIELDCATALOG_MERGE&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;&amp;lt;b&amp;gt;REward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 08:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-function-module-reuse-alv-grid-display/m-p/2819538#M659467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T08:35:15Z</dc:date>
    </item>
  </channel>
</rss>

