on 12-04-2012 12:33 PM
hi
i have a table in my webdynpro and i have a column there named - FACILITY
Is there a way to cause this column to recive values only from SEARCH HELP that i will attach to this column ?
I want to prevent from the user to set incorrect values ( i want to avoid input checks ).
Thanks Ami
Hi Ami,
1. you have to take validation while saving
2. instead of inputfield take dropdown
You have to take any one opt from the two points if you want to avoid validations.
Thanks & Regards,
Sankar Gelivi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ami,
You can do this with a bit of a trick on the view.
Create two InputFields on your view, let's call them ReadOnlyField and InputField.
Because InputField is enabled, its search help is still available to the field even though the field itself is invisible on the view. Now when the user selects the search help on InputField, the selected value will display in field ReadOnlyField since both fields are bound to the same context attribute. It will appear to the user as if there is only one field.
With a little experimentation, you may be able to adapt this approach to your table. If not, an alternative approach is to provide a DropDown list of values rather than an InputField.
Cheers,
Amy
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You could place the set of values in domain, then automatically system throws error. Or use a check table, while inserting into DB it will throw error.
Before hitting Data base if you want to display error you need to do input checks..
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.