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

Unable to delete a function module

souvik_saha
Explorer
0 Likes
5,900

Hi,

I created a function module and saved it in a Transport request. Now I do not require the Function Module .When I try to delete the function module it gives the message 'Object components locked in request and separate task'. I checked the Transports but none of Requests or Tasks contained the function module.

Please let me know how to delete the function module.
[Please note : the function module is not being used in any programs.]

Thanks in Advance.

1 ACCEPTED SOLUTION
Read only

former_member189779
Active Contributor
0 Likes
3,704

Also

Check if all the includes, function module are locked in the Transport request, If so, Unlock the request in SE03 and then try to delete the FM.

SE03->Unlock Objects(Expert Tool) - Enter the Task or Request in which the FM exists,.

Hope this helps you

15 REPLIES 15
Read only

former_member189779
Active Contributor
0 Likes
3,704

SE37-->Utilities--> Version Management

Did you see any tranport request? If yes, then delete it from request through SE01 and then delete it from SE37

Read only

0 Likes
3,704

No there are no transports in teh version management for this FM.

Read only

Former Member
0 Likes
3,704

Hi,

may be your function module is used in other objects,check WHERE USED LIST for your FM.

activate the function group proprly that may also cause some error

Thank and regards

Read only

0 Likes
3,704

I checked the where used list, but as mentioned in my first post ,this FM is not used anywhere else.

Read only

Kartik2
Contributor
0 Likes
3,704

Dear Mr. Souvik Saha,

Here is one method to find out if the object is really not locked under any request or not. Go to se11, display table, E071 ( Change & Transport System: Object Entries of Requests/Tasks ) . See the table contents. Here give your function module name as obj_name. It will list you all the transport requests and tasks in which the object is locked, now you can manually check them in transaction SE01 and delete the entry.

Hope this solves your problem. Thank you.

Regards,

kartik

Read only

0 Likes
3,704

Hello Mr. Kartik,

Thanks for your reply.

I checked the table entries in E071 for the function module and the function group as well but for the function module there were no entries while there were three entries for the function group but all of them were released.

Moreover , the FM is right now in $tmp package.

Regards,

Souvik

Read only

Former Member
0 Likes
3,704

Hi Souvik

Using TCode SE03, check which transport request contains the module.

SE03 >> Search for objects in requests/Tasks >> FUNC >> <Function module name>.

Regards,

Xineohpi

Read only

0 Likes
3,704

Hi Xineohpi,

I checked using the Tcode SE03 also but there are no TRs which contain the function module.

Regards,

Souvik.

Read only

0 Likes
3,704

maintain check for modified and uncheck released.

Check for FUGR    Function Group and FUGT    Function Group Texts as well.

Read only

0 Likes
3,704

also

SE03 >> Find Requests >> Enter ur user name.

You will get a list. Expand all. Check which TR has your FM.

Read only

former_member189779
Active Contributor
0 Likes
3,705

Also

Check if all the includes, function module are locked in the Transport request, If so, Unlock the request in SE03 and then try to delete the FM.

SE03->Unlock Objects(Expert Tool) - Enter the Task or Request in which the FM exists,.

Hope this helps you

Read only

0 Likes
3,704

Thanks Vinit.

The problem was that the Include in the function group where a new include gets added for each of the function modules which are created in the group was locked in some other TR .

After unlocking it using SE03, the function module was easily deleted.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,704

Look in not released transport requests for the objects which can lock the function module
- LIMU    FUGT    Function Group Texts
- LIMU    FUNC    Function Module
- R3TR    FUGR    Function Group
- LIMU    REPS     Report Source Code (Includes)
- LIMU    REPT     Report Texts (main program)

Regards,
Raymond

Read only

0 Likes
3,704

Thanks Raymond,

The issue is resolved as per my previous reply.

Read only

0 Likes
3,704

(Look at time of post )