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: 

Setting programs to active/inactive state

Former Member
0 Kudos

Hi community,

I want do set programs to active or inactive state using a report.

Is there FM which can be used to activate/deactivate programs? Or where do I find this setting in the dictionary?

Cheers,

Eric

3 REPLIES 3

Former Member
0 Kudos

Hi,

I am not sure what do you mean by activate/deactivate programs..

Please explain your requirement in detail..

Thanks,

Naren

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Hi Eric. One way is to directly modify the PROGDIR table. Check function module RPY_PROGRAM_INSERT, you will see how the SAVE_INACTIVE parameter will save the program as inactive.

Not sure why you want to do this.

Regards,

Rich Heilman

Former Member
0 Kudos

What I need is a program that inserts FM calls into other (Z/Y)-programs or FM's. This works well so far using INSERT REPORT.

These changes should also be transported to PROD system eventually. Since I didn't want to mess with this transport system, my initial idea was to set these programs to inactive state and let the developers activate them again and then manually add them to a request.

However, if it is easier to create a request and add the modified programs there I would appriciate a hint in the right direction.

Regards,

Eric