Sei sulla pagina 1di 2

How To Debug SAP SmartForms

I really need to write this one because I looked everywhere online but cant find any satisfying
explanation on how to debug a Smartforms, e.g. like how to debug the subroutines section under
global setttings > Global definition.
Its quiet simple actually because all you have to do is write a simple code in the subroutines. The
code syntax is Break your_id. So If your username is Abaper1 then you should write Break
Abaper1, then after you run the program the breakpoint will be triggered on the particular
row/section where you put that statement.
See below instruction for a clearer view.
1. Open the SMARTFORMS sub routine tab and type in the code where you want the breakpoint to
start.

2. Now run the SMARTFORMS report as usual, after that you will see the breakpoint is triggered
on the BREAK statement where you put in step 1.

Potrebbero piacerti anche