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

Function Module Error

Former Member
0 Likes
1,130

<removed bold formatting>

Hi Gurus,

   For my requirement i created one FM in existing Function Group and

created TP as well for this FM,Laterly requirement change to create new Function grooup and create fucntion module in that.

   What i did ,copied entire source code where am already developed in FM

and paste as it is in new FM.

   After that i delted TP for first FM source code(ZF_GROUPUXX) and aslo deleted TP for FM.

     The existing Function Group changed by another person and also he moved

TP as well.

     Then what happen The exxisting Function Group still hold the source code of the FM i.e, the FM avialble in (ZF_GROUPUXX) ,i am trying to delete this one but it showing error message 'Objects Locked in another Task'.

     Can any one please help me on this.

Moderator message: Try to avoid using ALL CAPS or all bold in your post. It looks unprofessional.

Message was edited by: Suhas Saha

7 REPLIES 7
Read only

Jay_Kamdar
Participant
0 Likes
1,083

goto se10 and check the TR in which the FM is present;

look for dependent objects and activate all.

then try deleting it

Read only

0 Likes
1,083

Hi jay,

     There is no TR in se10 that is already moved to another system by different user

Read only

ThomasZloch
Active Contributor
0 Likes
1,083

Next time, use the "reassign" option in SE37 or SE80 in order to avoid such a mess.

Maybe you can manage to undo what you did so far and try again by properly reassigning the function module to the new function group. You might have to additionally move or copy global declarations or subroutines manually, if your function module uses any of these.


Thomas

Read only

0 Likes
1,083

Hi Thomas,

    I am trying Reassign that one also not working,saying 'objects locked in onther task'

Read only

0 Likes
1,083

Hi,

Goto SE03 then Select Search Objects in Requests/Tasks

after that select second object selection R3TR - FUGR and enter your Function Group name

and in Request/Task Selection tick Modifiable check box.

Here you will requests in which that Function Group is locked.

Regards,

Amit

Read only

0 Likes
1,083

That Function Group locked by other user

and one more information That FM doesnt having any TP now,just available in Function group

with out TP.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,083

When you remove the FM from the FG SAP try to include the whole FG (R3TR FUGR) in the transport task. If the new FM is in another transport task (look for object like LIMU FUNC, LIMU REPS, etc.) , the lock cannot be put on the function group, and the operation fails. You must put every object of the FG (*) in a single transport, or release the other transport request to release the lock.

Regards,

Raymond

(*) Main  object FG : R3TR FUGR and no subobject like LIMU FUNC, REPS, REPT, DYNP included in it may be in another request.