<?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: Lock entry with Bapi BAPI_GOODSMVT_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243816#M142916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have played with the TESTRUN option, but, for me, it's a logical problem to use a function to commit change when I use the test mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And maybe, what about using the function BAPI_TRANSACTION_ROLLBACK ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2006 08:05:52 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2006-04-24T08:05:52Z</dc:date>
    <item>
      <title>Lock entry with Bapi BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243810#M142910</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;I have created a program with an ALV grid, when a user select a line and press a button that will call the function BAPI_GOODSMVT_CREATE. &lt;/P&gt;&lt;P&gt;The problem is, each time I call the BAPI, there was lock entry created. And this lock entry is only release when the users leave the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a way to release all the lock entry after the end of the function ? &lt;/P&gt;&lt;P&gt;Or maybe, other solution, is too call in background task the function ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgd&lt;/P&gt;&lt;P&gt;Frédéric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 07:33:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243810#M142910</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-04-24T07:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lock entry with Bapi BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243811#M142911</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;You would be calling BAPI_TRANSACTION_COMMIT which should ideally release the locks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 07:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243811#M142911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-24T07:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lock entry with Bapi BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243812#M142912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use functiom module DEQUEUE_ALL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 07:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243812#M142912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-24T07:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Lock entry with Bapi BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243813#M142913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't want to commit the transaction, because I run the function in test mode. &lt;/P&gt;&lt;P&gt;(not all the times)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 07:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243813#M142913</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-04-24T07:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lock entry with Bapi BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243814#M142914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe a good idea .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check, but I'm not sure about the impact of dequeue ALL the lock entry (cause my users could play with a lot of entry ... )&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 07:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243814#M142914</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-04-24T07:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Lock entry with Bapi BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243815#M142915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using it in TEST MODE swtich on the flag TESTRUN of the BAPI and after that even if you COMMIT the changes will NOT be there in the DATABASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the locks will be released and changes are also NOT committed to DB if you have the TESTRUN flag on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not recommended that you unlock the locks manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 07:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243815#M142915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-24T07:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Lock entry with Bapi BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243816#M142916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have played with the TESTRUN option, but, for me, it's a logical problem to use a function to commit change when I use the test mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And maybe, what about using the function BAPI_TRANSACTION_ROLLBACK ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 08:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243816#M142916</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-04-24T08:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lock entry with Bapi BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243817#M142917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BAPI_TRANSACTION_ROLLBACK also should release the locks, how ever you need to be careful to see that the changes that you do want to save are NOT lost. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 08:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243817#M142917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-24T08:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Lock entry with Bapi BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243818#M142918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 08:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243818#M142918</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-04-24T08:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Lock entry with Bapi BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243819#M142919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if user selects only one entry and makes changes maybe u can use ENQUEUE_READ, then pass those entries to specific DEQUEUE_(locks with respect to Goods movement).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 08:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-entry-with-bapi-bapi-goodsmvt-create/m-p/1243819#M142919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-24T08:31:25Z</dc:date>
    </item>
  </channel>
</rss>

