<?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: event in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/event/m-p/3041230#M719789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. Instance method can handle the static event and register for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a matter of fact there is no restriction as per handling of the event.&lt;/P&gt;&lt;P&gt;See the handling is done at run time so we cant restrict the same at design time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got the point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we can restrict at design time is triggering the event, I mean RAISE EVENT. Instance methods can trigger any events.&lt;/P&gt;&lt;P&gt;Static methods can trigger only static events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gr8 enthusisam. Keep going . Get back if u have further doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful,&lt;/P&gt;&lt;P&gt;Aleem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2007 10:02:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-26T10:02:14Z</dc:date>
    <item>
      <title>event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event/m-p/3041228#M719787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when a static event is triggered then can an instance method can handle it and register at runtime so that it gets executed when that particular event triggers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 06:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event/m-p/3041228#M719787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T06:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event/m-p/3041229#M719788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static events can be triggered by any method of the class but static methods may only trigger static events.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SET HANDLER statement links a list of handler methods to corresponding event triggers - either instance events or static events. The syntax and effect of the SET HANDLER statement differs according to the event type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With instance events, you must use the FOR addition to specify the triggering instance for which you want to register the trigger. You can either specify a single triggering instance using a reference variable &amp;lt;ref&amp;gt;, or specify the handler for all instances using the statement SET HANDLER &amp;#133; FOR ALL INSTANCES. &lt;/P&gt;&lt;P&gt;FOR ALL INSTANCES also applies to triggering instances that do not yet exist when the registration is made. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot use the FOR addition with static events. Instead, the registrtation applies automatically to the entire class or all classes that implement an interface with a static event.  The SET HANDLER statement also has an addition ACTIVATION, which allows you to register and deregister handlers automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kesava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 08:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event/m-p/3041229#M719788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T08:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event/m-p/3041230#M719789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. Instance method can handle the static event and register for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a matter of fact there is no restriction as per handling of the event.&lt;/P&gt;&lt;P&gt;See the handling is done at run time so we cant restrict the same at design time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got the point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we can restrict at design time is triggering the event, I mean RAISE EVENT. Instance methods can trigger any events.&lt;/P&gt;&lt;P&gt;Static methods can trigger only static events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gr8 enthusisam. Keep going . Get back if u have further doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful,&lt;/P&gt;&lt;P&gt;Aleem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 10:02:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event/m-p/3041230#M719789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T10:02:14Z</dc:date>
    </item>
  </channel>
</rss>

