<?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: abap objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772355#M333433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;Set Handler statement is used for registering and deregistering event handler methods dynamically at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS cls_definition DEFINITION DEFERRED is used to declare a class first &amp;amp; then define it later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last statement basically registers a event for modifying a Editable grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chetan.&lt;/P&gt;&lt;P&gt;PS: Reward points if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2006 06:01:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-13T06:01:36Z</dc:date>
    <item>
      <title>abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772348#M333426</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;what is set handler .&lt;/P&gt;&lt;P&gt;what CLASS cls_definition DEFINITION DEFERRED .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the explanation of the below statement:&lt;/P&gt;&lt;P&gt; CALL METHOD grid1-&amp;gt;register_edit_event&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;ganesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        ganesh ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:54:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772348#M333426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772349#M333427</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 command set handler is used to set a handler for an event , so that the event can be handled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class definition defered means that you can use the class even if it is not defined now , it will be defined later in the code.&lt;/P&gt;&lt;P&gt;&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;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772349#M333427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772350#M333428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET HANDLER - Set the event handler(Method that is to be called on a trigger of an event) for a particular event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS cls_definition DEFINITION DEFERRED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--- DEFINITION DEFERRED : Class's method definition are not completed/defined. They are to be defined in a later part of a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grid1-&amp;gt;register_edit_event - To raise an event when the ALV grid data is being modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Wenceslaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772350#M333428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772351#M333429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add the following remarks:&lt;/P&gt;&lt;P&gt;(1) Special registration of an event for ALV grid control (see sample report BCALV_EDIT_03)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*§3.Optionally register ENTER to raise event DATA_CHANGED.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  (Per default the user may check data by using the check icon).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; call method g_grid-&amp;gt;register_edit_event&lt;/P&gt;&lt;P&gt;               exporting&lt;/P&gt;&lt;P&gt;                  i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) Coding of method SET_REGISTERED_EVENTS in CL_GUI_ALV_GRID:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD SET_REGISTERED_EVENTS.&lt;/P&gt;&lt;P&gt;*!!! Do not use for ALV Grid Control !!!!&lt;/P&gt;&lt;P&gt;  RAISE ILLEGAL_EVENT_COMBINATION.&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;srini&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772351#M333429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772352#M333430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can check this link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/6b/d461d468b111d29bec0000e8a47b2e/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/6b/d461d468b111d29bec0000e8a47b2e/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:59:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772352#M333430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772353#M333431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt; Set Handler is used to register/deregsiter the event handler method for all/selected objects of a class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DEFERRED addition is used with the class definition to indicate to the compiler that the definition of the class available later. This allows you to use the class before it is actually defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:59:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772353#M333431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772354#M333432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HANDLER h1 h2 ... &lt;A href="https://community.sap.com/FOR"&gt;&lt;/A&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It links a list of handler methods with corresponding trigger methods. There are four different types of event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        An instance event declared in a class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        An instance event declared in an interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        A static event declared in a class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        A static event declared in an interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax and effect of the SET HANDLERdepends on which of the four cases listed above applies. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an instance event, you must use the FOR addition to specify the instance for which you want to register the handler. You can either specify a single instance as the trigger, using a reference variable ref:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HANDLER h1 h2 ... FOR ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can register the handler for all instances that can trigger the event:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HANDLER h1 h2 ... FOR ALL INSTANCES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The registration then applies even to triggering instances that have not yet been created when you register the handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot use the FOR addition for static events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HANDLER h1 h2 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The registration applies automatically to the whole class, or to all of the classes that implement the interface containing the static event. In the case of interfaces, the registration also applies to classes that are not loaded until after the handler has been registered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/71/a8a77955bc11d194aa0000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/71/a8a77955bc11d194aa0000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 06:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772354#M333432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T06:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: abap objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772355#M333433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;Set Handler statement is used for registering and deregistering event handler methods dynamically at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS cls_definition DEFINITION DEFERRED is used to declare a class first &amp;amp; then define it later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last statement basically registers a event for modifying a Editable grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chetan.&lt;/P&gt;&lt;P&gt;PS: Reward points if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 06:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects/m-p/1772355#M333433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T06:01:36Z</dc:date>
    </item>
  </channel>
</rss>

