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: 

avoiding debugging the program

Former Member
0 Kudos

Hi,

i created a program. for that program i don't want to

give authorization to debug it to anyone?

How to apply this technique to the program.

Thanks in advance..

Tom

8 REPLIES 8

suresh_datti
Active Contributor
0 Kudos

Hi Tom,

Why do you want to do that?

Suresh

0 Kudos

hi,

i thing it's a basis job. at the time of client settings it can be done, but i don't know it's applicable for single program.

cheers,

sasi

0 Kudos

You can control this thru authorization object

S_DEVELOP

check out the documentation of this object from transaction SU21

Regards

Raja

0 Kudos

Hi,

Actually i created a screen. In that we should not give '/H' on command field. If we give it will create some problem like the user can change the input filename like that..

Thats why..

help on this ..

regards,

TOM...

0 Kudos

Hi Tom

I think user generally can't run a program in debug in production system or he can do it, but not change the data.

You can do it by authorizations, but they'll work for every programs, not only your.

See the help for auth S_DEVELOP.

Max

Message was edited by: max bianchi

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Tom!

Do you mean something like:

if sy-debug = 'X'.
leave program.
endif.

?

Regards,

Christian

0 Kudos

Hi Christian,

The following code is not working.

if sy-debug = 'X'.

leave program.

endif.

Hi,

Actually i created a screen. In that we should not give '/H' on command field. If we give it will create some problem like the user can change the input filename like that..

Thats why..

help on this ..

regards,

TOM...

andreas_mann3
Active Contributor
0 Kudos

Hi Tom,

use structure ABDBG and have a look to that link:

<a href="http://www.abapforum.com/forum/viewtopic.php?t=97&highlight=debug+mode">debug mode</a>

Andreas