<?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: How to delete lock entries generated by the function module &amp;quot;BAPI_OBJCL_CHANGE&amp;quot; in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-lock-entries-generated-by-the-function-module-quot-bapi-objcl/m-p/10240086#M1828197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I quess/hope you want to remove locks in you caller program and not locks required by the update task processing to insure database consistencies...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you use the WAIT option in the commit FM, else if there are no other locks in your called program a call of FM DEQUEUE_ALL could solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2014 12:13:57 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2014-04-14T12:13:57Z</dc:date>
    <item>
      <title>How to delete lock entries generated by the function module "BAPI_OBJCL_CHANGE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-lock-entries-generated-by-the-function-module-quot-bapi-objcl/m-p/10240085#M1828196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm now trying to make an add-on program&lt;/P&gt;&lt;P&gt;which updates material master information by the background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update the "Classification" view of material master,&lt;/P&gt;&lt;P&gt;the program calls the function module "BAPI_OBJCL_CHANGE".&lt;/P&gt;&lt;P&gt;If the "RETURN" information is valid,&lt;/P&gt;&lt;P&gt;then the program calls "BAPI_TRANSACTION_COMMIT" (with the "wait" parameter 'X').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contrary to my intention,&lt;/P&gt;&lt;P&gt;lock entries generated by the function module "BAPI_OBJCL_CHANGE" remains after "BAPI_TRANSACTION_COMMIT".&lt;/P&gt;&lt;P&gt;As a result, the material updated remains locked until the add-on processing ends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To shoot this trouble, I read some SCN discussions below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&lt;A __default_attr="654621" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="lock unlock record" href="https://community.sap.com/"&gt;&lt;/A&gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;⇒ As I wrote above, I checked the parameter for "BAPI_TRANSACTION_COMMIT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&lt;A __default_attr="1601438" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="BAPI_OBJCL_CHANGE Lock Error !" href="https://community.sap.com/"&gt;&lt;/A&gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;⇒ I cannot call the function module "BAPI_OBJCL_CHANGE" with "IN UPDATE TASK" option&lt;/P&gt;&lt;P&gt;because of "BAPI_OBJCL_CHANGE" attributes.&lt;/P&gt;&lt;P&gt;("BAPI_OBJCL_CHANGE" is not a "Update Module".)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;How can I delete lock entries generated by the function module "BAPI_OBJCL_CHANGE" ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 02:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-lock-entries-generated-by-the-function-module-quot-bapi-objcl/m-p/10240085#M1828196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-14T02:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete lock entries generated by the function module "BAPI_OBJCL_CHANGE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-lock-entries-generated-by-the-function-module-quot-bapi-objcl/m-p/10240086#M1828197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I quess/hope you want to remove locks in you caller program and not locks required by the update task processing to insure database consistencies...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you use the WAIT option in the commit FM, else if there are no other locks in your called program a call of FM DEQUEUE_ALL could solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 12:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-lock-entries-generated-by-the-function-module-quot-bapi-objcl/m-p/10240086#M1828197</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-04-14T12:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete lock entries generated by the function module "BAPI_OBJCL_CHANGE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-lock-entries-generated-by-the-function-module-quot-bapi-objcl/m-p/10240087#M1828198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kind advice !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, there are other locks which must be kept during the add-on processing ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 00:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-lock-entries-generated-by-the-function-module-quot-bapi-objcl/m-p/10240087#M1828198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-15T00:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete lock entries generated by the function module "BAPI_OBJCL_CHANGE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-lock-entries-generated-by-the-function-module-quot-bapi-objcl/m-p/10240088#M1828199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But the BAPI_TRANSACTION_COMMIT / COMMIT WORK will release many locks ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could wrap the BAPI and the COMMIT in a RFC enabled customer FM, and exectute it in DESTINATION NONE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 06:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-delete-lock-entries-generated-by-the-function-module-quot-bapi-objcl/m-p/10240088#M1828199</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-04-15T06:20:08Z</dc:date>
    </item>
  </channel>
</rss>

