cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP on Cloud Foundry: How to unlock an object ?

marcus_schiffer
Active Participant
4,516

Hi,

making first steps on ABAP on Cloud Foundry.

While maintaining an database table object in Eclipse the connection broke down.

As I reentered the Eclipse, I got an "Object is locked " error when trying to change the database table.

Now the error message tells me to use SM12 to unlock the object. Obviously this is not possible in ABAP on cloud foundry.

So how can I remove the lock now ?

Any help appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Armin_Beil
Product and Topic Expert
Product and Topic Expert

Hi Marcus,

a Fiori App that enables you to delete own locks is planned for February 2019.

ADT is prepared for IDE crashes and should always remove old sessions and old locks on a restart / relogon after a crash. However it might be possible that broken connections are not completely covered yet.

If you could provide additional details about what happened or anything that helps us to reproduce the issue it would be much appreciated. You could provide the information here or even better via your personal contact (Holger). In parallel we will also try to analyze the topic about broken connections and old locks on our side.

Best regards,
Armin

exoriens
Explorer
0 Likes

Dear Armin,

is the APP available? I do not see it on cloud foundry?

Kind Regards,

Klaus

Armin_Beil
Product and Topic Expert
Product and Topic Expert

Hello Klaus,

back in 2018 the plan was to provide such an app. Unfortunately it seems that this plan was changed. As far as I know such an app was never developed and still does not exist today. I contacted the responsibles and asked for an update on this topic. Even though my above statement was most probably true back in 2018 it must be considered wrong or misleading now. I'm sorry for that.

With regards to your above comment 'I mean that regularly happens with ADT on premise system. That the locks stays.... Nothing new...': I will use this statement as a trigger to discuss with my colleagues whether the automatic lock-cleanup after ADT crashes can be improved.

Best regards,
Armin

exoriens
Explorer
0 Likes

Thank you Armin!

RainaGoyal3
Participant
0 Likes
This issue still persists when connection is broken from ADT, its still considers the old session as active one with my user and I am unable to delete the locked entry of my user. Please suggest the way around as its challenging considering frequent disconnections.
marceloromeiro
Explorer

Hello all,
Just to add: the fiori app to remove the block is "Maintain User Sessions".

Best regards,

Marcelo R.

Answers (1)

Answers (1)

xbkaradag
Newcomer
0 Likes

You can delete lock from t-code:sm12, in my system locked and ı deleted the section from sm12 and it works.