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: 

getting a warning message in smart form as the field has no defined value

Former Member
0 Kudos

hi to all experts,

when i activate my smartform im getting the warning message ( l_amount has no defined value)

why this warning message comes and how to avoid this

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

please try to put a default value (maybe 0) for your I_amount variable at the global definition.

thanks,

victor.

6 REPLIES 6

Former Member
0 Kudos

Hi,

Where have you used it to output?

How r u assigning the field?

Are you using it in any code Lines... Check if you have declared it in Input and Output parameters of Code Lines..

Revert.

SuhaSaha
Advisor
Advisor
0 Kudos

Hello Abdul,

In the initialization tab of the SF, just write

CLEAR <variable name>

you will not get this warning message.

FYI this warning message does not effect your SF's performance )

BR,

Suhas

Edited by: Suhas Saha on Jan 15, 2009 10:27 AM

Former Member
0 Kudos

Hi

May be the values are not getting filled in the field.

Former Member
0 Kudos

hi,

please try to put a default value (maybe 0) for your I_amount variable at the global definition.

thanks,

victor.

Former Member
0 Kudos

Hi...

this is caused because of u declared but not used. no initial value also assigned. at lease try to assign at least zero. and any way it's warning message right. so u can activate and use thet SF.

Regards,

KP

0 Kudos

HI,

Dont bother about the warning message, it wont give any negative impact to your output..

if u want just give the default value while declaring the variable itself..

regards

vijay.