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
2,367

can any one please tell me the functionality of the function keys F4,F5,F6,F7,F8

in debugging i was little confused about this

thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,400

Hi,

f5->step by step

f6->to skip the statements like perform,module,..

f7->to come out from the form,module,..

f8->run upto the cursor or run completely

see this link for more help

http://help.sap.com/saphelp_nw2004s/helpdata/en/e6/1ac837ac2c8e40a3492e61c4b6e5c3/content.htm

rgds,

bharat.

6 REPLIES 6
Read only

Former Member
0 Likes
1,401

Hi,

f5->step by step

f6->to skip the statements like perform,module,..

f7->to come out from the form,module,..

f8->run upto the cursor or run completely

see this link for more help

http://help.sap.com/saphelp_nw2004s/helpdata/en/e6/1ac837ac2c8e40a3492e61c4b6e5c3/content.htm

rgds,

bharat.

Read only

Former Member
0 Likes
1,400

F5 - Step by Step debugging

F6 - Skips loops and Subroutines

F7 - Skips the loop or subroutine and returns to the last cursor point.

F8 - Execute and come out of debugging

Read only

Former Member
0 Likes
1,400

hi hema,

F4 -> used for value request and not in debugging. if u press F4 then AT selection-screen on value request event is triggered in reporting.

F5-> line by line debugging. before debugging u ll place a break point. starting from break point line by line debugging can be done using F5 function key.

F6-> similar to F5 but while executing a subroutine it executes subroutine as a single line and remainging all similar to F5.

F7-> break point to break point execution. it executes all lines from one break point to another as a single line.

F8 -> executes all program at a sigle instance of time.

if helpful reward some points.

with regards,

suresh.

Read only

Former Member
0 Likes
1,400

F5 - Step by Step debugging

F6 - Skips loops and Subroutines

F7 - Skips the loop or subroutine and returns to the last cursor point.

F8 - Execute and come out of debugging

About debugging...

3 types update,normal and system debugging

check this for update debugging

If you set "Update Debbugging" you can debug the codes which works in update tusk.

SAP std often runs the routine (function or form) to update the database in update tusk mode, these routine start as soon as a commit work is done.

The commit is called at the end of the program, so you can't debug them by "normal debbugging" because it ends as soon as the program ends

or----


All the database updates are performed by the update work processes by calling the functions/subroutines in update tasks.

These tasks are executed after a commit work is reached in the application. By default you cannot debug these functions.

TO debug these u need to explicitly activate update debugging.

for system debugging check the below link

http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/5f0640555ae369e10000000a155106/content.htm

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

For debugging tutorial:

http://help.sap.com/saphelp_erp2005vp/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm

http://www.sapdevelopment.co.uk/tips/debug/debughome.htm

http://www.sap-basis-abap.com/sapab002.htm

System Debugging

If you set this option, the Debugger is also activated for system programs (programs with status S in their program attributes). When you save breakpoints, the System Debugging setting is also saved.

Update Debugging

Update function modules do not run in the same user session as the program that is currently running in the ABAP Debugger. These function modules are therefore not included in debugging. Only if you select the Update Debugging option can you display and debug them after the COMMIT WORK.

Normal Debugging

Normal debugging is the one we do it by the normal dynamic break points or by /H or by using stattic break points.

You can switch to diffferent debuggin modes while processing.

BREAKPOINT

In the source code we set the Break-point there by clicking the stop button, the system will stop there when you execute the program.

Watchpoint

For watchpoints, we need to give some condition and when this condition is satisfied, program will stop

example : if you want to debug only

for matnr value 100 than set watch point

matnr = 100. when value reaches 100 than

program stops at that point.

regards,

rewards point.

Read only

0 Likes
1,400

Hi,

F5- Line by Line Execution.

F6- Execution of Subroutines as a single line

F7- Execution of Block (i.e Loops)

F8- Execution of entire program at a single instance of time.