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

Debugging

Former Member
0 Likes
859

How we can debugg abap programs and what is the functionality of F5 f6 f7 f8,pls explain in detail it will help alot for me?

8 REPLIES 8
Read only

Former Member
0 Likes
838

Hi Siva,

GO through this link of help.sap.com

http://help.sap.com/saphelp_47x200/helpdata/en/c6/617cbee68c11d2b2ab080009b43351/frameset.htm

No one else can explain you beter than this. Also try to search this forum with the keyword debugging techniques. Already many experts have posted great information regarding this .

Best of Luck.

Regards,

Varun.

Read only

Former Member
0 Likes
838

Hi,

if you want to Debug you just need to type /h at command and enter. after that what ever action you do it will take to you debugging.

F5 - step by step execution

F6 - will skip performs going inside

F7 - if you enter into any FORM while debugging if you press F7 will bring to next step of perform.

If press F8 it brings you out of debugging mode.

http://help.sap.com/saphelp_nw04/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm

Message was edited by: sudheer Addepalli

Message was edited by: sudheer Addepalli

Read only

0 Likes
838

And remaining F8, if you click that it will go to next breakpoint, if not found, then it will complete the execution.

You can also set breakpoints in an include, function module, statement etc in debugging mode, by clicking 'set breakpoint at ->'

Thanks,

Message was edited by: Naren Somen

Read only

Former Member
0 Likes
838

any documentation is available on debugging.

from where i can learn debugging

Read only

Former Member
0 Likes
838

hi,

*********

we can experts in debugging only through practice.

only documentation and knowing keys will not use.

take a standard program and debug.

use initially F5 every where, see what happens.

it will only proceses single step. if we get performs, FMs (reusable ones), enters into that.

if you want process above atonce use F6.

when the cursor is at perform for F6 it takes perform as one line and goes to next line.

if you entered into form, wanted to come out of the form press F7 and there are many conditions,wanted to go to next condition press F7.

if you are maintaning 4 debugging points and you are first debugging point wants to go next point prsee F8 and wants to execute pressF8.

*************

check it once and confirm me.

Read only

Former Member
0 Likes
838

Hi Siva,

Pl. see the below given document for dubugging.

- Single step(F5) - Use this option to step through the program statement by statement. This allows you to branch into subroutines and function modules, and to execute these routines step by step as well. Once a subroutine or function module has been processed, control returns to the statement following the CALL FUNCTION or PERFORM statement.

- Execute(F6)- Use this option to process a program line by line. All of the statements on the current line are processed in a single step. If you are positioned on a line that calls a subroutine and you choose Execute, the Debugger processes the whole subroutine and then moves on to the line following the subroutine call. This allows you to jump through the statements within the subroutine.

- Return(F7) - The Debugger returns from a routine to the point at which control returns to the main program. Use this option to return from a subroutine, function module, or called program to the calling program.

- Continue(F8)- Use this option to process the program up to the next dynamic or static breakpoint or up to the cursor position. If there are no more breakpoints in the program and no cursor has been set, the system exits debugging mode and executes the rest of the program normally.

Thanks,

Jayaram reddy