‎2007 Nov 01 9:40 AM
Please send me the details of how to debug an abap code ? with screen shots.
Thanks
‎2007 Nov 01 9:45 AM
give /h in command line.....and execute program......
use break-point or break <user name> in program if u need to debug particular part of code.....
create a session break point by placing cursor on line where debugging should start and click button break point.
info on watch points...
For required field value you need to use watch points.
Check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/c6/617cd9e68c11d2b2ab080009b43351/frameset.htm
you can either set a watch point for that field or, execute single step till that field is populated and double click on the variable so that you can see its contents in the debugger screen itself. Double click on the variable and do single step execution so you can see its contents throughout its execution. If you want to see the contents of a table, there is a tab called tables in the debugger. Go to that and enter the name of the table there. You will see all its contents. Hope this helps.
Regards
vasu
‎2007 Nov 01 9:47 AM
OPen the code dat u want 2 debug in SE38
put a<b> /h</b> cmd in the cmd window
then run using F8..
else activate the prog..keep da cursor on the stmt from the point where u want 2 debug from..then click on breakpoint in toolbar..then press F8
Hope dis helps..reward if it does
‎2007 Nov 01 9:49 AM
Hi
To debug an ABAP code type /h in command space,press enter and press execute.
Thanks
Vasudha
‎2007 Nov 01 11:02 AM
use /h in command field and execute
or from se38 screen pess debug button
‎2007 Nov 01 11:05 AM
hi Friend.
chk this blog
/people/thomas.weiss/blog/2007/05/20/abap-trial-version-for-newbies-part-12-debugging-in-abap
Siva
‎2007 Nov 01 11:29 AM
Hi,
You can debug the entire code or particular statement.
If you want to debug the entire program. Run the program, enter values in selection screen and input /h. By doing this you can debug the entire program.
If you want to know how the values are coming etc. then keep the break point at that place and click on the Debug point or press CTRLSHIFTF12.
Thanks,
Sriram Ponna.
‎2007 Nov 01 11:38 AM
Hi,
Method 1) In the SE38, after entering the program name, click on Execute in Debugging Mode Button
Method 2) on the command field hit "/H", then, Debugging switched on, end execute the program
Method 3) In the ABAP code, some where insert the statement, Break-point,
when the control comes to that statement, the program turns into debugging.
Try this,
KC
‎2007 Nov 01 12:24 PM
> Please send me the details of how to debug an abap
> code ? with screen shots.
>
> hanks
Hi,
There are two methods to debug ABAP code
1) Execute program by <b>F8</b> , give /h in command line and press Enter.
2) If you want to Debug pariticular part of the code then put <b>Break point</b> on this particular code and Execute code by F8
One more thing is that,
you can place any number of break points during debugging.
Thanks,
Aparna