<?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 use Enqueue/Dequeue to prevent concurrent write? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506066#M843279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Go to se11,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a lock object with name starting fron E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give the table names you want to lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after activating this will create two FM for enqueue and dequeue .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can check names for these by following path in same window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOTO-&amp;gt;LOCK MODULES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call these FM in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Talwinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2008 05:06:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-10T05:06:15Z</dc:date>
    <item>
      <title>How to use Enqueue/Dequeue to prevent concurrent write?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506065#M843278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a report program that allows multiple users to save to the database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I incorporate ENQUEUE and DEQUEUE statements to prevent concurrent write to ensure data integrity? Are there sample codes that I could refer to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 04:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506065#M843278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T04:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Enqueue/Dequeue to prevent concurrent write?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506066#M843279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Go to se11,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a lock object with name starting fron E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give the table names you want to lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after activating this will create two FM for enqueue and dequeue .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can check names for these by following path in same window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOTO-&amp;gt;LOCK MODULES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call these FM in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Talwinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 05:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506066#M843279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T05:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Enqueue/Dequeue to prevent concurrent write?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506067#M843280</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;&lt;/P&gt;&lt;P&gt;here screen get locked &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'ENQUEUE_EIQMEL'&lt;/P&gt;&lt;P&gt;               EXPORTING&lt;/P&gt;&lt;P&gt;                    mandt            = sy-mandt&lt;/P&gt;&lt;P&gt;                    qmnum          = i_final_ap-qmnum  -Notification number&lt;/P&gt;&lt;P&gt;               EXCEPTIONS&lt;/P&gt;&lt;P&gt;                    foreign_lock     = 1&lt;/P&gt;&lt;P&gt;                    system_failure = 2&lt;/P&gt;&lt;P&gt;                    OTHERS         = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;--Setting the  task "PE03" for notification  on screen&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'IQS4_ADD_DATA_NOTIFICATION'&lt;/P&gt;&lt;P&gt;               EXPORTING&lt;/P&gt;&lt;P&gt;                    i_qmnum    = i_final_ap-qmnum&lt;/P&gt;&lt;P&gt;                    i_conv     = ' '&lt;/P&gt;&lt;P&gt;                    i_post     = c_x&lt;/P&gt;&lt;P&gt;                    i_commit   = c_x&lt;/P&gt;&lt;P&gt;                    i_wait     = c_x&lt;/P&gt;&lt;P&gt;               TABLES&lt;/P&gt;&lt;P&gt;                    i_viqmsm_t = i_viqmsm_tmp&lt;/P&gt;&lt;P&gt;                    return     = i_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DEQUEUE_EIQMEL'&lt;/P&gt;&lt;P&gt;               EXPORTING&lt;/P&gt;&lt;P&gt;                    mandt = sy-mandt&lt;/P&gt;&lt;P&gt;                    qmnum = i_final_ap-qmnum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 05:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506067#M843280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T05:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Enqueue/Dequeue to prevent concurrent write?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506068#M843281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am referring to the locking of database records, so that when multiple users access the same record, they won't overwrite each other. How do I go about doing it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506068#M843281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Enqueue/Dequeue to prevent concurrent write?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506069#M843282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, must the lock object start with E?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-enqueue-dequeue-to-prevent-concurrent-write/m-p/3506069#M843282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:46:56Z</dc:date>
    </item>
  </channel>
</rss>

