2008 Jan 08 3:06 PM
i NEED HELP IN aBAP DEBUDGGING AS I AM NEW TO THIS.
pLEASE HELP ME
i NEED HELP IN aBAP DEBUDGGING AS I AM NEW TO THIS.
pLEASE HELP ME
2008 Jan 08 3:23 PM
Hi,
You can start debugging in 4 ways...
1) Directly from ABAP editor main screen.
2) You can place by dynamic stop buttons in the code of the program.
3) You can write the code as BREAK-POINT in the program code.
4) /h in the command prompt - from any screen.
Once you enter in to the debugging screen then you can see
1) Fields [Up to 8 field values we can see at a time]
2) Table [Need to give the internal table name - you can modify the contents of the internal table, delete and append too]
3) Break Points [You can place up to 30 dynamic break points]
4) Watch points [You can set up to 10 watch points- these will be used to stop the program when ever it reaches to certain value for a field]
5) Calls
6) Overview
7) Settings
First 4 are the main importance options in debugging.
For more information check this link - http://help.sap.com/saphelp_nw04/helpdata/en/ef/5f0640555ae369e10000000a155106/frameset.htm
Regards,
Satya
2008 Jan 08 3:38 PM
Hi,
Debuging means checking the functionality (line by line of your code) of your program at runtime.
you can do it in below possible ways.
1) Putting break-point in your program.
select the line from where you want to debug in your program, put the cursor on that line and the choose 'stop' button in your application tool bar which will set's break point on that line, then execute that program it will take you to debug mode, in debug mode you can see the values in variables using 'fields' tab, and you can see the internal table records by choosing 'tables' tab, and you can put 'watch points'....etc.
2) Putting '/H' command in your command box.
which will take you to debug mode right from the first line of your code.
put '/h' and press enter in your command box, and then execute your program it will goes to debug mode.
3) write 'BREAK-POINT' code in your coding part.
write the 'BREAK-POINT' code before your debug line, and then execute the code it will stops the execution of your program and it will take you to debug mode.
Note:- don't use this option, if you forgot to remove this code, it will create some problems, it's better to avoid this option.
4) Debugging SAP-Scripts.
go to SE71 tcode, in the 'UTILITIES' option of your menu-bar options you can find 'activate debugger' option select that option, while running that script it will take you to debug mode.
once if your entered to debug mode, by doing some R&D you can easily find the available options.
Reward if useful.
Thanks,
Sreeram.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |