cancel
Showing results for 
Search instead for 
Did you mean: 

Checkbox error "The Entered Value is Not on the List of Valid Values".

Former Member
0 Kudos

Hi All,

I have a check box attribute inside a node which is bounded to a field of type CHAR 1. I have given the property and value for the attribute as follows:

Attribute Name ZCHECK

Type assignment Type

Type ZTABLE-ZCHECK

Read-only 0

Default Value

Null Value 0

Input Help Mode Automatic

Determined Input Help ZCHECK

Type of Input Help Fixed values for domains

Formatting

Compression Default Value

I have created an onToggle Event for it.

Now when i execute my component i do the following.

First i click on a button called 'EDIT'. Now the check box comes to edit mode. Now when i click on the checkbox i get the following error. "The Entered Value is Not on the List of Valid Values".

When i try to debug, there is no problem in the 'INIT' method. The error is throw even before going inside the onToggle Event for check box.

Please explain how to over come this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check your field ZTABLE-ZCHECK, if it is of type CHAR1 then only possible values for checkbox should be 'X' and ' '.

May be your domain has some other values in Fixed Value List.

its better to bind checkbox with attribute of type boolean

Also, the input help for attribute bound to checkbox doesn't makes any logic.

Regards

Manas Dua

Edited by: Manas Dua on Feb 26, 2010 3:11 PM

Former Member
0 Kudos

Hi,

Thanks. Even i felt the same thing. Because my value range for that field is Y or N.

But the same bonding is done in Quality system and it is working fine there. We are facing this issue in Development system.

The fields are same in Quality and Development. But in quality am not getting that error whereas it comes in Development.

Is there any other problem ?

Former Member
0 Kudos

Hi,

In ur prodection system may be relevant data is there in table ZTABLE for field ZCHECK. fro that field u are having the search help also ZCHECK

change the type to wdy_boolean, it will solve the issue.

Edited by: pankaj aggarwal on Feb 26, 2010 3:21 PM

Former Member
0 Kudos

Thanks a lot.

Can you please explain a little on this.

Does this mean if the records in table in table ZTABLE has value for field ZCHECK as 'Y' or 'N' i may not face this error.

Is this what you are trying to say.

Please revert back.

Thanks in advance.

Former Member
0 Kudos

yes my means the same... but the field value should be X or ' ' not Y or N.

But also checkbox should be binded with the attribute of type wdy_boolean.

Edited by: pankaj aggarwal on Feb 26, 2010 3:29 PM

Former Member
0 Kudos

Thanks.

But i can see that in production this field is not binded to WDY_BOOLEAN. So how is that there is no error in production.

So does that mean if there is value in table i wont get error??

Former Member
0 Kudos

yes, as i think if values are there in table then u will not get error.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

try changing the type ZTABLE-ZCHECK to wdy_boolean or char1 directly instead of ZTABLE-ZCHECK.