Skip to Content
avatar image
Former Member

debugging of script

hii guys,

1. can we debugg form how

2. can we debugg driver program how.

regards

rahul

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 29, 2007 at 04:23 PM

    Yes we can debug both Script and the driver program.

    1. Script:

    Go to SE71 ... give your script name...

    On the main screen itself .. Utilities > Activate Debugger...

    2. Driver program

    Put break point at the desired location in the code.

    Regards,

    Naimesh Patel

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2007 at 04:25 PM

    1) Follow the menu path..

    SE71 - Select a Form Name in 'Form'

    Utilities -> Activate Debugger

    If you set it.. debugger will be activated.

    2) You can use soft break point or hard code BREAK-POINT.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2007 at 02:58 AM

    To activate debugger for SAPscript goto SE71 and from menu, utilities--> activate debugger...

    now run the program, automatically debugger gets activated.

    to debug a program, type /h in command before you execute your program or set break-point inside your code.

    close the thread once your question is answered.

    Regards,

    SaiRam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2007 at 03:28 AM

    hi Rahul,

    <b>They are two ways to debug the SAPScript.</b>

    1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.

    It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.

    2). Another way to set the SAPScript debugger is to run program RSTXDBUG.

    When you debug Print program it is same as you debug any other ABAP program. While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.

    <b>Check this link:</b>

    /people/sudheer.junnuthula2/blog/2007/01/09/script-debugging

    Reward me if useful...........

    Harimanjesh AN

    Add comment
    10|10000 characters needed characters exceeded