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

avoiding debugging the program

Former Member
0 Kudos
3,931

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
Read only

suresh_datti
Active Contributor
0 Kudos
3,898

Hi Tom,

Why do you want to do that?

Suresh

Read only

0 Kudos
3,898

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

Read only

0 Kudos
3,898

You can control this thru authorization object

S_DEVELOP

check out the documentation of this object from transaction SU21

Regards

Raja

Read only

0 Kudos
3,898

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...

Read only

0 Kudos
3,898

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

Read only

christian_wohlfahrt
Active Contributor
0 Kudos
3,898

Hi Tom!

Do you mean something like:

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

?

Regards,

Christian

Read only

0 Kudos
3,898

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...

Read only

andreas_mann3
Active Contributor
0 Kudos
3,898

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