<?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 during updating batch master in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369830#M1401660</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;Have u used BAPI_TRANSACTION_COMMIT after updation of first entrry, If not try this it will help you to fix the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bysani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2009 14:56:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-02T14:56:30Z</dc:date>
    <item>
      <title>Problem during updating batch master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369828#M1401658</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 facing problem during batch updation. There is one RF program for creation of goods movement. After material document is created the batch needs to be updated. I have called BAPI_BATCH_CHANGE for updating country of origin, vendor batch and Z function module for updating revision level. Sometimes all fields gets updated properly and sometimes they dont. I have debug program and there is no coding problem. If i debug then all fields get updated properly. I am unable to trace then error. Is this logical database problem? If not then what can be the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shobhit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 14:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369828#M1401658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T14:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during updating batch master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369829#M1401659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand you correctly you are updating the batch number which was used in the material document  generated.&lt;/P&gt;&lt;P&gt;Are you calling BAPI to update batch just after goods movement bapi ? &lt;/P&gt;&lt;P&gt;If yes then just try to display ( by write or storing in custom table ) the error message when you are not in debug mode , most probably batch is still locked by the goods mvt BAPI by the time it executes batch update .&lt;/P&gt;&lt;P&gt;Just check by checking the message if its the locking issue , because you are not getting error in debug mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 14:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369829#M1401659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T14:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during updating batch master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369830#M1401660</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;Have u used BAPI_TRANSACTION_COMMIT after updation of first entrry, If not try this it will help you to fix the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bysani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 14:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369830#M1401660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T14:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during updating batch master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369831#M1401661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shobhit,&lt;/P&gt;&lt;P&gt;Are you using the FM BAPI_TRANSACTION_COMMIT, to commit after the BAPI is called, if yes, this might be causing the data not to be saved for the customer function module, when you use the COMMIT, all the LUW will be cleared and the the data after commit won't be saved....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so do the COMMIT work, after your customer function module, or call your function module before the BAPI,,,,once all FM's are called, then do the commit, it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 15:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369831#M1401661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T15:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during updating batch master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369832#M1401662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your issue resolved, please close the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2009 22:04:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-during-updating-batch-master/m-p/6369832#M1401662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-07T22:04:03Z</dc:date>
    </item>
  </channel>
</rss>

