<?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: handle_double_click in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-double-click/m-p/4776194#M1119234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue was, when we are displaying for the first time in the secondary ALV list, the instance of the class cl_gui_alv_grid is initial.&lt;/P&gt;&lt;P&gt;However when we go back and select a different row, the secondary ALV list's cl_gui_alv_grid instance is not initial anymore, so in the ELSE part we have to call second_instance-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2008 06:40:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-18T06:40:38Z</dc:date>
    <item>
      <title>handle_double_click</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-double-click/m-p/4776192#M1119232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the method handle_double_click to navigate to a new ALV list when the user double clicks a certain row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is, when I double click one row, the details are output in a separate list, its fine. When I press the back button and double click a different row, the result displayed in the second list is always the previous one, its not changing with selection of a different row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to get around this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prosenjit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 05:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-double-click/m-p/4776192#M1119232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T05:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: handle_double_click</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-double-click/m-p/4776193#M1119233</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;Please check your code with below sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS event_class DEFINITION.

*Handling double click
PUBLIC SECTION. METHODS:
handle_double_click
FOR EVENT double_click OF cl_gui_alv_grid IMPORTING e_row .

ENDCLASS. "lcl_event_receiver DEFINITION

CLASS event_class IMPLEMENTATION. 

METHOD handle_double_click.

DATA : ls_wa LIKE LINE OF it_tab.

*Reading the selected data into a variable
READ TABLE it_tab INDEX e_row-index INTO ls_wa.

*show your list

ENDMETHOD. "handle_double_click

ENDCLASS. "lcl_event_receiver IMPLEMENTATION&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anversha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anversha s on Nov 18, 2008 11:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 05:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-double-click/m-p/4776193#M1119233</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2008-11-18T05:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: handle_double_click</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-double-click/m-p/4776194#M1119234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue was, when we are displaying for the first time in the secondary ALV list, the instance of the class cl_gui_alv_grid is initial.&lt;/P&gt;&lt;P&gt;However when we go back and select a different row, the secondary ALV list's cl_gui_alv_grid instance is not initial anymore, so in the ELSE part we have to call second_instance-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 06:40:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-double-click/m-p/4776194#M1119234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T06:40:38Z</dc:date>
    </item>
  </channel>
</rss>

