<?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: static in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2439934#M546067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A static variable does not change value eben after its out of the subroutine / processing block.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2007 19:45:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-05T19:45:53Z</dc:date>
    <item>
      <title>static</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2439933#M546066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can a static event handled by a non static method with in same class or other,actually what is the main purpose of introducing satic methods and even static variables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 13:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2439933#M546066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T13:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: static</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2439934#M546067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A static variable does not change value eben after its out of the subroutine / processing block.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 19:45:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2439934#M546067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T19:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: static</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2439935#M546068</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;NO, Static events can be triggered by any static method only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An instance event in a class can be triggered by any method in the class. Static events can be triggered by any static method. To trigger an event in a method, use the following statement: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RAISE EVENT &amp;lt;evt&amp;lt;b&amp;gt;&amp;gt; EXPORTING... &amp;lt;ei&amp;gt; = &amp;lt;f i&amp;gt;...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each formal parameter &amp;lt;e i &amp;gt; that is not defined as optional, you must pass a corresponding actual parameter &amp;lt;f i &amp;gt; in the EXPORTING addition. The self-reference ME is automatically passed to the implicit parameter SENDER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Static Attributes&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The contents of static attributes define the state of the class that is valid for all instances of the class. Static attributes exist once for each class. You declare them using the &amp;lt;b&amp;gt;CLASS-DATA&amp;lt;/b&amp;gt; statement. They are accessible for the entire runtime of the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the objects in a class can access its static attributes. &amp;lt;b&amp;gt;If you change a static attribute in an object, the change is visible in all other objects in the class.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Static Methods&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;You declare static methods using the CLASS-METHODS statement. They can only access static attributes and trigger static events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To declare static events, use the following statement: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CLASS-EVENTS &amp;lt;evt&amp;gt;...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashok Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 20:14:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2439935#M546068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T20:14:35Z</dc:date>
    </item>
  </channel>
</rss>

