Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8379

Re: Table level lock not working

$
0
0

Hi Priya,

 

It should work in this way!

 

call function 'ENQUEUE_E_TABLE'
         exporting
           mode_rstable   = 'E'
           tabname        = p_table
         exceptions
           foreign_lock   = 1
           system_failure = 2
           others         = 3.

       if sy-subrc = 0.

*       Modify the database table with these changes
         modify (p_table) from table <dyn_tab_temp>.

         refresh <dyn_tab_temp>.

*       Unlock the table
         call function 'DEQUEUE_E_TABLE'
           exporting
             mode_rstable = 'E'
             tabname      = p_table.

       endif.


Viewing all articles
Browse latest Browse all 8379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>