04-21-2006 2:15 PM
hai to all,
i need the debugging information.. for the function modules for how to do the debugging..
please iam not able to get the debugging..
how to find out where the exact error is coming.
iam working on interfaces for the bdc throug function modules ..
can anybody help for this
04-21-2006 2:18 PM
hi Franklin,
Check this out
http://help.sap.com/saphelp_erp2005/helpdata/en/c4/dae140d7308231e10000000a1550b0/frameset.htm
Regards,
Santosh
04-21-2006 2:19 PM
Hi
if you want the debugging then enter <b>/h</b> in the command bar, then it starts the debugging from the fisrst statment onwords
if you know the place where you need to see then put the break point and and execute, then process will stop at that place and you can see .....
you can even use BREAK_POINT key word to put the break point in a perticular place where you want to debug
Thansk
Sudheer
04-21-2006 2:25 PM
how can we see where the process is stoped,
is there any simble like that
please clarify it
04-21-2006 2:28 PM
No u have to manually bebug and check .......there are various tech to debug if u want i can send u the doc
04-21-2006 2:32 PM
u have to debug and see where the process stopped. otherwise put a breakpoint before the process where u feel error may come and debug frm that point only.
04-21-2006 2:21 PM
04-21-2006 2:26 PM
04-21-2006 2:21 PM
Hai Franklin
Breakpoints can be of different types.
Hard Break-Points : written in the code like
'Break-point 'Login- User Name''.
2)Soft Breakpoints
This is placed by placing the cursor at the line required by u and click the 'STOP' button or CntlShiftF12 in the std. menu
while executing your report the execution will stop at your break-point and will execute statements one by one
by using F5,F6,F7 & F8 function keys
3) By giving the command '/h' in the command box the debugging mode is opened from the starting of the program.
Thanks & Regards
Sreenivasulu P
04-21-2006 2:23 PM
hi,
type /h in command line and try to execute the program. Another way is to set break-point at the function module or the required line and do single step execute or execute.
Third option in certain cases is to check for sy-subrc <> 0 and proceed from there by making it 0 by updating the sy-subrc in the debug editor and see how the program behaves if the value is what you enterd in the debug screen.
04-21-2006 2:24 PM
hi franklin
if u need further info u can go with these links
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
Debugging Document.
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
Regards
Naveen
04-21-2006 2:31 PM
Hi,
if you are in the debug mode.. one arrow mark (->) will come.. it is nothing but you are there in that step or line ... by seeing that arrow mark you will know where you are ....
1) press F5 for line by line execution
2) press F6 if you do not want to go inside of a Function module or a sub routinline
3) press F7 if you want to comeout from of a FM or a subroutine
4) if you want to execute the program directly press F8
Thanks
Sudheer