on 09-16-2008 6:45 PM
Hi everybody,
I am developing a WDPJ application where every input field is bound to an R/3 RFC data type.
An automatic validation is performed on the data type (i.e. if the user types 'hello' in a numeric field an error is displayed).
I would like the field to automatically validate also thousand separators just as in standard R/3 transaction (i.e.: 3.000 is ok, 3.00 is not ok, where thousands separator is dot). Actually the validation simply ignores the thousand separator if not in the proper position (3.00 becomes 300).
Can anyone please help?
Thanks in advance, points will be awarded
Vincenzo
Hi,
I assume that you have already written some validation code for this field in Webdynpro Java. If your requirement is to validate the number of zeros after the . then you can user StringTokenizer or String.split() and find the number of digits after the thousand separator.
regards
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
unknown
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.