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

Activate or Inactivate User Exit or BADI Through Program

Former Member
0 Likes
541

Hi Gurus,

Can it be possible to activate or deactivate user exit or badi using statement in report program.

Means suppose I have user exit activated and badi already implemented and active , then is it possible to make those exit and badi inactive by report statement.

thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
478

Hi

I dont think we can achieve it.

You can create a table with maintenance generator and then maintain the list of user exits/BADIs/spots in the table with a status such as 'A' or 'X'.

Create function module for it and call the FM in your exit/BADI/spot, if the status is 'A', then only the code should else no.

Try like this

Regards

Shiva

2 REPLIES 2
Read only

Former Member
0 Likes
479

Hi

I dont think we can achieve it.

You can create a table with maintenance generator and then maintain the list of user exits/BADIs/spots in the table with a status such as 'A' or 'X'.

Create function module for it and call the FM in your exit/BADI/spot, if the status is 'A', then only the code should else no.

Try like this

Regards

Shiva

Read only

Former Member
0 Likes
478

Alternate soln found.