Smartform debug when no preview avail
How to debug the smartform when the form have no print preview option ,it is triggering based on order type . which is printing directly, its not have an option to see the preview.
Generally, when we select the print preview iption it goes to debug mode. but here is not be the case.
Let me know the answer at the earliest.
For smartforms debugging you can do this.
1. Execute the smartform (execute button in SMARTFORMS transaction)
2. Take the generated function module and display it in SE80.
3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis
Tcode - SFTRACE