cancel
Showing results for 
Search instead for 
Did you mean: 

how to supress warning messages

Former Member
0 Kudos

Hi experts,

In smartforms, I am getting warning messages like 'Field V_SIGN has no defined value', where i have used that V_SIGN in a text node to display the value of it.

But i have already defined the variable v_sign in global definition, still im getting the warning message.

Some one plz help me, to supress these warning messages.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

These warning messages are nothing but... saying that the field is empty.

It should really not bother you. It wont effect the performance of the smartform in any way.

Regards,

Vishwa.

Answers (6)

Answers (6)

Former Member
0 Kudos

vishwa,

thanks a lot !!!!

Former Member
0 Kudos

Ok Enjoy SDN and Happy Posting. .

Former Member
0 Kudos

vishwa,

if u have any idea, just can u tell me why its happening so...

because that warning will not get for all variables, only for some it gets. why so?

Former Member
0 Kudos

Some of the variables are already intialized because of the declarations ur giving... but some are not intialized which we have to do manually...as I said earlier even if not given it does not matter, but then if the client is knowledgable(some clients have developers to check the code we write) would not want to see the warning messages as happened in you case...

Regards,

VIshwa.

Former Member
0 Kudos

hi Vishwa,

thank u very much.

it solved my problem.

Former Member
0 Kudos

Hi

Do this..In the global definiton, initialization tab,

IN the input parameters, give the variable and also in output parameters

Then give the field like this, for ex gv_sales_person is the variable.

give gv_sales_person = ' 0'

This should work.

Regards,

VIshwa.

Former Member
0 Kudos

Hi Vishwa,

Thanks a lot.

I have tried what u said, but still unable to solve the issue.

Suggest me if any other way to solve the issue.

Thanks in advance.

Former Member
0 Kudos

Hi mytri,

Its is because you have not initialized the variable, assign a initial value(Say 0) in the global declrations for the variable.

Regards

Karthik D

Former Member
0 Kudos

Is it working? Close the post if it is working.

Former Member
0 Kudos

Hi,

Thanks alot for ur reply.

Even it wont effect the performance, i need to supress the messages. plz suggest me some solution.

Thanks in advance.

Former Member
0 Kudos

Hi..

There is an option. In the global definition, next to the declaration there is a tab called default value... give a value in the field for which warning messages are popping up.

As you might have written code to fetch data for that variable..later on it will get over written.

Regards,

Vishwa.