on 12-07-2010 8:03 AM
Hi Experts!
Is it possible to realize "case sensitive" input/edit fields within web dynpro for ABAP?
Regards,
Gerhard Hangöbl
Hi,
There is no UI property to do that. You need to Program it on server round trip.
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 write a method to validate your input with given case as importing parameter and message as exporting message.
importing iv_input_text,ib_case
exporting ev_error_message
data: lv_text type string,
lv_text = iv_input_text.
if ib_case = abap_true. // Uppercase
translate text to upper case.
else.
translate text to lower case.
endif.
if iv_input_text ne lv_text .
concatenate iv_input_text 'your message' into ev_ error_message.
endif.
Hi ,
I think if u want to validate Case sensitive, U can set the Domain's property which u have assigned to TYPE of that attribute..
While creating domain, u can check that Checkbox CASE SENSITIVE..
As u said, if it is with in Webdynpro, We have to write Coding like Baskaran
Regards,
Ramesh
Edited by: Rameshkumar Raamasamy on Dec 7, 2010 10:33 AM
Hi !
Sorry, I think my question was not clear!
I realized several input fields, but when I fetch the context within web dynpro, the input values are already conerted to upper case!
What is the reason for this? I want to realize a case sensitiv input (or just as the user input the values)!
Regards,
Gerhard
>
> Hi !
>
> Sorry, I think my question was not clear!
>
> I realized several input fields, but when I fetch the context within web dynpro, the input values are already conerted to upper case!
>
> What is the reason for this? I want to realize a case sensitiv input (or just as the user input the values)!
>
> Regards,
> Gerhard
Hi, probably the data elements have conversion routines defined in DDIC. Just write a test WDA component with your own defined attribute and use suggested method to suit your problem.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.