cancel
Showing results for 
Search instead for 
Did you mean: 

Characters appearing in Upper Case

sivadm
Advisor
Advisor
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member40425
Contributor
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

Change your attribute type to string.

Radhika.

sivadm
Advisor
Advisor
0 Kudos

Hi,

Thanks for the information.

But my table has more than 6 fields. All these fields need the same property. But the table doesn't allow more fields with data type String.

Kindly advice.

Thanks,

Siva.

Edited by: Sivasankar D M on Apr 30, 2009 9:43 AM

arjun_thakur
Active Contributor
0 Kudos

Hi Siva,

I am unable to understand your requirement. Please provide more details.

Regards

Arjun

sivadm
Advisor
Advisor
0 Kudos

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.

arjun_thakur
Active Contributor
0 Kudos

Hi,

So i have created fields with type CHAR with length 26.

By 'field' I think you meant attribute. Simply change the type of that attribute/field from CHAR26 to string.

Regards

Arjun

arjun_thakur
Active Contributor
0 Kudos

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