2008 May 28 9:03 AM
Hi there,
I have used SAP Enqueue and Dequeue Lock in my program. However, it does not seems to work. Do I need to have a specific authorisation in order to be able to perform Enqueuing n Dequeuing?
In addition, when i perform CALL FUNCTION 'ENQUEUE_XXXXXX', what does the return code, sy-subrc = 4 signifies?
Thank You.
Hi there,
I have used SAP Enqueue and Dequeue Lock in my program. However, it does not seems to work. Do I need to have a specific authorisation in order to be able to perform Enqueuing n Dequeuing?
In addition, when i perform CALL FUNCTION 'ENQUEUE_XXXXXX', what does the return code, sy-subrc = 4 signifies?
Thank You.
2008 May 28 9:08 AM
For sy-subrc = 4 U need to check the Exceptions declared in FM
'ENQUEUE_XXXXXX' .
check 4th exception in the FM ..
2008 May 28 9:09 AM
locking failed if sy-subrc = 4. Check your function module exceptions and see what fourth exception is. maybe object is already locked and you can't lock it again.
2008 May 28 9:23 AM
Use transaction SM12 to see if you already have any locks. Also worth checking the data you are trying to lock is actually on your database table.
Gareth.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |