<?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: Call Method starting new task? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920380#M1598705</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;I think OO method cal doest not support this.. To Do this in OO Context Call Function Module Starting New Task With in your Methods., i.e Wrap the FMs in your Method., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2011 09:46:46 GMT</pubDate>
    <dc:creator>Kiran_Valluru</dc:creator>
    <dc:date>2011-06-09T09:46:46Z</dc:date>
    <item>
      <title>Call Method starting new task?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920379#M1598704</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 paralyze processing in a class instance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processflow something like:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;constructor prepares general data&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;two methods collect data in parallel&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;once both methods finished, a 4th method uses data prepared by the other 3 methods (constructor and the two data collector classes)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is something for "CALL FUNCTION .. IN NEW TASK", but is there a similar way like "call method ... in new task", maybe raising an event in my last method to start processing there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 09:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920379#M1598704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-09T09:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Call Method starting new task?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920380#M1598705</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;I think OO method cal doest not support this.. To Do this in OO Context Call Function Module Starting New Task With in your Methods., i.e Wrap the FMs in your Method., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 09:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920380#M1598705</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-09T09:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Call Method starting new task?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920381#M1598706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; There is something for "CALL FUNCTION .. IN NEW TASK", but is there a similar way like "call method ... in new task", maybe raising an event in my last method to start processing there?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, there isn't any addition with CALL METHOD which facilitates parallel processing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Processflow something like:&lt;/P&gt;&lt;P&gt;1. constructor prepares general data&lt;/P&gt;&lt;P&gt;2. two methods collect data in parallel&lt;/P&gt;&lt;P&gt;3. once both methods finished, a 4th method uses data prepared by the other 3 methods (constructor and the two data collector classes)&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if you can achieve step 2. Let's see what the OO gurus have to add.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 09:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920381#M1598706</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-06-09T09:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Call Method starting new task?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920382#M1598707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;STARTING NEW TASK can be only achieved on Remote Enabled Modules. Since Methods can't be Remote enabled, we can use this addition in the CALL METHOD. As Kiran has suggested, you need to wrap your logic in the RFC FM and call the FM in the method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the data back, you can use the Method: CALLING method AT END OF TASK. See this [CALL FUNCTION - STARTING NEW TASK|http://help.sap.com/saphelp_nw04/helpdata/en/3d/a846df17c1014e928626637ab06838/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 13:44:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920382#M1598707</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2011-06-09T13:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Call Method starting new task?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920383#M1598708</link>
      <description>&lt;P&gt;I guess OP was aware of the fact that you can call function modules from within class methods. However, by using function modules at all you do lose most of the advantages OOP provides by design. So yes: Calling differenc async function modules inside a single method is in fact a solution. But no, it's not elegant because you're restricted to call all the async FMs you'd like to process in parallel inside a single method that cannot be processed asynchronously itself.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 10:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-starting-new-task/m-p/7920383#M1598708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-14T10:11:39Z</dc:date>
    </item>
  </channel>
</rss>

