<?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: Return Messages for a BAPI run in Background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502015#M842327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  After execution of BAPI, loop through the return internal table ' RETURN' and write the relevant messages as a report. After batch run, you can get the result in the spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 15:00:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-12T15:00:21Z</dc:date>
    <item>
      <title>Return Messages for a BAPI run in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502014#M842326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running a BAPI( BAPI_SALESORDER_CHANGE ) in Background task, It works fine and updates the Sales order but i dont get any return messages.But based on the return messages i need to show up on the report which orders got updated and which are not.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me how can i get the return messages when i run a BAPI in background task......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 14:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502014#M842326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T14:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Return Messages for a BAPI run in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502015#M842327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  After execution of BAPI, loop through the return internal table ' RETURN' and write the relevant messages as a report. After batch run, you can get the result in the spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 15:00:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502015#M842327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T15:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Return Messages for a BAPI run in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502016#M842328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick response....I think you got me wrong...I am not running the program as a background job....I am running only the bapi in background task as below.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'BAPI_SALESORDER_CHANGE'&lt;/P&gt;&lt;P&gt;               IN BACKGROUND TASK AS SEPARATE UNIT&lt;/P&gt;&lt;P&gt;                 EXPORTING&lt;/P&gt;&lt;P&gt;                      salesdocument    = v_vbeln&lt;/P&gt;&lt;P&gt;                      order_header_in  = it_bapisdh1&lt;/P&gt;&lt;P&gt;                      order_header_inx = it_bapisdh1x&lt;/P&gt;&lt;P&gt;                 TABLES&lt;/P&gt;&lt;P&gt;                      return           = it_return&lt;/P&gt;&lt;P&gt;                      partnerchanges   = it_bapiparnrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the bapi runs as a background task i dont get any return messages in it_return but the sales order gets updated....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i will have to capture the return messages as well....How can i achieve that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 15:07:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502016#M842328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T15:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Return Messages for a BAPI run in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502017#M842329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anybdy have an idea how to do this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 15:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502017#M842329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T15:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Return Messages for a BAPI run in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502018#M842330</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;why don't you write out the contents of i_return on the screen ...i understand that ur running this as background job ...if you writeout the contents ...that will be stored as spool ...once u have the spool no ...u can retrive tht output contents any time ...or else write in a piece of code to generate email ...which will contains the contents of i_return ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hemal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 15:41:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502018#M842330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T15:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Return Messages for a BAPI run in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502019#M842331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is i dont get any messages in IT_RETURN when i run the BAPI in Background as it runs as a different task....If i run the same BAPI in the foreground or in the normal mode i get the messages in IT_RETURN..But the problem is only when i run the BAPI as Background Task.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 15:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-messages-for-a-bapi-run-in-background/m-p/3502019#M842331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T15:48:24Z</dc:date>
    </item>
  </channel>
</rss>

