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

How to protect ABAP programs

Former Member
0 Likes
1,889

Hi experts

I want to protect my ABAP programs from other users from changing it.

How to protect my program by setting password or not allowing only display mode like.

Please suggest me on this.

Thanks in advance.

Regards

Rajaram

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,497

open the program.

Goto=>Utilities=>Version Management=>Create Version

Hi experts

I want to protect my ABAP programs from other users from changing it.

How to protect my program by setting password or not allowing only display mode like.

Please suggest me on this.

Thanks in advance.

Regards

Rajaram

10 REPLIES 10
Read only

Former Member
0 Likes
1,497

Don't do it. What happens if you are off sick, or get run over by a bus?! Who can fix your code then?

Simple rule of development, you shouldn't hide or lock your code.

Gareth.

Read only

Former Member
0 Likes
1,497

Hi,

The best way is to have a backup. COpy the code & keep it in a notepad file.

or copy the program in sap itself as a temporary program.

Best regards,

Prashant

Read only

Former Member
0 Likes
1,497

Create a lock object and include ur program in that.

The tr code for creating lock object is SE11.

Pls reward if helpful.

Read only

Former Member
0 Likes
1,497

Hi Raja,

If in case you want to lock the development done by you in SAP,then while the report is open in the ABAP edtor,click on GoTo and then Attributes at the menu bar and then check the checkbox "Editor Lock".

Nobody will be able to make any changes to your program unless and until logged by your user ID.

In case you have any further clarifications,do let me know.

Regards,

Puneet Jhari.

Read only

0 Likes
1,497

I vote with Gareth - just don't do it. The "editor lock" setting takes most programmers about 30 seconds to remove, so it's just an annoyance if someone in your development team starts to do it. And if you are using Version Management, you should always be able to get back to your old code anyhow if something stuffs up.

So to repeat the words of wisdom above: "Simple rule of development, you shouldn't hide or lock your code."

Jonathan

Read only

0 Likes
1,497

how to do version management, can you explain about it.

Read only

Former Member
0 Likes
1,497

Hi,

You can set it in the program attribute.

Check the Editor Lock. so that no body other than your login can edit.

Thanks

Yogesh

Read only

Former Member
0 Likes
1,497

As Jonathan said, Version management is probably the best bet.

Just create a version of your code whenever you want, In case some body changes it without informing you , you can restore your version back in about 5 seconds.

This not only protects your code from others mistakes but your own mistakes too.

Read only

Former Member
0 Likes
1,498

open the program.

Goto=>Utilities=>Version Management=>Create Version