Skip to Content
author's profile photo Former Member
Former Member

avoiding debugging the program

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Sep 27, 2005 at 11:59 AM

    Hi Tom,

    Why do you want to do that?

    Suresh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • Posted on Sep 27, 2005 at 12:16 PM

    Hi Tom!

    Do you mean something like:

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

    ?

    Regards,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

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

  • Posted on Sep 27, 2005 at 01:19 PM

    Hi Tom,

    use structure ABDBG and have a look to that link:

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

    Andreas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.