<?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: How Can I execute BAPI in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-bapi-in-background/m-p/8633808#M1665135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;After calling your Bapi in the report call thi bapi &lt;STRONG&gt;BAPI_TRANSACTION_COMMIT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So by the wait status parameter will execute your program shortly and you can some values for this wait parameter.&lt;/P&gt;&lt;P&gt;If your Bapi fails then you should have to call the following bapi &lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;BAPI_TRANSACTION_ROLLBACK.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; That would Rollback your Bapi again. Changes Will not be done.&lt;/P&gt;&lt;P&gt;Hope will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2012 09:58:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-30T09:58:49Z</dc:date>
    <item>
      <title>How Can I execute BAPI in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-bapi-in-background/m-p/8633806#M1665133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends, &lt;/P&gt;&lt;P&gt;I have a requirement , I have to execute BAPI in background but my requirment is something differnt , Let me &lt;/P&gt;&lt;P&gt;specify , I have created a BAPI in which I am passing the data from SAP to java and Vice versa, &lt;/P&gt;&lt;P&gt;so in that case my BAPI is taking a lot of time to execute , then for that if I am running BAPI in background using &lt;/P&gt;&lt;P&gt;report program my requirement is not full filled, Hope you have got me .&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Rihan &lt;/P&gt;&lt;P&gt;SAP-abaper&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 09:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-bapi-in-background/m-p/8633806#M1665133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-30T09:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I execute BAPI in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-bapi-in-background/m-p/8633807#M1665134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using call function in background task.... in your report.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 09:57:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-bapi-in-background/m-p/8633807#M1665134</guid>
      <dc:creator>former_member189779</dc:creator>
      <dc:date>2012-03-30T09:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I execute BAPI in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-bapi-in-background/m-p/8633808#M1665135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;After calling your Bapi in the report call thi bapi &lt;STRONG&gt;BAPI_TRANSACTION_COMMIT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So by the wait status parameter will execute your program shortly and you can some values for this wait parameter.&lt;/P&gt;&lt;P&gt;If your Bapi fails then you should have to call the following bapi &lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;BAPI_TRANSACTION_ROLLBACK.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; That would Rollback your Bapi again. Changes Will not be done.&lt;/P&gt;&lt;P&gt;Hope will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 09:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-bapi-in-background/m-p/8633808#M1665135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-30T09:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I execute BAPI in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-bapi-in-background/m-p/8633809#M1665136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rihan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, you received good suggestions.&lt;/P&gt;&lt;P&gt;One more thing.&lt;/P&gt;&lt;P&gt;How do you pass your data? Should be 'pass by value' not 'pass by reference'.&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Wiel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 06:57:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-bapi-in-background/m-p/8633809#M1665136</guid>
      <dc:creator>wa_ramaekers</dc:creator>
      <dc:date>2014-10-23T06:57:14Z</dc:date>
    </item>
  </channel>
</rss>

