Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Include ZXMBCU02 Locked in inconsistent task.

pritam_baboo49
Participant
0 Likes
5,061

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.

10 REPLIES 10
Read only

FredericGirod
Active Contributor
4,782

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)

Read only

venkateswaran_k
Active Contributor
4,782

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.

Read only

venkateswaran_k
Active Contributor
4,782

Hi

Did you find the locked request?

Read only

Sandra_Rossi
Active Contributor
4,782

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.

Read only

touzik_itc
Active Participant
4,782

Check function module TRINT_OBJECTS_CHECK_AND_INSERT (include LSTRDU50), where the error message TK582 is used.

Read only

pritam_baboo49
Participant
0 Likes
4,782

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.

Read only

venkateswaran_k
Active Contributor
4,782

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.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
4,782

Check the clients' status with SCC4 (double-click on 200 and 900 and look at changes and transports for client-dependent objects and changes for client-independent objects options)

Read only

pritam_baboo49
Participant
0 Likes
4,782

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

Read only

venkateswaran_k
Active Contributor
4,782

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