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: 

Changing the state of a program from active to inactive from another progra

Former Member
0 Kudos
630

Hi,

Any function module or class which can change the state of a program ( may be an include, executable or function module etc...) from active to inactive.

Thanks,

Siddarth

1 ACCEPTED SOLUTION

Former Member
0 Kudos
234

I don't think there's any FM or program to change the status from active to inactive.

But you can try modifying the standard table REPOSRC field R3STATE.

I have found that when we make a program inactive it creates an additional entry with the same record for that object but the R3STATE will be i. Try using that..

6 REPLIES 6

Former Member
0 Kudos
234

Hi,

Refer to this link..might help you [Setting programs to active/inactive state |]

0 Kudos
234

Hi,

It didn't work

Any other solution please

Regards,

Siddarth

Former Member
0 Kudos
235

I don't think there's any FM or program to change the status from active to inactive.

But you can try modifying the standard table REPOSRC field R3STATE.

I have found that when we make a program inactive it creates an additional entry with the same record for that object but the R3STATE will be i. Try using that..

0 Kudos
234

its dynamic..... it may be program or function module etc....... so REPOSRC will only check for program, I dont think it will be useful for function modules...

and later if I make an entry in this table ... if I want to activate the program will this work just with an entry in this table...

Thanks,

Siddarth

Former Member
0 Kudos
234

Any Help would be really appreciated

Former Member
0 Kudos
234

Wrote a BDC code to save the program which automatically made my program inactive.

Any ways thanks for all your answers