Skip to Content
0

program gives dump before dequeue the table? how to set up the unlock if the the job gives the dump?

Nov 26, 2016 at 11:38 AM

39

avatar image

i have executed a report as back ground job, in the report i have written a select quary between the en queue and de queue function modules. the select quary given the dump but in this case the deque function module is not got executed so the lock is not released the on the table, here how to set the unlock when select quary gives the dump.

Thanks.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Isaias Freitas
Nov 26, 2016 at 04:47 PM
0

Hi,

If the job ended in error (the dump), then the corresponding session (at the transaction SM04) should be deleted.

There would be an implicit "dequeue all" operation in such situation (session being deleted).

Are you able to simulate the issue at will?

If yes, can you please add to this thread:

  1. The SAP kernel release and patch level of the system where the issue can be simulated;
  2. A sample ABAP code that we could use to simulate the issue.

Regards,

Isaías

Show 4 Share
10 |10000 characters needed characters left characters exceeded

ok but is there any way to release the lock from en queue function module if short dump happened.

0
sivaramakrishna sayini

Hello,

The lock should be released automatically...

Regards,

Isaías

0

so how to set this 'releasing the lock automatically' when there is dump before de queue function module?

0
sivaramakrishna sayini

There is no setup required.

When a session is deleted because of an issue (like the dump), the SAP kernel would always perform a "dequeue all" implicitly and automatically.

This "dequeue all" means "delete all the locks for this session".

0