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

disable exit

Former Member
0 Likes
1,046

hi,

if i need to disable the program from executing the user exit, may i know how should i go about to stop it?

for example, in EXIT_SAPLAFAR_001, there is a statement INCLUDE ZXAFAU01. in this include, it has a standard procedure which is valid for all exit and the function module that i need it to be stopped from executing is called from this include.

how should i stop my function module.

thanks

1 ACCEPTED SOLUTION
Read only

vinod_vemuru2
Active Contributor
0 Likes
896

Hi,

If this exit is active means, Enhancement of this exit must be assigned to some project and that project must be active.

How to find enhancement?

So go to SMOD, Click F4. In the popup click on all selection(Plus icon in bottom). In component name give ur exit name and enter. It gives the enhancement name.

How to find project?

Go to CMOD, Give some project name, Click on component assignment and change. Give ur enhancement name and enter. If it is assigned to some project u will get error with project name. Now go to that project in change mode, click components. Click on Deactivate button in tool bar. Come back.

Delete ur enhancement from the list and activate the project again.

Now ur enhancement is deactivated.

Follow the reverse to activate again.

Thanks,

Vinod.

hi,

if i need to disable the program from executing the user exit, may i know how should i go about to stop it?

for example, in EXIT_SAPLAFAR_001, there is a statement INCLUDE ZXAFAU01. in this include, it has a standard procedure which is valid for all exit and the function module that i need it to be stopped from executing is called from this include.

how should i stop my function module.

thanks

2 REPLIES 2
Read only

vinod_vemuru2
Active Contributor
0 Likes
897

Hi,

If this exit is active means, Enhancement of this exit must be assigned to some project and that project must be active.

How to find enhancement?

So go to SMOD, Click F4. In the popup click on all selection(Plus icon in bottom). In component name give ur exit name and enter. It gives the enhancement name.

How to find project?

Go to CMOD, Give some project name, Click on component assignment and change. Give ur enhancement name and enter. If it is assigned to some project u will get error with project name. Now go to that project in change mode, click components. Click on Deactivate button in tool bar. Come back.

Delete ur enhancement from the list and activate the project again.

Now ur enhancement is deactivated.

Follow the reverse to activate again.

Thanks,

Vinod.

Read only

Former Member
0 Likes
896

once can you please deactivate the exit and see,it should not get into the piece of code you are trying to execute.

Let me know if that is working fine or not...

Thanks

KV