Application Development 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: 

Urgent - How to delete customer exit include.

younghwan_kim
Active Participant
0 Kudos

Hi, experts.

Unintentionally I made a customer exit include by double-clicking standard customer exit.

I tried to delete this include, but I can't delete it because of reference is alread made it.

How can I delete it. Give me any help!!!

Thank you in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Guess you are referring to an include.

We can delete the object from SE38 transaction.


1. Goto Transaction: SE38
2. Enter the include name you created
3. Click on Delete button from application toolbar.
4. Confirm deletion.

Kind Regards

Eswar

10 REPLIES 10

Former Member
0 Kudos

Hi,

What you do is just delete the object program from the request you have assigned through tcode se09, no need to delete the include.

regards,

Santosh

0 Kudos

It doesn't work.

I create the include program as local object, so there is no request.

I just want to delete the include program just like I delete other useless programs.

0 Kudos

Hi,

You don't need to delete that include, just check one thing.

Open that enhancement in SMOD and deactivate it. delete all code from that include.

By doing this, this user exit will be disabled and will not affect anything in the program.

You cant delete that include.

Regards,

Pankaj

Former Member
0 Kudos

Guess you are referring to an include.

We can delete the object from SE38 transaction.


1. Goto Transaction: SE38
2. Enter the include name you created
3. Click on Delete button from application toolbar.
4. Confirm deletion.

Kind Regards

Eswar

0 Kudos

Sorry, it doesn't work that way.

Just normal include can be deleted like that.

This one is made from CUSTOMER EXIT, so the reference exits at FUNCTION GROUP,

which prevent me deleting it. I dont know how to delete the reference.

Any other suggestions, please?

0 Kudos

Sorry, it doesn't work that way.

Just normal include can be deleted like that.

This one is made from CUSTOMER EXIT, so the reference exits at FUNCTION GROUP,

which prevent me deleting it. I dont know how to delete the reference.

Any other suggestions, please?

0 Kudos

This is interesting... Initially i was under the same impression that it may not let to delete, but when i tried myself i havent encountered any error.

Can you try doing a where used list of the include and as well as the customer-exit. Check if itz attached to any project.

Regards

Eswar

0 Kudos

I got the message...

"Include cannot be deleted because references exist"

and this reference is to SAP standard function group.

As Pankaj Sharma mentioned, I think I can delete it.

0 Kudos

This reference is to the function group in which you have the FM which contaiins that include.

You can't delete the statement include 'zxxx' from that function module and because its in a standard FM which you can't change and hence youn can't delete this include.

Regards,

Pankaj

0 Kudos

Hi,

I don't think u can delete it...just comment the code inside it ..also as u didn't stored it any transport request,no need to worry that it won't be transported to other system....so just comment the code..now thre will be no effect on anything once u comment..

Regards,

Nagaraj