<?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 CLASS LCL_EVENT_HANDLER in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197249#M1520643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have just started to use object oriented and i have a lot of questions in my head. I am trying to do hotspot on alv list for now.I did it with gs_layout-keyhot = 'X' but i have no idea about how i can see information on another screen for each row when i click a row.I think i should use  CLASS LCL_EVENT_HANDLER. The big thing is how i can do that.I will be pleased if you can help me about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Sep 2010 08:22:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-02T08:22:04Z</dc:date>
    <item>
      <title>CLASS LCL_EVENT_HANDLER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197249#M1520643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have just started to use object oriented and i have a lot of questions in my head. I am trying to do hotspot on alv list for now.I did it with gs_layout-keyhot = 'X' but i have no idea about how i can see information on another screen for each row when i click a row.I think i should use  CLASS LCL_EVENT_HANDLER. The big thing is how i can do that.I will be pleased if you can help me about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 08:22:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197249#M1520643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-02T08:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS LCL_EVENT_HANDLER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197250#M1520644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Masuke,&lt;/P&gt;&lt;P&gt;you can take a look to BCALV_* program (trx se38) there are a lot of exampla for implementing ALV with OO programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;enzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 08:28:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197250#M1520644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-02T08:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS LCL_EVENT_HANDLER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197251#M1520645</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;1. Define your local class (LCL_EVENT_HANDLER.)&lt;/P&gt;&lt;P&gt;Definition: &lt;/P&gt;&lt;P&gt;public section.&lt;/P&gt;&lt;P&gt;    methods:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    hotspot_click        for event hotspot_click&lt;/P&gt;&lt;P&gt;                         of cl_gui_alv_grid&lt;/P&gt;&lt;P&gt;                         importing e_row_id&lt;/P&gt;&lt;P&gt;                                   e_column_id&lt;/P&gt;&lt;P&gt;                                   es_row_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementation:&lt;/P&gt;&lt;P&gt;  method hotspot_click.&lt;/P&gt;&lt;P&gt;    perform event_hotspot_click using e_row_id&lt;/P&gt;&lt;P&gt;                                                            e_column_id.&lt;/P&gt;&lt;P&gt;  endmethod.                    "hotspot_click&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Mark in fieldcatalog: &lt;/P&gt;&lt;P&gt;  ls_fcat-fieldname = 'YOUR_FILED'&lt;/P&gt;&lt;P&gt;  ls_fcat-hotspot   = 'X' (  or   ls_fcat-style     = cl_gui_alv_grid=&amp;gt;mc_style_hotspot. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Event object and handler:&lt;/P&gt;&lt;P&gt;in pbo:&lt;/P&gt;&lt;P&gt;  create object o_event.   (define: type ref to lcl_event_handler)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  set handler o_event-&amp;gt;hotspot_click&lt;/P&gt;&lt;P&gt;              for your_grid.&lt;/P&gt;&lt;P&gt;&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;MeryM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 11:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197251#M1520645</guid>
      <dc:creator>MaryM</dc:creator>
      <dc:date>2010-09-02T11:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS LCL_EVENT_HANDLER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197252#M1520646</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;thank you for your help maryme i fixed the problem.I am trying to refresh my table after update on another screen now. But cant do that with selfield-refresh so i find refresh_table_display but it doesnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 12:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197252#M1520646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-03T12:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS LCL_EVENT_HANDLER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197253#M1520647</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;refresh_table_display should work fine.&lt;/P&gt;&lt;P&gt;Just code:: &lt;/P&gt;&lt;P&gt; - for the first time display&lt;/P&gt;&lt;P&gt;   grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;- for next times  (and after having modified the internal table you are displaying)&lt;/P&gt;&lt;P&gt; grid-&amp;gt;refresh_table_display&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;MaryM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 11:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-lcl-event-handler/m-p/7197253#M1520647</guid>
      <dc:creator>MaryM</dc:creator>
      <dc:date>2010-09-06T11:08:30Z</dc:date>
    </item>
  </channel>
</rss>

