<?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 Object Mode V in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-mode-v/m-p/12153735#M1977286</link>
    <description>&lt;P&gt;It's not very surprising that V is not allowed inside a lock object, because V is just a &lt;STRONG&gt;check &lt;/STRONG&gt;lock mode (to test whether a lock exists), which means that there must be a real lock mode too (otherwise there will never be any lock), which is to be defined in the lock object.&lt;/P&gt;&lt;P&gt;That said, V being the test counterpart of the E lock mode. So, define E in the lock object, and in your ABAP program, call the enqueue function with V mode to check for existing locks.&lt;/P&gt;&lt;P&gt;More information in &lt;A href="https://help.sap.com/viewer/product/SAP_NETWEAVER_AS_ABAP_752/7.52.5/en-US?q=Example:%20Using%20the%20Check%20Lock%20Modes"&gt;SAP Library - Example: Using the Check Lock Modes&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2020 13:53:43 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2020-01-30T13:53:43Z</dc:date>
    <item>
      <title>Lock Object Mode V</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-mode-v/m-p/12153733#M1977284</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1777692-untitled.jpg"&gt;untitled.jpg&lt;/A&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I am trying to create lock object with lock mode V, i am getting error.&lt;/P&gt;
  &lt;P&gt;Lock mode V for table XXX is not allowed &lt;/P&gt;
  &lt;P&gt;Lock object XX is inconsistent&lt;/P&gt;
  &lt;P&gt;Please find screen shot.&lt;/P&gt;
  &lt;P&gt;With Regards,&lt;/P&gt;
  &lt;P&gt;Sunny.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 11:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-mode-v/m-p/12153733#M1977284</guid>
      <dc:creator>praneeth_chintapalli</dc:creator>
      <dc:date>2020-01-30T11:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Lock Object Mode V</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-mode-v/m-p/12153734#M1977285</link>
      <description>&lt;P&gt;I think you should open the lock object in SE11 and then use the check button should tell you what inconsistency is found on your lock object. That could perhaps tell you what to change and hopefully fix your issue. In the documentation &lt;A href="https://help.sap.com/viewer/6568469cf5a1460a8d85c58b83d21ec2/7.5.9/en-US/47daeac909dd3020e10000000a42189d.html"&gt;here &lt;/A&gt; I don't find any reference to lock mode 'V', so perhaps you should consider using another lock mode?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 12:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-mode-v/m-p/12153734#M1977285</guid>
      <dc:creator>AlbertoR</dc:creator>
      <dc:date>2020-01-30T12:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lock Object Mode V</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-mode-v/m-p/12153735#M1977286</link>
      <description>&lt;P&gt;It's not very surprising that V is not allowed inside a lock object, because V is just a &lt;STRONG&gt;check &lt;/STRONG&gt;lock mode (to test whether a lock exists), which means that there must be a real lock mode too (otherwise there will never be any lock), which is to be defined in the lock object.&lt;/P&gt;&lt;P&gt;That said, V being the test counterpart of the E lock mode. So, define E in the lock object, and in your ABAP program, call the enqueue function with V mode to check for existing locks.&lt;/P&gt;&lt;P&gt;More information in &lt;A href="https://help.sap.com/viewer/product/SAP_NETWEAVER_AS_ABAP_752/7.52.5/en-US?q=Example:%20Using%20the%20Check%20Lock%20Modes"&gt;SAP Library - Example: Using the Check Lock Modes&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 13:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-mode-v/m-p/12153735#M1977286</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-01-30T13:53:43Z</dc:date>
    </item>
  </channel>
</rss>

