09-29-2006 5:21 PM
Smartform Experts,
We are having issues with smartform and it errors out only in particular cases. Is there a way to handle Errors in Smartforms and find out exactly where the error occured in Form and catch the relevant Error message.
Appropriate reward point will be awarded.
Thanks
Prasad
09-29-2006 5:22 PM
09-29-2006 5:23 PM
hi,
We have to start debugging smartform.
We have to insert program lines and write
break-point.
in it. By doing this, we can know the values of different variables.
Regards,
Sailaja.
09-29-2006 7:36 PM
Hi Prasad,
You can debug smartform in 2 ways.
1. put break-point in a program lines and debug.
2. goto the smartform function module.
Goto->Main Program
double click on the last include program name, which will take you to the code which we write in smartform program lines.
there select the appropriate line and click on STOP button to put a break point.
then run the program, system will stop at the break point, from there you can debug line by line.
i would prefer the 2nd way to debug smartforms than 1 way.
coz in 1st way we have change the form, which is not possible in quality and production systems.
if this suits your requirement, pls award the points.
Satish
09-29-2006 10:28 PM
What I want to do put my own exceptions in the smartform and throw error messages to the calling function module