2022 Jul 11 11:52 AM
Hi All,
I am trying to edit a function exit but am not able to edit as it throws an error "Object locked in inconsistent task". I tried SM12 but no object is listed there, also searched the community and tried to unlock Transport Request through se01/SE03. In log is showing that TR is unlocked but still getting the same error. Kindly sugest.
Hi All,
I am trying to edit a function exit but am not able to edit as it throws an error "Object locked in inconsistent task". I tried SM12 but no object is listed there, also searched the community and tried to unlock Transport Request through se01/SE03. In log is showing that TR is unlocked but still getting the same error. Kindly sugest.
2022 Jul 11 11:57 AM
maybe put a trace to check witch Task is locking your object
If you can, create a new TR, and import object of your TR with issu to the new TR (trans. SE01)
2022 Jul 11 11:59 AM
Hi Pritam,
How many clients do you have in DEV server. ? In which client you are trying to modify?
If you have another client, try to modify it on that client.
This object locked error will be displayed when
1. When a user trying to edit the object which was already locked by other user ?
2 Or when the object is already locked in transport request from a different client.
Open the include in SE38 - Goto - object directory and Lock overview. It will tell you the Transport request.
You can search that transport request in sE09 and find out which client it is locked.
2022 Jul 11 12:53 PM
2022 Jul 11 1:09 PM
SM12 is for the SAP Lock mechanism (Lock Objects/enqueue/dequeue).
Your message "Object locked in inconsistent task" (TK582) doesn't concern the SAP Lock mechanism, it's about binding a Development Object to a transport request, so that to make it impossible to bind it to another transport request. So, SM12 is not concerned in any way.
Now, why the task is inconsistent, I don't know. Maybe you're working in the wrong client. Please provide information about the task and its transport request. Also check if there are some SAP notes.
2022 Jul 11 2:53 PM
Check function module TRINT_OBJECTS_CHECK_AND_INSERT (include LSTRDU50), where the error message TK582 is used.

2022 Jul 12 12:34 PM
Hi All,
I did find the request and unlocked but still, there is a strange problem. In development we have two clients: 200 is the customizing client and 900 is the sandbox testing. Generally, in 900 client we are not able to edit anything. All customization is done in 200 client and it is automatically reflected in 900 client. But with this include it is allowing to edit in 900 client but when I try to edit in 200 client it is giving an error.
2022 Jul 12 2:03 PM
Hi pritam_baboo
This is what exactly i was referring to.
Open the Include in SE38.
Goto - object directory and Lock overview. It will tell you the Transport request.
Go to Client and release that transport request ( with help of basis ).
No Go to client 200 and start edit your include.
The reason why it allows you to edit is taht , before locking the client, this include might have been created under a transport request.
2022 Jul 12 3:11 PM
2022 Jul 15 6:16 AM
Thanks you Venkat,
For the help, explanations and Inputs, you have provided. It has not only helped me in resolving this Issue but also in understanding the concept on why this type of issue was there and how to deal with it.
Regards,
Pritam Baboo
2022 Jul 15 6:36 AM
Welcome ,,
If the issue is resolved, you can mark the answer as accepted and close the thread as the best practice of this forum.
Regards,
Venkat
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |