<?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 help me with this code please. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038101#M1350449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    The following code is creating a problem, it's always saying this create object gt_event_handler. statement is not accessible can you tell me why it is happening?&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;METHODS:&lt;/P&gt;&lt;P&gt;*Double-click control&lt;/P&gt;&lt;P&gt;handle_double_click&lt;/P&gt;&lt;P&gt;FOR EVENT double_click OF cl_gui_alv_grid&lt;/P&gt;&lt;P&gt;IMPORTING e_row e_column .&lt;/P&gt;&lt;P&gt;PRIVATE SECTION.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS lcl_event_handler IMPLEMENTATION .&lt;/P&gt;&lt;P&gt;*Handle Double Click&lt;/P&gt;&lt;P&gt;METHOD handle_double_click .&lt;/P&gt;&lt;P&gt;PERFORM handle_double_click USING e_row&lt;/P&gt;&lt;P&gt;                                  e_column.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                 es_row_no.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM handle_double_click USING i_row TYPE lvc_s_row&lt;/P&gt;&lt;P&gt;i_column TYPE lvc_s_col.&lt;/P&gt;&lt;P&gt;*is_row_no TYPE lvc_s_roid.&lt;/P&gt;&lt;P&gt;READ TABLE GT_SUM_COPA INDEX I_ROW-INDEX.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;CALL SCREEN 200 .&lt;/P&gt;&lt;P&gt;ENDIF .&lt;/P&gt;&lt;P&gt;ENDFORM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA gr_event_handler TYPE REF TO lcl_event_handler .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Creating an instance for the event handler&lt;/P&gt;&lt;P&gt;CREATE OBJECT gr_event_handler .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HANDLER gr_event_handler-&amp;gt;handle_double_click FOR gr_COPA_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swordfish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2009 09:48:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-04T09:48:27Z</dc:date>
    <item>
      <title>help me with this code please.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038101#M1350449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    The following code is creating a problem, it's always saying this create object gt_event_handler. statement is not accessible can you tell me why it is happening?&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;METHODS:&lt;/P&gt;&lt;P&gt;*Double-click control&lt;/P&gt;&lt;P&gt;handle_double_click&lt;/P&gt;&lt;P&gt;FOR EVENT double_click OF cl_gui_alv_grid&lt;/P&gt;&lt;P&gt;IMPORTING e_row e_column .&lt;/P&gt;&lt;P&gt;PRIVATE SECTION.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS lcl_event_handler IMPLEMENTATION .&lt;/P&gt;&lt;P&gt;*Handle Double Click&lt;/P&gt;&lt;P&gt;METHOD handle_double_click .&lt;/P&gt;&lt;P&gt;PERFORM handle_double_click USING e_row&lt;/P&gt;&lt;P&gt;                                  e_column.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                 es_row_no.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM handle_double_click USING i_row TYPE lvc_s_row&lt;/P&gt;&lt;P&gt;i_column TYPE lvc_s_col.&lt;/P&gt;&lt;P&gt;*is_row_no TYPE lvc_s_roid.&lt;/P&gt;&lt;P&gt;READ TABLE GT_SUM_COPA INDEX I_ROW-INDEX.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;CALL SCREEN 200 .&lt;/P&gt;&lt;P&gt;ENDIF .&lt;/P&gt;&lt;P&gt;ENDFORM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA gr_event_handler TYPE REF TO lcl_event_handler .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Creating an instance for the event handler&lt;/P&gt;&lt;P&gt;CREATE OBJECT gr_event_handler .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HANDLER gr_event_handler-&amp;gt;handle_double_click FOR gr_COPA_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swordfish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 09:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038101#M1350449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T09:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: help me with this code please.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038102#M1350450</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;Use START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA gr_event_handler TYPE REF TO lcl_event_handler .

START-OF-SELECTION.

*--Creating an instance for the event handler
CREATE OBJECT gr_event_handler .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 09:50:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038102#M1350450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T09:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: help me with this code please.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038103#M1350451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your statements should either be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. between your class definition and implementation, or&lt;/P&gt;&lt;P&gt;2. seaparated by an event, e.g. START-OF-SELECTION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 09:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038103#M1350451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T09:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: help me with this code please.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038104#M1350452</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;Define all Class definitions and implementations before any event, that is to declare them after data declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 09:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038104#M1350452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T09:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: help me with this code please.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038105#M1350453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all, problem solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 10:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-with-this-code-please/m-p/6038105#M1350453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T10:02:15Z</dc:date>
    </item>
  </channel>
</rss>

