Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Regards

RAj.

replied

Hi,

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

Regards

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question