<?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 using BAPI_REQUISITION_RESET_REL_GEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-requisition-reset-rel-gen/m-p/6704650#M1452909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error occurs during the 2nd function module (BAPI...CHANGE), right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is probably because the update of the first one is still going on, as it is generally done using update tasks which are asynchronous, and the locks are retained until the end of the update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you have to wait for the end of the update task by calling function module BAPI_TRANSACTION_COMMIT with WAIT = 'X' (it's like COMMIT WORK AND WAIT but prefer to use this function module as it may contain "buffer refresh" processing)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Mar 2010 17:58:59 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2010-03-06T17:58:59Z</dc:date>
    <item>
      <title>Problem using BAPI_REQUISITION_RESET_REL_GEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-requisition-reset-rel-gen/m-p/6704649#M1452908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      I need to close the PR ( Purchase requisition closed  EBAKZ ) programatically. Firstly i am unreleasing PR and changing , because of using BAPI_REQUISITION_RESET_REL_GEN to unrelease , i am not able to change  and giving an error message  PR is already processing by user(myself) . The lock is not being released after using commit too. So i am not able to change. Please help me out, if there is any work around in resolvong the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Mar 2010 12:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-requisition-reset-rel-gen/m-p/6704649#M1452908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-06T12:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using BAPI_REQUISITION_RESET_REL_GEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-requisition-reset-rel-gen/m-p/6704650#M1452909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error occurs during the 2nd function module (BAPI...CHANGE), right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is probably because the update of the first one is still going on, as it is generally done using update tasks which are asynchronous, and the locks are retained until the end of the update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you have to wait for the end of the update task by calling function module BAPI_TRANSACTION_COMMIT with WAIT = 'X' (it's like COMMIT WORK AND WAIT but prefer to use this function module as it may contain "buffer refresh" processing)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Mar 2010 17:58:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-requisition-reset-rel-gen/m-p/6704650#M1452909</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-03-06T17:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using BAPI_REQUISITION_RESET_REL_GEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-requisition-reset-rel-gen/m-p/6704651#M1452910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have followed what you have said. I am used transaction commit with wait option. but stil the locks are been therel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 06:41:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-requisition-reset-rel-gen/m-p/6704651#M1452910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T06:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using BAPI_REQUISITION_RESET_REL_GEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-requisition-reset-rel-gen/m-p/6704652#M1452911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay so maybe it's an asynchronous task, is there some workflow?&lt;/P&gt;&lt;P&gt;A good option to see where the problem comes from: trace the locks using ST05 transaction. You will be able to see what program and in which line the locks are done (there is a button to display the source). Note that you have the possibility to see in the trace the result of each lock via the return code: 0 means successful, other (4) means failure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 09:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-requisition-reset-rel-gen/m-p/6704652#M1452911</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-03-08T09:59:20Z</dc:date>
    </item>
  </channel>
</rss>

