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

Development class for inactive programs

Former Member
0 Likes
1,042

Hi All,

We have Z (custom) programs in production that we want to set to inactive, so that users can't execute them.

How could one achieve this? Can one create a package which is "inactive" and put all the programs in this package? What other route is there to achieve this?

We don't want to physically delete the programs and setting the programs inactive wouldn't work as then the users can just re-activate the programs?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
949

Hi ,

Better to Create a Authorization Object for there Programs and add them to user profiles,Whenever u want user to use them then u can give the access to these programs.

If u put these programs in INACTIVE status , then SAP will take Active Versions , so u cannt use this option atall.

regards

Prabhu

8 REPLIES 8
Read only

Former Member
0 Likes
949

Hi Garth,

I dont think so we have an option to stop others executing our programs. But we can make sure that no other person can make modifications to our programs.

This can be done by selecting the Editor Lock option in our program attributes.

Hope this helps you.

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
949

Hi garth,

Welcome.

As a abaper, I can say that there is no such possibility.you can put locks.in that way only u have secure your programs. you can create packages but you cant keep them unexecutable untill you put lock to it. there u need activation too.

happy learning.

thanks

karthik

Read only

ThomasZloch
Active Contributor
0 Likes
949

.

Read only

sachin_mathapati
Contributor
0 Likes
949

Hello Garth,

Put some condition in the report program such that it always fails and raise required error message and move the changes to production , so that the user gets the error message whenever he tries to execute the program.

Regards,

Sachin M M

Read only

Former Member
0 Likes
950

Hi ,

Better to Create a Authorization Object for there Programs and add them to user profiles,Whenever u want user to use them then u can give the access to these programs.

If u put these programs in INACTIVE status , then SAP will take Active Versions , so u cannt use this option atall.

regards

Prabhu

Read only

Former Member
0 Likes
949

Ask the BASIS/Security team to create a custom role and put the programs in that role.Don't assign the role to any users.This way you can block the user from accessing the programs.

Read only

Former Member
0 Likes
949

hi

You cann't stop others to execute your programs. However you can stop them to change ur code by selecting the LOCK Editor Option in Yopur program Attributes.

If the EDITOR lock is ON then only the program's author user who has created the program can edit it.

Please refer the following Links:

[http://abaplovers.blogspot.com/2008/06/sap-abap-program-editor-lockunlock.html]

Hope this will help.

Regards

Sumit Agarwal

Read only

Former Member
0 Likes
949

Thanks all for your replies.