<?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: function module like ENQUEUE and DEQUEUE for function location. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485021#M1255487</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;You can either use the standard way of locking by using :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:lv_varkey          TYPE rstable-varkey.&lt;/P&gt;&lt;P&gt;concatenate &lt;STRONG&gt;functional_location&lt;/STRONG&gt; sy-mandt into lv_varkey .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*   Lock table
    CALL FUNCTION 'ENQUEUE_E_TABLEE'
      EXPORTING
        mode_rstable   = 'E'
        tabname        = 'IFLOS'
        varkey         = lv_varkey
      EXCEPTIONS
        foreign_lock   = 1
        system_failure = 2
        OTHERS         = 3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*     Unlock table
      CALL FUNCTION 'DEQUEUE_E_TABLEE'
        EXPORTING
          mode_rstable = 'E'
          tabname      = 'IFLOS'
          varkey       = lv_varkey.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned above create a lock object via transaction SE11.&lt;/P&gt;&lt;P&gt;Go to transaction se11:&lt;/P&gt;&lt;P&gt;--&amp;gt; Enter lock object name e.g EZ_IFLOS&lt;/P&gt;&lt;P&gt;--&amp;gt; Click on create&lt;/P&gt;&lt;P&gt;--&amp;gt; Enter description&lt;/P&gt;&lt;P&gt;--&amp;gt; Click on tables tab&lt;/P&gt;&lt;P&gt;--&amp;gt; Enter 'IFLOS' as table name&lt;/P&gt;&lt;P&gt;--&amp;gt; select lock mode&lt;/P&gt;&lt;P&gt;--. click on save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 function modules will be created as DEQUEUE_EZ_IFLOS and ENQUEUE_EZ_IFLOS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2009 13:05:38 GMT</pubDate>
    <dc:creator>dev_parbutteea</dc:creator>
    <dc:date>2009-04-28T13:05:38Z</dc:date>
    <item>
      <title>function module like ENQUEUE and DEQUEUE for function location.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485017#M1255483</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;I should be highly appreciate if any one help me for locking function module like ENQUEUE and DEQUEUE&lt;/P&gt;&lt;P&gt;for function location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shaw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 07:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485017#M1255483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T07:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: function module like ENQUEUE and DEQUEUE for function location.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485018#M1255484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create  lock object and these FM are automatically generated .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 07:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485018#M1255484</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-04-17T07:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: function module like ENQUEUE and DEQUEUE for function location.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485019#M1255485</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;I want to implement locking concept in a report  where I need to lock the function location (IL02), can any one please help me in getting the ENQUEUE AND DEQUEUE Function module .&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shaw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 12:27:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485019#M1255485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T12:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: function module like ENQUEUE and DEQUEUE for function location.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485020#M1255486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use transaction SE11 to create a lock object for that table. When the lock object is created the ENQUEUE and DEQUEUE function modules will be created automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 12:43:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485020#M1255486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T12:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: function module like ENQUEUE and DEQUEUE for function location.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485021#M1255487</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;You can either use the standard way of locking by using :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:lv_varkey          TYPE rstable-varkey.&lt;/P&gt;&lt;P&gt;concatenate &lt;STRONG&gt;functional_location&lt;/STRONG&gt; sy-mandt into lv_varkey .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*   Lock table
    CALL FUNCTION 'ENQUEUE_E_TABLEE'
      EXPORTING
        mode_rstable   = 'E'
        tabname        = 'IFLOS'
        varkey         = lv_varkey
      EXCEPTIONS
        foreign_lock   = 1
        system_failure = 2
        OTHERS         = 3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*     Unlock table
      CALL FUNCTION 'DEQUEUE_E_TABLEE'
        EXPORTING
          mode_rstable = 'E'
          tabname      = 'IFLOS'
          varkey       = lv_varkey.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned above create a lock object via transaction SE11.&lt;/P&gt;&lt;P&gt;Go to transaction se11:&lt;/P&gt;&lt;P&gt;--&amp;gt; Enter lock object name e.g EZ_IFLOS&lt;/P&gt;&lt;P&gt;--&amp;gt; Click on create&lt;/P&gt;&lt;P&gt;--&amp;gt; Enter description&lt;/P&gt;&lt;P&gt;--&amp;gt; Click on tables tab&lt;/P&gt;&lt;P&gt;--&amp;gt; Enter 'IFLOS' as table name&lt;/P&gt;&lt;P&gt;--&amp;gt; select lock mode&lt;/P&gt;&lt;P&gt;--. click on save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 function modules will be created as DEQUEUE_EZ_IFLOS and ENQUEUE_EZ_IFLOS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 13:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-like-enqueue-and-dequeue-for-function-location/m-p/5485021#M1255487</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2009-04-28T13:05:38Z</dc:date>
    </item>
  </channel>
</rss>

