<?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: Locking issue after BDC recording tcode COPAWA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779199#M39037</link>
    <description>&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;Used WAIT = 'X' in commit . But still, the same issue is occurring. Please suggest what is wrong with it.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narasimha.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jan 2019 08:42:27 GMT</pubDate>
    <dc:creator>former_member210804</dc:creator>
    <dc:date>2019-01-09T08:42:27Z</dc:date>
    <item>
      <title>Locking issue after BDC recording tcode COPAWA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779197#M39035</link>
      <description>&lt;P&gt;Hi experts, Currently, I wrote a function module which process in sequence as packing HU, change the HU header and Assigning HU to process the order. For packing HU, used standard bapi BAPI_HU_PACK, for change HU header, used standard bapi BAPI_HU_CHANGE_HEADER. For assigning HU, called BDC using call transaction 'COPAWA'. Before calling BDC, used DEQUEUE_ALL function module to unlock the HU. But after processing, I m getting HU lock issue. Please look at the screenshot below.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/257849-log1.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/257851-log2.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 07:18:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779197#M39035</guid>
      <dc:creator>former_member210804</dc:creator>
      <dc:date>2019-01-09T07:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue after BDC recording tcode COPAWA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779198#M39036</link>
      <description>&lt;P&gt;DEQUEUE_ALL (which should only be used when breaking transaction as during an exit function key process) only release lock of your current luw/session, not those kept by the update task. Did you use the option WAIT in the COMMIT of the BAPI call?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 07:36:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779198#M39036</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2019-01-09T07:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue after BDC recording tcode COPAWA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779199#M39037</link>
      <description>&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;Used WAIT = 'X' in commit . But still, the same issue is occurring. Please suggest what is wrong with it.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narasimha.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 08:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779199#M39037</guid>
      <dc:creator>former_member210804</dc:creator>
      <dc:date>2019-01-09T08:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue after BDC recording tcode COPAWA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779200#M39038</link>
      <description>&lt;P&gt;How about using &lt;STRONG&gt;COMMIT WORK AND WAIT &lt;/STRONG&gt;statement? I find it sometimes that it works while the FM &lt;STRONG&gt;BAPI_TRANSACTION_COMMIT &lt;/STRONG&gt;doesn't.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 05:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779200#M39038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-01-15T05:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue after BDC recording tcode COPAWA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779201#M39039</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;amiruddin.ayaz&lt;/SPAN&gt; BAPI_TRANSACTION_COMMIT is very simple code, if you pass parameter WAIT = 'X', it does immediately a COMMIT WORK AND WAIT, so that's impossible that "COMMIT WORK works while BAPI_TRANSACTION_COMMIT [with WAIT = 'X'] doesn't" (or you experienced some issues related to the "BAPI buffer" cleared by BAPI_TRANSACTION_COMMIT, which is not related to the "commit work").&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 07:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779201#M39039</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-01-15T07:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue after BDC recording tcode COPAWA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779202#M39040</link>
      <description>&lt;P&gt;This wouldn't be related to &lt;A href="https://answers.sap.com/answers/722759/view.html" target="_blank"&gt;'Exception condition "OS_COMMIT_WORK_FORBIDDEN" triggered'&lt;/A&gt; by any chance ?  Are you still trying to use Commit Work in the wrong place ??&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 08:27:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue-after-bdc-recording-tcode-copawa/m-p/779202#M39040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-01-15T08:27:34Z</dc:date>
    </item>
  </channel>
</rss>

