Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Handling Errors in Smartforms

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

HI Prasad,

Insert Break-point and debug to find the errors .

Check out this thread ..

Regards,

Santosh

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

What I want to do put my own exceptions in the smartform and throw error messages to the calling function module