<?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 class method from within UPDATE TASK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-class-method-from-within-update-task/m-p/7979630#M1604534</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;Is it possible to call a class method from within an UPDATE TASK similar to a function module call? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course I could use a FM for this task and intantiate the class inside and call the method, however, this requires to code one or more FMs for each method I would like to call this way. This is IMO not the best practice. So far I did not find any alternatives, do you know of a way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2011 06:50:58 GMT</pubDate>
    <dc:creator>MichiFr</dc:creator>
    <dc:date>2011-05-31T06:50:58Z</dc:date>
    <item>
      <title>Call class method from within UPDATE TASK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-class-method-from-within-update-task/m-p/7979630#M1604534</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;Is it possible to call a class method from within an UPDATE TASK similar to a function module call? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course I could use a FM for this task and intantiate the class inside and call the method, however, this requires to code one or more FMs for each method I would like to call this way. This is IMO not the best practice. So far I did not find any alternatives, do you know of a way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 06:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-class-method-from-within-update-task/m-p/7979630#M1604534</guid>
      <dc:creator>MichiFr</dc:creator>
      <dc:date>2011-05-31T06:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Call class method from within UPDATE TASK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-class-method-from-within-update-task/m-p/7979631#M1604535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[The same|&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="10311873"&gt;&lt;/A&gt;] applies here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 13:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-class-method-from-within-update-task/m-p/7979631#M1604535</guid>
      <dc:creator>former_member182670</dc:creator>
      <dc:date>2011-05-31T13:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Call class method from within UPDATE TASK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-class-method-from-within-update-task/m-p/7979632#M1604536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure as to what exactly you want to accomplish, but why don't you have your class method as a static.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 10:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-class-method-from-within-update-task/m-p/7979632#M1604536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-06T10:15:47Z</dc:date>
    </item>
  </channel>
</rss>

