‎2007 Jul 28 6:35 AM
Hi all
Can be debugg Function Module & Subroutines ? What is the procedure ?
Thanks
‎2007 Jul 28 6:39 AM
Hi Ravi,
It will be same as you do for reports.
Either use /h on command promt or put a breakpoint in the source code.
Regards,
Atish
‎2007 Jul 28 6:39 AM
Hi Ravi,
It will be same as you do for reports.
Either use /h on command promt or put a breakpoint in the source code.
Regards,
Atish
‎2007 Jul 28 8:33 AM
Hi,
Select the line in abap code to which u want to monitor.Then Go in menu bar
Utilities->Breakpoints->Set
or put /h command
Regards
‎2007 Jul 28 8:36 AM
You can debug FM or a subroutine as the same way as you do when you debug a report.
You set a break point by pressing CtrlShiftF12.
Or you can give '/h' in the command prompt.
Regards,
Pavan
‎2007 Jul 28 8:48 AM
hi ravi,
YES u can debugg a FM as well as subroutine...
if u want to debugg a FM just go to se37 --> enter FM name --> display..
select where u want to add a break point now just click on breakpoint button
and execute...enter the export parameters u will get the FM in debugging mode...
or else u can exeute the FM and click on debugging ....
similarly select the subroutine and execute...
hope this may be usefull...
please reward incase usefull...
regards,
prashant
‎2007 Jul 28 9:00 AM
Hi,
You can debug in the FM.
If you want to make debug goto se37 . type the FM name and Execute it.
Befor execute type /h in the T-CODE bar. so that you can debug.
Else goto the same transaction and display the FM and goto the source code and set a break point.
Thanks,
Yogesh
‎2007 Jul 28 9:04 AM
1. As usual way, go to the program code where you want to set a break-point.
Find the Subroutine/Fm set a breadpoint first by selection the FORM/FM than click on the break-point symbols. Now when you run the program the debugging will start from that place.
2. Before executing transaction code/ report enter /h in sap command. Than run the transaction/report. It will start your program in debugging mode.. Now you can set break point on Subroutine/FM, go to the breakpoint menu in debugging screen there you will see menuitem Subroutine & Function module, If it is a subroutine debugging enter only the subroutine name in subroutine menuitem or if it is a FM just enter the FM name in Function module menu item. Than press F8. It will stop inside subroutine/FM in debugging mode.
Good luck,
Regards,
A.Singh
‎2009 May 31 2:19 PM