on 04-30-2009 6:49 AM
Hi Experts,
I am display a table with some fields which are free for editting.
One of the fields is of type Character with a lenth of 26 char.
When i type a string in the field and hit enter , it changes to Upper case.
I need the display to be in lower case if typed in lower case and should be shown in upper case if typed in upper case.
Kindly assist,
Thanks,
Siva.
Hi,
Either create attribute of type string Or you can go for the following approach.
The elements of your table consists of data types you can maintain in the SE11.
The data type are based on a domain which you can maintain in SE11.
Go to SE11 and check the domain which is behind the table field. On the tab "Definition" of the domain just checkmark "Lower Case". Afterwards the system does not translate your input to upper case automatically.
If you use a SAP domain, you need to copy it to customer namespace, set the lower case flag, create a new data type based on your own domain and use it in the structure of your internal table.
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Change your attribute type to string.
Radhika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have few fields in may table. They store texts.
So i have created fields with type CHAR with length 26.
I am displaying this table in wd application al editable ALV table.
In the WD application screen, if i type a text , lets sat "webdynpro" in lower case and hit ENTER key , it changes to Upper case , "WEBDYNPRO" . I want the text to be shown as the way its typed in.
If typed in lowercase, it should be displayed in lower case and if typed in upped case, it should be displayed in Upper case.
Hope everyone understands what i am talking about.
Kindly help.
Thanks,
Siva.
Hi Sivasankar,
The easy way out could be: Just change the type of attribute (which is binded to the input field ) to string.
No auto case conversion will take place.
Regards
Arjun
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 | |
10 | |
10 | |
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.