<?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 help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1787249#M338926</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;1)can we expect return value from asynchronous bapi,&lt;/P&gt;&lt;P&gt;2)can we commit asynchr., bapi&lt;/P&gt;&lt;P&gt;3) how to make bapi as aynchronous&lt;/P&gt;&lt;P&gt;4)what is object type and interface type in the initial screen of SWO1 (seen under category box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points are assured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Dec 2006 03:38:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-18T03:38:55Z</dc:date>
    <item>
      <title>help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1787249#M338926</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;1)can we expect return value from asynchronous bapi,&lt;/P&gt;&lt;P&gt;2)can we commit asynchr., bapi&lt;/P&gt;&lt;P&gt;3) how to make bapi as aynchronous&lt;/P&gt;&lt;P&gt;4)what is object type and interface type in the initial screen of SWO1 (seen under category box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points are assured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2006 03:38:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1787249#M338926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-18T03:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1787250#M338927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;A good doc to check regarding asynchronous BAPI's..&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2a1dd5d3-0801-0010-ed8d-bd797ed922cb" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2a1dd5d3-0801-0010-ed8d-bd797ed922cb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;P&gt;Award points for helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2006 03:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1787250#M338927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-18T03:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1787251#M338928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ganesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are a few short answers to your questions:&lt;/P&gt;&lt;P&gt;(1) Yes and no, depending if it is called with or without response&lt;/P&gt;&lt;P&gt;(2) I do not think so because of the asynchronous mode&lt;/P&gt;&lt;P&gt;(3) CALL 'BAPI_...' STARTING NEW TASK &amp;lt;task name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details please refer to a very recent article about&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c75674694"&amp;gt;Master the five remote function calls (RFC) types in ABAP&amp;lt;/a&amp;gt;&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>Mon, 18 Dec 2006 04:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1787251#M338928</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-12-18T04:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1787252#M338929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  Yes you can expect return values from an asynchronous BAPI and you can call a BAPI asynchronously.&lt;/P&gt;&lt;P&gt;I will explain the process for the same , this is not just restricted to BAPI but is applicable for all RFC FM.&lt;/P&gt;&lt;P&gt;An asynch RFC FM can be called in two ways without result and with result.&lt;/P&gt;&lt;P&gt;The meaning of both are implied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how do you execute a FM as async without result , all you need to do is add the statement &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;STARTING NEW TASK 'my_new_task'&amp;lt;/b&amp;gt;   &lt;/P&gt;&lt;P&gt;in the FM call e.g.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
STARTING NEW TASK 'my_new_task'   "asynch call without resposne
  EXPORTING
    DATE                             = sy-datum
    FACTORY_CALENDAR_ID              = '55'
    MESSAGE_TYPE                     = 'E'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Where 'my_new_task'   is just name of a task you create , if you call another FM in the same task then it is also executed in the same instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To call a RFC FM in async with response along with this statement you need to add &amp;lt;b&amp;gt;PERFORMING RESP1 ON END OF TASK  &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;so the calls looks like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
STARTING NEW TASK 'my_new_task'   
PERFORMING RESP1 ON END OF TASK   "asynch call with response
  EXPORTING
    DATE                             = sy-datum
    FACTORY_CALENDAR_ID              = '55'
    MESSAGE_TYPE                     = 'E'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;here RESP1 is a subroutine which is executed when wait statement is executed .&lt;/P&gt;&lt;P&gt;in the RSSP1 subroutine you need to add the code to retreive the result , the code will look some thinsg like &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; RECEIVE RESULTS FROM FUNCTION 'DATE_CHECK_WORKINGDAY'&amp;lt;/b&amp;gt; , after this you need to map the varaibles in which the data is ti be stored. it is smilar to the way you call the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2006 04:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1787252#M338929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-18T04:11:53Z</dc:date>
    </item>
  </channel>
</rss>

