<?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: Regarding lock objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102360#M736216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you should have two function modules for setting and removing a lock. Just call the ENQUEUE_xxx function module with the key value before editing (and don't allow, if sy-subrc &amp;lt;&amp;gt; 0). With saving, call the DEQUEUE_xxx, to release the lock again. The names can be found in SE11 of your enqueue object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2007 15:44:15 GMT</pubDate>
    <dc:creator>christian_wohlfahrt</dc:creator>
    <dc:date>2007-11-21T15:44:15Z</dc:date>
    <item>
      <title>Regarding lock objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102356#M736212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've a TCode to modify a report. That TCode picks a doc no. from a table &amp;amp; opens up an editable ALV based on that doc. no .That doc. no. is the only primary key.&lt;/P&gt;&lt;P&gt;I want that if someone is already opened that report, &amp;amp; if someoen else is trying to open that report, it shouldn't open &amp;amp; should show that its locked. I've made a lock object for that table. Please advise what to do next.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 13:14:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102356#M736212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-21T13:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding lock objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102357#M736213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once the lock objects are created you need to apply them in the code using ENQUEUE and DEQUEUE function modules generated for them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 14:45:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102357#M736213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-21T14:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding lock objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102358#M736214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pandey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link it might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=6846347&amp;amp;messageID=4083806" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=6846347&amp;amp;messageID=4083806&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 14:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102358#M736214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-21T14:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding lock objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102359#M736215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before displaying the report in change mode use the function module 'ENQUE_READ' to check if there are any lock entries created already. If there are, show the report in display mode. Otherwise, lock using FM 'ENQUEUE_' and show the report in change mode. Don't forget to remove the lock entry using FM 'DQUEUE_' when the user exits the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sameej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 15:19:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102359#M736215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-21T15:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding lock objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102360#M736216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you should have two function modules for setting and removing a lock. Just call the ENQUEUE_xxx function module with the key value before editing (and don't allow, if sy-subrc &amp;lt;&amp;gt; 0). With saving, call the DEQUEUE_xxx, to release the lock again. The names can be found in SE11 of your enqueue object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 15:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/3102360#M736216</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2007-11-21T15:44:15Z</dc:date>
    </item>
  </channel>
</rss>

