<?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: Issue with BAPI_BATCH_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355854#M1921840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Did you use any wait / delay statement in your function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2015 04:43:39 GMT</pubDate>
    <dc:creator>venkateswaran_k</dc:creator>
    <dc:date>2015-10-06T04:43:39Z</dc:date>
    <item>
      <title>Issue with BAPI_BATCH_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355853#M1921839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAPERs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where in I have to update the BATCH detail (in a Goods receipt Material document)&amp;nbsp; with a new valuation type based on the value of movement type. This is to be done on posting the goods receipt using MIGO Tcode and I have put this entire code of updating the BATCH in an Function Module which is called as a NEW TASK(in BADI IF_EX_MB_MIGO_BADI~POST_DOCUMENT). I have tried triggering the changes in debug mode, by creating a material document, and it is working fine in debug mode. But on checking back in MIGO for the newly generated material document, valuation type of the batch remains same and its not updated. Could you please throw some expert advise into this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J_X&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 04:40:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355853#M1921839</guid>
      <dc:creator>former_member563268</dc:creator>
      <dc:date>2015-10-06T04:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_BATCH_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355854#M1921840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Did you use any wait / delay statement in your function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 04:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355854#M1921840</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2015-10-06T04:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_BATCH_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355855#M1921841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes; i have used wait statement inside FM just incase to avoid the locking of Batch data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 05:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355855#M1921841</guid>
      <dc:creator>former_member563268</dc:creator>
      <dc:date>2015-10-06T05:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_BATCH_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355856#M1921842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi J ABAP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the things is working fine in debugging mode then it must be issue for the wait statement .&lt;/P&gt;&lt;P&gt;Please check my below answer. The same problem occurs in implicit enhancement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;Have you checked after using wait statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #333333; background: #ffffff;"&gt;You are getting the value from the same table which system has earlier updated in the same session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #333333; background: #ffffff;"&gt;While debugging system has got time to update the table, but in direct execution system doesn't get time for updating the database that why your code is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;&lt;A __default_attr="16265857" __jive_macro_name="message" class="jive_macro_message jive_macro" data-orig-content="Re: Implicit enhancement for VF01 in FM RV_INVOICE_DOCUMENT_ADD?" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 05:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355856#M1921842</guid>
      <dc:creator>nishantbansal91</dc:creator>
      <dc:date>2015-10-06T05:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_BATCH_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355857#M1921843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the note Nishant. But i had wait statement added from the beginning, considering the same table update scenario you have mentioned. But it still doesnt update.&lt;/P&gt;&lt;P&gt;And a littles clarification on the understanding. Eventhough it isworking fine in debug mode, it is still not havign the updated valuation type after checking in MIGO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J_X&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 05:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-batch-create/m-p/11355857#M1921843</guid>
      <dc:creator>former_member563268</dc:creator>
      <dc:date>2015-10-06T05:45:32Z</dc:date>
    </item>
  </channel>
</rss>

