on 2019 Sep 23 12:50 PM
Hi,
For reading lock entries class CL_CHECK_LOCK_ENTRIES exists from technical systems. Similar way
my requirement to remove lock entries in target system automatically from focused run system.
How to call ENQUE_DELETE to remove lock entries from technical system.
Thanks,
Jwala Deepa
Well obviously it would be better to have a way of Analysing and Solving the hanging Locks, rather than just Deleting them. So I'm assuming you will have a Process in place for that.
Then you could create a Background Job running a Custom Program that reads the SM21-entries, checks for (unusually) long-standing Records and Delete them through "ENQUE_DELETE" ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree with the solution but we need to this in all system right like focused run monitors data from many systems as per my understanding. In focused run system as part of guided procedure - activity ABAP Lock Entries class CL_CHECK_LOCK_ENTRIES is configured.In method GET_LOCK_ENTRIES - standard logic ENQUEUE_REPORT table data is retrieved similar can we trigger the task for removing old entriesusing RFC call in the targets systems. How to do the same in object oriented way as the standard logic in classes and objects.
Please check Reports such as "RSSM_SM12_OLD" or "RSENQRR2" in which you can see the usage of the "ENQUE_DELETE" Function ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
12 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.