<?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: &amp;quot;asynchronous method call&amp;quot; in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-asynchronous-method-call-quot/m-p/863241#M48520</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;Perhaps a way to accomplish this is to create an OO transaction in SE93. Take a look at &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/a8/485d60cf4611d4b2e90050dadfb92b/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/a8/485d60cf4611d4b2e90050dadfb92b/frameset.htm&lt;/A&gt; for further details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then issue the statement CALL TRANSACTION &amp;lt;tcode&amp;gt; UPDATE 'A' (for asynchronous), or as suggested in one of previous discussions, use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST' 
  DESTINATION 'NONE' 
  EXPORTING 
      TCODE = &amp;lt;your_oo_tcode&amp;gt; 
  EXCEPTIONS 
    COMMUNICATION_FAILURE = 1 MESSAGE MSG_TEXT 
    SYSTEM_FAILURE        = 2 MESSAGE MSG_TEXT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also look at ABAP Object Services, especially Transaction Service, at &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/ab/9d0a3ad259cd58e10000000a11402f/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/ab/9d0a3ad259cd58e10000000a11402f/frameset.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jan 2005 11:09:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-01-28T11:09:26Z</dc:date>
    <item>
      <title>"asynchronous method call"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-asynchronous-method-call-quot/m-p/863238#M48517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all, &lt;/P&gt;&lt;P&gt;I am writing a program for which I would like to enable parallel processing. As the programm is designed in classes and methods, I thought it would be nice and consistent to use methods calls instead of asynchronous function calls. I found a class for remote method calls but this does not appear asynchronous. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea if it is possible? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2005 20:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quot-asynchronous-method-call-quot/m-p/863238#M48517</guid>
      <dc:creator>ChristianFi</dc:creator>
      <dc:date>2005-01-27T20:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: "asynchronous method call"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-asynchronous-method-call-quot/m-p/863239#M48518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do parallel processing by calling a function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Call function module B starting new task 'NEWTASK'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;           param1 = param1&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;           communication_failure = 1&lt;/P&gt;&lt;P&gt;           system_failure = 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2005 20:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quot-asynchronous-method-call-quot/m-p/863239#M48518</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2005-01-27T20:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: "asynchronous method call"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-asynchronous-method-call-quot/m-p/863240#M48519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I know, &lt;/P&gt;&lt;P&gt;but the question was if there is something similar for method calls. (the reason why I ask is that I do not want to encapsulate the development in fm (which would be neceassary (or perform some weird call back scenario). &lt;/P&gt;&lt;P&gt;Thanks for the input anyway.&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2005 06:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quot-asynchronous-method-call-quot/m-p/863240#M48519</guid>
      <dc:creator>ChristianFi</dc:creator>
      <dc:date>2005-01-28T06:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: "asynchronous method call"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-asynchronous-method-call-quot/m-p/863241#M48520</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;Perhaps a way to accomplish this is to create an OO transaction in SE93. Take a look at &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/a8/485d60cf4611d4b2e90050dadfb92b/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/a8/485d60cf4611d4b2e90050dadfb92b/frameset.htm&lt;/A&gt; for further details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then issue the statement CALL TRANSACTION &amp;lt;tcode&amp;gt; UPDATE 'A' (for asynchronous), or as suggested in one of previous discussions, use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST' 
  DESTINATION 'NONE' 
  EXPORTING 
      TCODE = &amp;lt;your_oo_tcode&amp;gt; 
  EXCEPTIONS 
    COMMUNICATION_FAILURE = 1 MESSAGE MSG_TEXT 
    SYSTEM_FAILURE        = 2 MESSAGE MSG_TEXT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also look at ABAP Object Services, especially Transaction Service, at &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/ab/9d0a3ad259cd58e10000000a11402f/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/ab/9d0a3ad259cd58e10000000a11402f/frameset.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2005 11:09:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quot-asynchronous-method-call-quot/m-p/863241#M48520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-28T11:09:26Z</dc:date>
    </item>
  </channel>
</rss>

