on 07-23-2010 10:08 AM
Hello,
Could anyone please let me know if we can set a input field case sensitive in webdynpro ABAP. I cannot change the domain of the data element which I am using in the context. Is there any setting in the layout which we can do?
Regards
Nilanjan
Hello,
As far as i know, there is nothing available in Layout to specify that input field is case-sensitive.
But you can change the case of the text entered in the code as required. For example, if you want all the characters to be in upper case, you can use the following statement to change the same:
TRANSLATE text TO UPPER CASE
Similarly to convert it to lower case:
TRANSLATE text TO LOWER CASE
Hope this helps!
Regards,
Srilatha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nilanjan,
I believe, In ABAP data is always case sensitive. you could decide whether the data entered in the input field is saved in which case or may be mix of lower and and upper case. for that , you need to simply uncheck property "Lower case" property of domain.
And if you want to only make it upper case or lower case in the display. you just have to manipulate the text and covert if before you display.
Thanks
Anurag Chopra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.