<?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 method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/static-method/m-p/2846050#M666746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;First, it's impossible to create static method with WD IDE designers for controllers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, if you simply need to call method from wdDoModifyView, just create instance method createHTMLViewer in regular way then call it from wdDoModifyView via wdThis.createHTMLViewer().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third, you may create this method manually directly in source code, just place it at the end of controller between comments //@begin other ... //@end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if the information is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2007 03:55:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-24T03:55:50Z</dc:date>
    <item>
      <title>static method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static-method/m-p/2846047#M666743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do u mean by a static method exactly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 06:00:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static-method/m-p/2846047#M666743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T06:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: static method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static-method/m-p/2846048#M666744</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;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;STATIC METHOS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;CAN ONLY USE STATIC COMPONENTS IN THEIR IMPLEMENTATION PART &lt;/P&gt;&lt;P&gt;CAN BE CALLED USING THE CLASS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static methods (also referred to as class methods) are called using CALL METHOD &amp;lt;classname&amp;gt;=&amp;gt;&amp;lt;class_method&amp;gt;.&lt;/P&gt;&lt;P&gt;If you are calling a static method from within the class, you can omit the class name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You access static attributes using &amp;lt;classname&amp;gt;=&amp;gt;&amp;lt;class_attribute&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF USEFULL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 06:26:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static-method/m-p/2846048#M666744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T06:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: static method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static-method/m-p/2846049#M666745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sandeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A static method can be called without prior instatiation of the class. This is the &amp;lt;b&amp;gt;technical &amp;lt;/b&amp;gt;aspect. When do we define a method as static? If the method does not need to know any details of an instance then I would define this method as static. This is the &amp;lt;b&amp;gt;semantic &amp;lt;/b&amp;gt;aspect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typical examples are utility methods, calculations, etc.&lt;/P&gt;&lt;P&gt;Example: class CL_ABAP_CONTAINER_UTILITIES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its static methods convert either a string into a structured data type or vice versa. For this purpose the methods do not need any knowledge of any instances, the input is sufficient enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 20:10:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static-method/m-p/2846049#M666745</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-09-23T20:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: static method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/static-method/m-p/2846050#M666746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;First, it's impossible to create static method with WD IDE designers for controllers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, if you simply need to call method from wdDoModifyView, just create instance method createHTMLViewer in regular way then call it from wdDoModifyView via wdThis.createHTMLViewer().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third, you may create this method manually directly in source code, just place it at the end of controller between comments //@begin other ... //@end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if the information is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 03:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/static-method/m-p/2846050#M666746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T03:55:50Z</dc:date>
    </item>
  </channel>
</rss>

