<?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: Problem running background task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631747#M1761868</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;May be applying a little WAIT..UP TO might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2013 22:02:17 GMT</pubDate>
    <dc:creator>arindam_m</dc:creator>
    <dc:date>2013-07-25T22:02:17Z</dc:date>
    <item>
      <title>Problem running background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631745#M1761866</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;&lt;/P&gt;&lt;P&gt;I need to update batch master record MF date on basic data one tab and one characteristic in classification tab in Batch master when saving the Process Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I am doing is I am calling &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAPI_BATCH_CHANGE' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;BACKGROUND &lt;SPAN class="L0S52"&gt;TASK&amp;nbsp; "To change date &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAPI_OBJCL_CHANGE' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;in &lt;/SPAN&gt;background &lt;SPAN class="L0S52"&gt;task&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "To change characteristic value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in enhancement point before WORKORDER_UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem : The date on basic data one tab gets updated correctly every time but the characteristic value on classification tab sometimes gets updated&lt;/P&gt;&lt;P&gt;sometimes not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably both the background tasks are run in parallel and one of them block the batch master data. How can I make them call one after another? &lt;/P&gt;&lt;P&gt;I can not use these functions in UPDATE TASK it will dump. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your views/inputs are appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 15:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631745#M1761866</guid>
      <dc:creator>former_member189779</dc:creator>
      <dc:date>2013-07-25T15:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631746#M1761867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There will be a lock created by the first.&amp;nbsp; Wait until it is released to call the second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 15:12:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631746#M1761867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-25T15:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631747#M1761868</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;May be applying a little WAIT..UP TO might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 22:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631747#M1761868</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-07-25T22:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631748#M1761869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why are you doing it in background task?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 09:42:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631748#M1761869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-26T09:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631749#M1761870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because I want to update the batch after saving the process order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 11:35:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631749#M1761870</guid>
      <dc:creator>former_member189779</dc:creator>
      <dc:date>2013-07-26T11:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631750#M1761871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you call it in background task, wouldn't the processing continue irrespective of whether process order was saved successfully or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your 2 function modules and BAPI_TRANSACTION_COMMIT can be bundled in custom FM, and that can be called to ensure sequence of execution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 11:43:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-running-background-task/m-p/9631750#M1761871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-26T11:43:30Z</dc:date>
    </item>
  </channel>
</rss>

