<?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: BAPI and lock entries? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288168#M154537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kathrin!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quite often I have some lost locks after using BAPI_MATERIAL_MAINTAINDATA_RT (and commit work!), e.g. locks on level of EAN-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM DEQUEUE_ALL is a reliable helper in all this cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Mar 2006 10:23:49 GMT</pubDate>
    <dc:creator>christian_wohlfahrt</dc:creator>
    <dc:date>2006-03-07T10:23:49Z</dc:date>
    <item>
      <title>BAPI and lock entries?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288164#M154533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I am using BAPIs BAPI_ENTRYSHEET_CHECK and BAPI_ENTRYSHEET_CREATE in a customer report. While testing, I found that the lock entries are not always removed by the BAPIs. For instance, if BAPI_ENTRYSHEET_CHECK returns an error, the purchase order remains locked. Do I always have to call FM BAPI_TRANSACTION_COMMIT/ROLLBACK to ensure that all lock entries will be removed? Although I would not expect a 'CHECK' BAPI to perform database changes?&lt;/P&gt;&lt;P&gt;Thank you for any suggestions, kind regards, Kathrin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 10:13:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288164#M154533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T10:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and lock entries?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288165#M154534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kathrin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In all cases, whether ok or error,&lt;/P&gt;&lt;P&gt;   call  BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;  so that all &lt;/P&gt;&lt;P&gt;  finishing touches are given to the &lt;/P&gt;&lt;P&gt;  pending tasks.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 10:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288165#M154534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T10:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and lock entries?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288166#M154535</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;Yes! The commit releases all blocks, but if you know the block you can try to remove the block using its fm DEQUEUE_&amp;lt;BLOCK&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 10:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288166#M154535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T10:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and lock entries?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288167#M154536</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 need to call &amp;lt;b&amp;gt;BAPI_TRANSACTION_COMMIT&amp;lt;/b&amp;gt; after your bapi call . so that every thing will be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 10:22:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288167#M154536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T10:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and lock entries?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288168#M154537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kathrin!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quite often I have some lost locks after using BAPI_MATERIAL_MAINTAINDATA_RT (and commit work!), e.g. locks on level of EAN-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM DEQUEUE_ALL is a reliable helper in all this cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 10:23:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288168#M154537</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2006-03-07T10:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and lock entries?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288169#M154538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You will have to call BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shashank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 10:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288169#M154538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T10:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and lock entries?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288170#M154539</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 need to call BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;This will handle both the cases. &lt;/P&gt;&lt;P&gt;If success then a commit will save data in database,&lt;/P&gt;&lt;P&gt;else it will rollback without any change in database.&lt;/P&gt;&lt;P&gt;So calling BAPI_TRANSACTION_COMMIT is a must.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 16:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-lock-entries/m-p/1288170#M154539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T16:44:00Z</dc:date>
    </item>
  </channel>
</rss>

