on 2006 Feb 15 9:39 AM
Hi,
I am doing dequeue on vbak table.
From the second screen if i select F3 (ucomm = 'back').
I am doing dequeue.
even in debugging i am getting sy-subrc 0.
But the lock is not released.
CALL FUNCTION 'DEQUEUE_EVVBAKE'
EXPORTING
mandt = sy-mandt
vbeln = likp-vbeln
EXCEPTIONS
foreign_lock = 2
system_failure = 3.
any suggestions.
Message was edited by: raja gurrala
Hi christian,
is that gud to use dequeue_all.If any body is running the same txn what wud be their status??
i wrotedown rollback work ,now the lock is getting released..
Is that ok to write?
please suggest.
Thanks,
Raja.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja!
If you did not do any DB changes up to the F3-moment, a commit work might be better than rollback work - but it's just a feeling.
Dequeue_all sounds dangerous (really all? No!), but is in fact restricted to the actual transaction or session (here I'm not 100% sure, but most times that's identical). Same user, different sessions, other users are not touched by dequeue_all.
I think, implicit a dequeue_all is anyway included in a commit work (or rollback work).
Regards,
Christian
Hi,
Check whether UR locking only one entry or the
entire table.
If UR using
call function 'ENQUEUE_EVVBAKE'. then use
call function 'DEQUEUE_EVVBAKE'.
Hope this works.
Can get some info in SAP Note : 659081
Regards,
GSR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Don't pass the mandt parameter.
Thank you.
regards,
Karun M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.