06-05-2008 10:34 AM
06-05-2008 10:37 AM
06-05-2008 10:38 AM
06-05-2008 10:38 AM
Hello,
Enter the static break point in one of the program lines.
e.g. BREAK-POINT.
You can create user specific static breakpoints.
e.g. BREAK <user name>
06-05-2008 10:38 AM
From the smartform get the function module name, open the same in se37 and put debug point at the desired position.
06-05-2008 10:39 AM
You can execute SMARTFORM by putting breakpoint in the print program or else you can execute in the SMARTFORMS Tcode only by F8 then it will show the corresponding function module name again PRESS F8 then there will be Debugging button in the application tool bar by pressing that you can debug.
06-05-2008 10:39 AM
Hi,
You can debug smartform by keeping break-points, and break-points can be given through program lines.
Create a program line and add break-point or break username in the abap editor.
Thats it when you execute the form it will stop at that point in debug mode.
Regards,
Ravi K
06-05-2008 10:40 AM
Hi,
basically smartform is normal function module. This FM is generated during activaiton of the smarform. So you can find the name of FM corresponding to your Smartform and use the standard ABAP tools for debugging. You can also insert code into your smartform with break point.
06-05-2008 10:41 AM
You can debug smartform by keeping break-points, and break-points can be given through program lines.
insert static breakpoint in your code simply as
BREAK-POINT.
so now when we issue output to our smartform,it will open up in debug mode.
But sometimes when you face a problem when no output is generated for your smartform though it seems to be fine in debug mode fr breakpoints inserted, then Other way to debug your smartform is
go to transaction SMARTFORM_TRACE and click on the SWITCH ON botton for abap breakpoints-error...
now your smartform will stopt at those errors in debug mode
and you can easily trace the errors
Try this out,it really helps
Thanks
reward if useful
richa