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

Purpose of RSTXDBUG

Hi All,

Kindly let me know what is the exact purpose of RSTXDBUG, I know its used for script debugging, but pls let me know hw and what are all the steps should be..?

Akshitha.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2008 at 11:27 AM

    Hi

    Script Debugger will be in active and you can proceed with your debugging.

    b. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.

    refer to the link below

    http://www.howforge.com/how-to-debugging-sapscript-form

    Look at the BLOG here, it is well explained

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2008 at 11:42 AM

    HI,

    When we want to debug the SAPSCRIPT, we need to first activate the debugger, we have 2 ways to activate the Debugger.

    1) Execute the program RSTXDBUG

    2) Go to SE71, from the initial screen enter the form name and press Utilities --> Activate Debugger

    When we are in the Debug screen,

    3.1) F5 will be debug filed by field, that means if a single line is having 5 fields, if we press the F5 this will do field by field,

    3.2) F6 will be line by line, that means when we press the F6, it will debug the line and it will go to the next line. F7 also do the same way

    3.3) F8 will be very useful when we have any include statement in the SCRIPT, if any include is there and we press the F5 or F6 then this will go that Include (normally SO10 or any transaction text), then if we want line by line debugging then we can press the F5 or F6, or if you want to execute that in a single shot then press the F8, then the debugger will be executed that include and come back to the Script debugging.

    Some times in the script, we may right lengthy lines, if we want to debug that whole line, we have an option called Left/Right, this we will find the Debug screen of the script, there is a Push button, we can make use this button to debug.

    We can put the breakpoints in the SCRIPT DEBUGGER also, just press the BREAKPOINT Pushbutton from the debugging screen or press EDIT --> Breakpoint

    If we want to debug the print program from the SCRIPT DEBUGGER, just press SHIFT+F7 or EDIT --> ABAP Debugging

    If we want to see the Windows which are defined in the forms, just press the Go to --> Form --> Windows .if we want to see the pages go to --> Form --> pages. Here we have an option to see the page wise window also go to --> Form --> page Windows

    If we want to see the paragraphs which are defined in that script, press go to --> Styles --> paragraphs.

    If we want to see the Character formats which are defined in that script, press go to --> Styles --> Character Strings.

    If we want to see the Page formats which are defined in that script, press go to --> OTF --> Page.

    If we want to see the Elements which are used in the Script, then press go to --> Text Elements --> Form Elements.

    If we want to see the commands which are used in the script, press go to --> Commands --> List

    Finally, if we want to exit from the SCRIPT DEBUGING, simply press Debugger --> Exit

    I think this will help u.

    Regards.

    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.