07-16-2008 7:53 AM
without debugging key how can i debug function module?
Can anybody please share this information?
07-16-2008 7:54 AM
07-16-2008 7:56 AM
hi rajesh,
Using debugging key makes the processing slow.So in abap that concept is rarely used.Instead use any of the following
1.Use /h in command field before taking any action in the program
2.By setting up a breakpoint and executing the program
3.From the ABAP editor initial screen by pressing the debug button
4.From the Object Navigator (SE80) Select a program and 5.choose Test/Execute from the Development Object menu. The Choose Execution Type dialog box appears. Choose Debugging.
Note:-
A maximum of 30 breakpoints can be set in the ABAP debugger
07-16-2008 7:56 AM
Hi
YOU can use a BREAK-POINT ICON(STOP)
Can you be more clear with the question
Regards
Pavan
07-16-2008 7:58 AM
HI,
Also, you can write statement in function module:
break-point.
before the code you want to debug.
07-16-2008 7:59 AM
hi,
go to sourcecode of function module and put
Break <Usrname/id>
Rgds.,
subash
07-16-2008 8:00 AM
07-16-2008 8:02 AM
as told by others also you can put a hard coded break point in your FM with the Key word:
BREAK-POINT.
refer to the link for more details on break point:
http://help.sap.com/saphelp_nw70/helpdata/en/c6/617ccde68c11d2b2ab080009b43351/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/c6/617cbee68c11d2b2ab080009b43351/content.htm
With luck,
Pritam.
07-16-2008 8:05 AM
Hi
Go to TCode: SE37 and enter the function module name and type "\H" in the command field on the top.
It will activate Debugging mode for that function module.
Hope this would help you.
Murthy
07-16-2008 8:10 AM
Hi
yes we can debug a function module, either in function module place a breakpoint where u think there is problem or use Tcode /h .
hope this helps you.
thanks,
dhanashri
07-16-2008 9:51 AM
Hi,
In SE37 open the FM in display mode, use break point button to mark a break point wherever u want to start the debugging and excute directly using F8 or execute the program in which the FM is called.
Alternatively u can use /h + enter before executing the FM.
Hope this solves it.
Thanks,
Hitesh