<?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: Lock editable alv in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121784#M1817189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bakkali, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are trying to save the values entered/chnaged in ALV to Database table. If this is the case Instead of trying to lock the ALV use Lock Objects (Enque &amp;amp; Deque) functions for the table being updated in the back ground. &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;Rajnesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2014 11:24:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-02-28T11:24:19Z</dc:date>
    <item>
      <title>Lock editable alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121783#M1817188</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;How to lock an editable alv grid when a first user is processing this alv&lt;/P&gt;&lt;P&gt;and unlock it when the first leave this alv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using&amp;nbsp; cl_gui_alv_grid&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Thank you&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 11:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121783#M1817188</guid>
      <dc:creator>abybakk</dc:creator>
      <dc:date>2014-02-28T11:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Lock editable alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121784#M1817189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bakkali, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are trying to save the values entered/chnaged in ALV to Database table. If this is the case Instead of trying to lock the ALV use Lock Objects (Enque &amp;amp; Deque) functions for the table being updated in the back ground. &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;Rajnesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 11:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121784#M1817189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-28T11:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Lock editable alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121785#M1817190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At selection screen event, try to set a lock.&amp;nbsp; If already locked, display a message and then make the editable fields read only .Else, let the user continue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 11:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121785#M1817190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-28T11:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Lock editable alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121786#M1817191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a lock object in SE11 and then use Enqueue FM to acquire lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 11:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121786#M1817191</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2014-02-28T11:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lock editable alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121787#M1817192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your replies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact i have to save the entered values in my&amp;nbsp; alv grid and update a document via ME47 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know if i have to lock the transaction ME47 or lock the entiere alv.&lt;/P&gt;&lt;P&gt;For the both solutions, i dont know how to do that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What the better solution for you? &lt;/P&gt;&lt;P&gt;i prefer to lock the editable alv to avoid two users working on it in the same time but the alv must always be available for display for any user&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 12:08:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121787#M1817192</guid>
      <dc:creator>abybakk</dc:creator>
      <dc:date>2014-02-28T12:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Lock editable alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121788#M1817193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bakkali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your requirement you can use OO ABAP concept "&lt;STRONG&gt;Singleton&lt;/STRONG&gt;" By this you can easily check if any other user is currently editing ALV object or not then you can set ALV treat as EDITABLE or LOCK.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 08:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-editable-alv/m-p/10121788#M1817193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-29T08:51:02Z</dc:date>
    </item>
  </channel>
</rss>

