2008 Apr 30 7:52 AM
Hi,
The ENQUEUE function module 'EZ....' should have tablename as importing parameter than key fields of the ztable for which the lock is set.Same applies to Dequeue function.
Also without passing any parameters to enqueue or dequeue function, does lock gets set for table specified in the 'Primary table' field while creating lock object?
Hi,
The ENQUEUE function module 'EZ....' should have tablename as importing parameter than key fields of the ztable for which the lock is set.Same applies to Dequeue function.
Also without passing any parameters to enqueue or dequeue function, does lock gets set for table specified in the 'Primary table' field while creating lock object?
2008 Apr 30 7:59 AM
Hello Shilpa
It all depends on the lock object you are using. If you use the lock object with Enqueue by passing the table name like for example the lock object E_TABLE, then it will lock the entire table for update. But if you have created a custom lock objects for your table with all primary keys, then it will just lock that single record and not the entire table.
Regards
~ Ranganath
2008 Apr 30 8:05 AM
You can use the FM ENQUEUE_E_TABLE to lock the whole table. Pass table name to tabname and sy-mandt to varkey parameters.
Best Regards,
Kumar
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |