Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

lower case to upper case

Former Member
0 Likes
635

Hi,

how can i convert lowercase into uppercase

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
594

hi,

DATA : v_string type string value 'sap business'.

TRANSLATE v_string TO UPPER CASE.

hi,

DATA : v_string type string value 'sap business'.

TRANSLATE v_string TO UPPER CASE.

3 REPLIES 3
Read only

Former Member
0 Likes
595

hi,

DATA : v_string type string value 'sap business'.

TRANSLATE v_string TO UPPER CASE.

Read only

Former Member
0 Likes
594

Hello Hima

You can use the statement 'Translate to Upper case ' to convert it.

If you working on ECC then this may not be unicode compatible so you might have to use a class method to translate. But you can still use the above in ECC as well but with warnings for sure.

Thanks

Shivika

Read only

Former Member
0 Likes
594

Hi Hima,

Just try as shown!!

Declare the variable ...

DATA : var1 type string.

Convert Lower to Upper

TRANSLATE var1 TO UPPER CASE.

note:

Var1 is a variable which will accept charaters either in UPPER / Lower case... and the output would be in UPPER CASE only

Hope this helps a bit ..

Reward if useful ..

Cheers

Kripa Rangachari.