cancel
Showing results for 
Search instead for 
Did you mean: 

Setting an input field case sensitive in Webdynpro ABAP

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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