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: 

how to create a new customer exit in SMOD

Former Member
0 Kudos

Hi,

I have created a program with a function exit and menu exit.

(such as "call customer-function XXX" in program source code, add '+FunCode' in the program menu)

But i can not create a new Exit Name in transaction SMOD.

I can only edit existing Exit by cliking Change button in SMOD.

How can I create a new Customer Exit and link it with my program?

Thanks a lot

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You cannot create Enhancement Project it SMOD, you can only view the components of enhancements there.

Use tcode CMOD to create new project and assign enhancements to it.

Also i dont think there is a need for exits in customer programs.

Whats the purpose of the exit?

Regards

Karthik D

6 REPLIES 6

Former Member
0 Kudos

Hello,

Try creating a user exit in SMOD starting with Y. I think it might not allow to create exits with other names without a prefix Y.

Creating an user exit needs special permissions from Basis. As many of the user exits suit our requirements, we generally do not create them.

Check the system for the available exits and if not you might need special permissions from basis.

Thanks,

sowmya

0 Kudos

Hi Sowmya,

Thanks for your reply.

But I can not see the 'Create' menu or 'Create' button in the SMOD screen.

I can only "display" or "change" existing User Exit. (the only buttons are 'display', 'change' and 'migrate')

How can I create a new Exit within SMOD screen?

Former Member
0 Kudos

Hi,

You cannot create Enhancement Project it SMOD, you can only view the components of enhancements there.

Use tcode CMOD to create new project and assign enhancements to it.

Also i dont think there is a need for exits in customer programs.

Whats the purpose of the exit?

Regards

Karthik D

0 Kudos

Hello Karthik,

Thanks for you reply.

I am a SAP developer.

I need to create a new Exit in my program which can be enhanced later by customer.

Customer could then enhance it with CMOD

But I can not find the 'create' function in SMOD.

Do you have some advice? Thanks!

0 Kudos

Hi,

I suggest you to create a enhancement spot instead of exits. For creating one in ABAP Editor Select Edit-> Enhancement Operations -> Create.

This will also allow your customer to create enhancement implementations later so as to enhance the functionality of the code.

But it is not meaningful since we can easily edit Zprograms.

Regards

Karthik D

Former Member
0 Kudos

Hello,

you need special authorisations from basis for creating it.

thanks,

sowmya