‎2006 Aug 02 12:27 PM
hello every one,
Can any one expalin how to debug a SMARTFORM?
Thanks 'n' regards
SUDHEER
‎2006 Aug 02 12:29 PM
Hi,
to debug a smartform add program lines to the page and write 'break-point' in it.
activate it and execute it.
Regards,
Amit
‎2006 Aug 02 12:29 PM
Hi,
to debug a smartform add program lines to the page and write 'break-point' in it.
activate it and execute it.
Regards,
Amit
‎2006 Aug 02 12:32 PM
you also can debug using SOFT break points.
on the display smartform screen, menu path-> ENVIRONMENT->function module NAME.
here you will the function module name,for that smartform
now goto se37 & give this name, & go in display mode, place the soft break-point(using STOP button appears on application tool bar) where ever you require.
regards
srikanth
‎2006 Aug 02 12:33 PM
Hi Sudheer,
putting a break-point in a smartform is one option. But as smartfrom is a dynamic function module only, you can get the dynamic FM no and can debug that FM properly by searching a node name in the program also. and put a simple breakpoint as we do in simple report program.
I think this helps you to a understand the flow of smart form too.
regards,
Brijesh Patel
‎2006 Aug 02 12:38 PM
2 ways
Dynamic:
Generate the Smartform. You'll get a Function Module generated. Display the FM and search for the statement and place the Break-Point and execute.
Static:
Place the key word BREAK-POINT and execute.
Regds,
Vinodh.
‎2006 Aug 02 12:51 PM
HI
GOOD
In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap
Break Point.
THANKS
MRUTYUN
‎2006 Aug 02 12:55 PM
1.Execute the Smartform
2. Go to the funtion module
3. go to the object repository and subroutines tab in that. You will find the code of all the windows that u have in smartform.
4. You can now put soft breakpoints and run the smartform through the transaction me23 as required. It will stop at the break points.
Another way is to hard code the break points in the smartform codes.