<?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: Deleting Lock entries from SM12 programmatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019948#M1608641</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;we can use this Fm to delete enque Objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ENQUEUE_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING &lt;/P&gt;&lt;P&gt;      gname  = ''    """"""""""" ESDOKOBJ  ( eg : table name )&lt;/P&gt;&lt;P&gt;      garg   = ''   """""""""""" document name ( eg : trdir )&lt;/P&gt;&lt;P&gt;      GUNAME = ''&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      enq    = enq&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE enq LINES sy-tfill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK sy-tfill &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ENQUE_DELETE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      suppress_syslog_entry = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      subrc                 = rc&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      enq                   = enq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2011 10:25:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-28T10:25:49Z</dc:date>
    <item>
      <title>Deleting Lock entries from SM12 programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019943#M1608636</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 am working in Records management. I want to update the status of the Record in the workflow. But it is not working because the record is open in other session. I found the DEQUEUE_ESDOKOBJ function to unlock my type of object. But there is no effect and the lock is still there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can anyone help me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sivagami R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 04:54:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019943#M1608636</guid>
      <dc:creator>former_member131833</dc:creator>
      <dc:date>2011-07-28T04:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Lock entries from SM12 programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019944#M1608637</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;Use FM : 'DEQUEUE_ALL'.User ID is the parameter for this FM so it will deletes all the lock entries realted to u&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;Sreeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 05:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019944#M1608637</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2011-07-28T05:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Lock entries from SM12 programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019945#M1608638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreeram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. But the user who has locked will be different from the one who is trying to deleting the lock entry(WF_BATCH in workflow). Also the FM has _SYNCHRON as parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sivagami R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 05:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019945#M1608638</guid>
      <dc:creator>former_member131833</dc:creator>
      <dc:date>2011-07-28T05:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Lock entries from SM12 programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019946#M1608639</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 can use fm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RS_ACCESS_PERMISSION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RS_ACCESS_PERMISSION'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AUTHORITY_CHECK                      = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GLOBAL_LOCK                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LANGUAGE_UPD_EXIT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MASTER_LANGUAGE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   MODE                                 = 'FREE'&lt;/P&gt;&lt;P&gt;    object                               ='Your programname"&lt;/P&gt;&lt;P&gt;    object_class                         = ABAP&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TRDIR_INF                            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 07:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019946#M1608639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T07:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Lock entries from SM12 programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019947#M1608640</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 to delete lock entry for lock object ESDOKOBJ. We have the FM DEQUEUE_ESDOKOBJ. But this is  not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sivagami R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:22:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019947#M1608640</guid>
      <dc:creator>former_member131833</dc:creator>
      <dc:date>2011-07-28T09:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Lock entries from SM12 programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019948#M1608641</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;we can use this Fm to delete enque Objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ENQUEUE_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING &lt;/P&gt;&lt;P&gt;      gname  = ''    """"""""""" ESDOKOBJ  ( eg : table name )&lt;/P&gt;&lt;P&gt;      garg   = ''   """""""""""" document name ( eg : trdir )&lt;/P&gt;&lt;P&gt;      GUNAME = ''&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      enq    = enq&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE enq LINES sy-tfill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK sy-tfill &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ENQUE_DELETE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      suppress_syslog_entry = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      subrc                 = rc&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      enq                   = enq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 10:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-lock-entries-from-sm12-programmatically/m-p/8019948#M1608641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T10:25:49Z</dc:date>
    </item>
  </channel>
</rss>

