<?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 Recognize with ALV Instance has been selected. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399011#M192994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody.&lt;/P&gt;&lt;P&gt;I'm not sure how to perform the next situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with two ALV Grid (OO) at the same time. I have defined an Exit Handler class to get the value of a field since a double-click perform. Obviously each ALV has an own fcat and data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it there a way to determine which ALV Instance has been double-clicked to get data just for its corresponding data table, or I shorld do it directly?&lt;/P&gt;&lt;P&gt;Can I use a method such like cl_exithandler=&amp;gt;get_instance (obviously if there's one available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;I would highly reward a good question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2006 15:04:29 GMT</pubDate>
    <dc:creator>SantiMoreno</dc:creator>
    <dc:date>2006-06-29T15:04:29Z</dc:date>
    <item>
      <title>Recognize with ALV Instance has been selected.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399011#M192994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody.&lt;/P&gt;&lt;P&gt;I'm not sure how to perform the next situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with two ALV Grid (OO) at the same time. I have defined an Exit Handler class to get the value of a field since a double-click perform. Obviously each ALV has an own fcat and data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it there a way to determine which ALV Instance has been double-clicked to get data just for its corresponding data table, or I shorld do it directly?&lt;/P&gt;&lt;P&gt;Can I use a method such like cl_exithandler=&amp;gt;get_instance (obviously if there's one available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;I would highly reward a good question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 15:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399011#M192994</guid>
      <dc:creator>SantiMoreno</dc:creator>
      <dc:date>2006-06-29T15:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Recognize with ALV Instance has been selected.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399012#M192995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do need to identify which instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will take u to the exact instance of the alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think u have written diffrent defination for different instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make different Event reciever for different instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o_evt_rcvr1      TYPE REF TO lcl_event_receiver1. for first instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o_evt_rcvr2      TYPE REF TO lcl_event_receiver2. for first instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and raise Event for different instnace &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Set the event handlers for first instance&lt;/P&gt;&lt;P&gt;  SET HANDLER o_evt_rcvr1-&amp;gt;double_click FOR o_alvgrid1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Set the event handlers for second instance&lt;/P&gt;&lt;P&gt;  SET HANDLER o_evt_rcvr2-&amp;gt;double_click FOR o_alvgrid2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will Take u to the Exact defination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Manoj Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 15:13:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399012#M192995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T15:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Recognize with ALV Instance has been selected.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399013#M192996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so, what you mean is that I have to define to instances of the event handler class, don't I?&lt;/P&gt;&lt;P&gt;But, may the event handler class be the same for both instances?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 15:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399013#M192996</guid>
      <dc:creator>SantiMoreno</dc:creator>
      <dc:date>2006-06-29T15:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recognize with ALV Instance has been selected.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399014#M192997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well unfortunately you will define two different event receivers one for each grid. As the problem is that you cannot identify the instance of the grid on which the event has happened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably you can differentiate using the column name on which the double click has happened provided there are no common columns. Then you need to know which column exists in which grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Makes sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 15:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399014#M192997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T15:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Recognize with ALV Instance has been selected.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399015#M192998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using version 4.6c or superior. You can define the importing parameter SENDER in the method that is called for double_click  event. Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS lcl_event_handler DEFINITION.&lt;/P&gt;&lt;P&gt; PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;   CLASS-METHODS: get_double_click FOR EVENT double_click OF cl_gui_alv_grid IMPORTING row&lt;/P&gt;&lt;P&gt;                             SENDER.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: event_handler TYPE REF TO lcl_event_handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS lcl_event_handler IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;   METHOD get_double_click&lt;/P&gt;&lt;P&gt;      if sender = alv_grid1.&lt;/P&gt;&lt;P&gt;      do something...&lt;/P&gt;&lt;P&gt;      elseif sender = alv_grid2.&lt;/P&gt;&lt;P&gt;      ...&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;   ENDMETHOD.&lt;/P&gt;&lt;P&gt;ENDCLASS.&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;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 15:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399015#M192998</guid>
      <dc:creator>alejandro_lpez</dc:creator>
      <dc:date>2006-06-29T15:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Recognize with ALV Instance has been selected.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399016#M192999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, &lt;/P&gt;&lt;P&gt;Once I have selected a row of the ALV Grid, is it there any way to force an automatic refresh of the full dynpro.&lt;/P&gt;&lt;P&gt;The thing is that when I select the row, the field is not show in the destiny field (an output field) until I press Intro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it there any solution to this?&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 16:26:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/recognize-with-alv-instance-has-been-selected/m-p/1399016#M192999</guid>
      <dc:creator>SantiMoreno</dc:creator>
      <dc:date>2006-06-29T16:26:51Z</dc:date>
    </item>
  </channel>
</rss>

