Skip to Content
author's profile photo
Former Member

break point

sir

given me detail

how to create a berak point in any abap program

ritu

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • author's profile photo
    Former Member
    Posted on Sep 29, 2007 at 08:32 AM

    ritu,

    There are two types of break-points. Soft & Hard.

    Soft break points can be set on a particular line of code by keeping cursor on that line and pressing the STOP push button on the toolbar. This break point is active only for that screen.

    Hard break point is created by putting a statement BREAK-POINT in the code. because of this, every time u execute the program, when ever the control comes to this break point it goes to dubugging mode.

    Hope this info is helpful to u

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 29, 2007 at 08:33 AM

    hi,

    place the cursor where evr u want create break point and go for utilities->break point-> set.

    or keep the cursor where u need break point and press stop button on top (red)

    note the program should be active to create break point.

    regards

    siva

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 29, 2007 at 08:38 AM

    hi

    The Debugger contains different breakpoint variants:

    Static

    The BREAK-POINT statement in an ABAP program. Static breakpoints are not normally user-specific. However, you can make them user-specific.

    Directly-set

    dynamic breakpoints

    Can be set in the ABAP Editor or the Debugger. Dynamic breakpoints are always user-specific, and are deleted when you log off from the R/3 System.

    Breakpoints

    at statement

    The Debugger stops the program directly before the specified statement is executed.

    Breakpoints

    at subroutine

    The Debugger stops the program directly before the specified subroutine is called.

    Breakpoint at function module

    The Debugger stops the program directly before the specified function module is called.

    Breakpoint at method

    The Debugger stops the program directly before the specified method is called.

    Breakpoints at system exceptions

    The Debugger stops the program directly after a system exception, that is, after a runtime error has been intercepted.

    You can set up to 30 dynamic breakpoints without changing the program code. Dynamic breakpoints can be set either in the ABAP Editor or directly in the Debugger.

    Setting Dynamic Breakpoints in the ABAP Editor

    You can set dynamic breakpoints in the ABAP Editor regardless of whether you are in display or change mode. You can also set breakpoints directly from within the Debugger at runtime. To set a dynamic breakpoint in the ABAP Editor:

    Position the cursor on the line of the source code at which you want to set the breakpoint.

    Choose Utilities ® Breakpoints ® Set or the Stop icon. The system confirms that the breakpoint has been set.

    To display a list of all dynamic breakpoints in a program, choose Utilities ® Breakpoints ® Display. You can use this list to navigate to a particular breakpoint or to delete one or more breakpoints from the program.

    reward if u find use ful

    regards

    Nagesh.Paruchuri

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 29, 2007 at 10:07 AM

    Hi Ritu,

    Check this SAP documentation

    http://help.sap.com/saphelp_nw04s/helpdata/en/b0/940640555ae369e10000000a155106/frameset.htm

    Regards,

    Pankaj Sharma

    Add comment
    10|10000 characters needed characters exceeded