Application Development 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: 

download

Former Member
0 Kudos

Hi experts,

While debugging how to download the contents if an internal table to an excel file?

Is there any option available in debugger?

What is the difference between F7 and F8 buttons.

i don't find much difference.

regards

4 REPLIES 4

Former Member
0 Kudos

Hi,

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.

Thanks.

Former Member
0 Kudos

F7 -- to retun from processing block( function modules/performs etc)

F8 -- run till next break point

give itab[] like this is watch window, an excel sheet button will appear on application tool bar. click on that.

Former Member
0 Kudos

Hi Ravi,

When your list is displayed, go to "System>List>Save-->Local File"a dialog box will appear asking for detination to store the file , press F4 to select destination, and don't forget to give '.xls' as extension ....

(or)

While debugging make sure your internal table is diaplayed below you code debugging, now in menu bar select "Goto>Display Data Object>Structure Editor" , now the internal table would be shown on a list, you can download the list as an Excel file....

F5 - Step by Step debugging

F6 - Skips loops and Subroutines

F7 - Skips the loop or subroutine and returns to the last cursor point or controls return to main program from subroutines & fm

F8 - Execute and come out of debugging or executes program until next break point.

Hope i am clear.

Reward if helpful.

Regards,

Harini.S

Former Member
0 Kudos

Hi Ravi,

Do this way

1) select TABLE tab in debugger

2) enter the internal table name

3) menu item GOTO>display data object>Structure editor

4) menu item OBJECT -->display entire list

5) menu item SYSTEm >List>Save-->local file