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

EDIT LOCK in a Z Function Module

Former Member
0 Likes
2,804

I would like to delete the edit lock in a Z Fm.

I check the table TRDIR entries and this FM is not existing there. In TFDIR, it exists though.

Modification assistant is also in disable mode.

How do I remove this?

Thanks,

Kiran

13 REPLIES 13
Read only

Former Member
0 Likes
1,956

Ask basis to give you temporary access to that user ID and change the attributes (or they can do it).

The only other way is to directly updating the table value.

Read only

0 Likes
1,956

Thanks.

Which table?

Regds,

Kiran

Read only

0 Likes
1,956

Direct update to a standard table is not at all good practice. Better ask your basis to give you the user access temp'ly.

Read only

0 Likes
1,956

TADIR-EDTFLAG.

PGMID     = 'R3TR'
OBJECT    = 'FUGR'.
OBJ_NAME  = <YOUR FUNCTION GROUP NAME>

Read only

0 Likes
1,956

BASIS is not ready to create a temp id.

Any more thoughts plz

Thanks,

Kiran

Read only

0 Likes
1,956

Then as I said write a small program to select the entry from TADIR and update the table directly by setting the field to space.

Read only

0 Likes
1,956

Hi Srinivas,

To update a standard table, My manager is reluctant to the idea of updating the standard table with a program as she will have to transport the program upto PROD which is not for business purpose.

ANy more thoughts, plz.

Thanks,

Kiran

Read only

0 Likes
1,956

Why do u need to transport it to PROD,

I guess u only need to remove lock in DEV right? so just modify the table in DEV and do not transport it.

Read only

0 Likes
1,956

This object is already in PROD and I want to make some changes and it doesn't allow me. Hence the trouble

Thanks,

Kiran

Read only

0 Likes
1,956

Ok then one last method is there, but i would suggest that still try to find other ways and use it only as last resort, and do discuss with your manager first.

open inlcude program LSEUQF02

go to the subroutine "accp_enqueue_and_corr_check"

put a breakpoint here. and then in debugging temporarily set the value of field suppress_editor_lock_check as X

then you will be able to make the changes.

PLEASE USE THIS METHOD ONLY AFTER CONSULTATION WITH YOUR MANAGER AND AS A LAST RESORT

кu03B1ятu03B9к

Read only

0 Likes
1,956

Sure Kartik. I shall discuss this.But can you please tell me what are the disadvantages by following this method. I just now tried this and looks promising.

Thanks,

Kiran

Read only

0 Likes
1,956

Changing the values in debugging and gaining access to something you are not permitted is ILLEGAL.

No other disadvantages.

Read only

Clemenss
Active Contributor
0 Likes
1,956

hi kiran,

the edit lock is on one or more includes of the function group. See table TFDIR for the program name, in this you have the INCLUDE statements for the other names. Then TADIR/TRDIR for edit lock, Transaction N (SE16N).

Regards,

Clemens