cancel
Showing results for 
Search instead for 
Did you mean: 

Thousand separator in RFC-type-based field

former_member190457
Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

former_member190457
Contributor
0 Kudos

unknown