1) Smartform will generate a Function Module. Put a breakpoint in the first statement of the function module.
2) Execute tcode F150. Debugger will stop at the breakpoint.
3) Now set a watchpoint , sy-msgty = 'E' & then press F8.
4) Debugger will stop at the watchpoint. You can read the message and find out what is the problem.
If the debugger does not reach the first statement of FM, then probably the function module is inactive. You need to activate the FM.







