<?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 static in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2436842#M545165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any concept of staic,non-static blocks in abap-oops,if so can any body send some detailed information regarding it.I will be very thankfull to those who have done it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2007 07:41:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-27T07:41:08Z</dc:date>
    <item>
      <title>static</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2436842#M545165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any concept of staic,non-static blocks in abap-oops,if so can any body send some detailed information regarding it.I will be very thankfull to those who have done it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 07:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2436842#M545165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T07:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: static</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2436843#M545166</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;we will use only static class methods not static blocks as in java,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to use static methods please see the following link you it might help you in resolving your query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5c54f411d194a60000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5c54f411d194a60000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******&lt;STRONG&gt;please reward points if the information is helpful to you&lt;/STRONG&gt;**********&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 08:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2436843#M545166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T08:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: static</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2436844#M545167</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;We do not have static blocks in abap. However, we have static components(variables and methods) in abap.&lt;/P&gt;&lt;P&gt;Abstract class can only be accessed using its static components or its subclasses.&lt;/P&gt;&lt;P&gt;The public and protected static components (methods + attributes) of the super class are visible in the subclass.&lt;/P&gt;&lt;P&gt;Public static components can be accessed through the class component selector used with any class in the respective path of inheritance tree.&lt;/P&gt;&lt;P&gt;The redefinition of static constructor works similarly to instance constructor.&lt;/P&gt;&lt;P&gt;When an static constructor is redefined then REDEFINITION addition is not required.&lt;/P&gt;&lt;P&gt;No parameter interface is possible for static constructor ( with or without inheritance)&lt;/P&gt;&lt;P&gt;The runtime environment automatically ensures that the static constructors are called in the right order, so it is not required to call the static constructor of the super class explicitly.&lt;/P&gt;&lt;P&gt;The first time a subclass is addressed in a program, the run time environment reaches for the next highest super class whose static constructor has not yet been executed. This static constructor is executed first, followed by constructors down the path until the addressed subclass is reached.&lt;/P&gt;&lt;P&gt;The static type of the reference variable is the type with which it was declared.&lt;/P&gt;&lt;P&gt;In assignments of reference variables , static type of a reference variable is always more general than the dynamic type.&lt;/P&gt;&lt;P&gt;When static type of the target variable is more general than the static type of the source variable, since the dynamic type of the source variable at run time can only be more specialized than its static type, this can be checked during the syntax check. This is known as narrowing cast.&lt;/P&gt;&lt;P&gt;When static type of the target variable is more specialized than the static type of the source variable. This is known as widening cast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 11:58:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2436844#M545167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T11:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: static</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2436845#M545168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Static method can be access as:&lt;/P&gt;&lt;P&gt;&amp;lt;class name&amp;gt;=&amp;gt;static_method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object is not required to invoke a static method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Static method cannot be redefined in subclass !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 17:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static/m-p/2436845#M545168</guid>
      <dc:creator>arvind_aj</dc:creator>
      <dc:date>2007-06-27T17:16:22Z</dc:date>
    </item>
  </channel>
</rss>

