<?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: Problems in Enqueue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548117#M853587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check in "Lock Parameters" tab of the Lock Object definition, whether you have selected the key fields. If not, it will lock the entire table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2008 07:35:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-19T07:35:58Z</dc:date>
    <item>
      <title>Problems in Enqueue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548116#M853586</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 created two programs to lock different records. But only one of them can be executed successfully. Can you help to indicate possible reason? The lock object uses 'E' lock. It has one primary table and a couple of secondary tables. But in these programs only the mode parameter corresponding to the primary table is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Program 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_reqkey TYPE KEYXXXXX      VALUE '9998'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ENQUEUE_XXXXXX'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;  MODE_PRIMARY_TAB      = 'E'&lt;/P&gt;&lt;P&gt;    REQKEY                      = lv_reqkey&lt;/P&gt;&lt;P&gt;   X_REQKEY                    = ' '&lt;/P&gt;&lt;P&gt;   _SCOPE                      = '2'&lt;/P&gt;&lt;P&gt;   _WAIT                       = ' '&lt;/P&gt;&lt;P&gt;   _COLLECT                    = ' '&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;BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Program 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_reqkey TYPE KEYXXXXX      VALUE '9999'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ENQUEUE_XXXXXX'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   MODE_PRIMARY_TAB       = 'E'&lt;/P&gt;&lt;P&gt;    REQKEY                      = lv_reqkey&lt;/P&gt;&lt;P&gt;   X_REQKEY                    = ' '&lt;/P&gt;&lt;P&gt;   _SCOPE                      = '2'&lt;/P&gt;&lt;P&gt;   _WAIT                       = ' '&lt;/P&gt;&lt;P&gt;   _COLLECT                    = ' '&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;BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks + Best Regards&lt;/P&gt;&lt;P&gt;Jerome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 07:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548116#M853586</guid>
      <dc:creator>former_member343107</dc:creator>
      <dc:date>2008-03-19T07:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in Enqueue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548117#M853587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check in "Lock Parameters" tab of the Lock Object definition, whether you have selected the key fields. If not, it will lock the entire table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 07:35:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548117#M853587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T07:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in Enqueue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548118#M853588</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;it is possible because of due to one of the parameters in :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_WAIT = ' '&lt;/P&gt;&lt;P&gt;_COLLECT = ' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try to put some value 'X' in one of these 2 or both and try checking whether it worked or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishnu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 07:37:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548118#M853588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T07:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in Enqueue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548119#M853589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "Lock Parameters" tab I selected the key of the document header table. But I didn't select the key of the document item tables. (item table also has the document header key as its own key.) Is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Jerome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 09:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548119#M853589</guid>
      <dc:creator>former_member343107</dc:creator>
      <dc:date>2008-03-19T09:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in Enqueue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548120#M853590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sovled by myself. The foreign key was not correctly set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 11:37:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-enqueue/m-p/3548120#M853590</guid>
      <dc:creator>former_member343107</dc:creator>
      <dc:date>2008-03-19T11:37:31Z</dc:date>
    </item>
  </channel>
</rss>

