<?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 Call static method in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251405#M1527622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to call a static method from a public class in background??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Artur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Oct 2010 10:48:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-01T10:48:06Z</dc:date>
    <item>
      <title>Call static method in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251405#M1527622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to call a static method from a public class in background??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Artur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 10:48:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251405#M1527622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-01T10:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Call static method in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251406#M1527623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes... unless the method needs interaction with the front end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 11:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251406#M1527623</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-10-01T11:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Call static method in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251407#M1527624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell me how can I call it in background please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 11:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251407#M1527624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-01T11:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Call static method in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251408#M1527625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In exactly the same way as you call it in foreground!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question doesn't make sense. It's like asking "Can I run a function module in background". Or "Can I run a program in background".  Generally speaking, yes you can. What we need to know is &lt;EM&gt;which&lt;/EM&gt; method your wanting to call. The fact that it is static, or indeed a method, is utterly irrelevant to whether you can call it in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you trying to achieve?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 12:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251408#M1527625</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-10-01T12:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Call static method in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251409#M1527626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Technically, you cannot call a method in the background mode, however you can call its content in the background, just transfer the content of the method to a parameterised report-type program and use SUBMIT VIA JOB statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;class=&amp;gt;run_in_background( parameters ... ).

METHOD run_in_background.
  SUBMIT zrun_in_background ... VIA JOB...
ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 12:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-static-method-in-background/m-p/7251409#M1527626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-01T12:51:46Z</dc:date>
    </item>
  </channel>
</rss>

