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: 

Function Module for converting lower case to upper case

Former Member
0 Kudos
9,819

Hello Abapers,

I need to convert Lower case to Upper Case.

Is there any function modules for converting lower case to upper case.

Waiting for u reply.

Regards

Maruthi

1 ACCEPTED SOLUTION

Former Member
0 Kudos
3,408

You can use the translate statement instead of an FM.

translate v_str to UPPER-CASE.

translate v_str to LOWER-CASE.

7 REPLIES 7

Former Member
0 Kudos
3,409

You can use the translate statement instead of an FM.

translate v_str to UPPER-CASE.

translate v_str to LOWER-CASE.

Former Member
0 Kudos
3,408

chk this FM TERM_TRANSLATE_TO_UPPER_CASE

REPORT ztest.

DATA : v_lower(25) VALUE 'abcde',

v_upper(25).

CALL FUNCTION 'TERM_TRANSLATE_TO_UPPER_CASE'

EXPORTING

langu = sy-langu

text = v_lower

IMPORTING

text_uc = v_upper.

WRITE : v_upper.

<b>OUTPUT is : ABCDE</b>

Message was edited by:

Chandrasekhar Jagarlamudi

Former Member
0 Kudos
3,408

Hi,

use FM

2054_TRANSLATE_2_UPPERCASE

HR_99S_CONV_UPPER_CASE

Regards

Shiva

Former Member
0 Kudos
3,408

AIPC_CONVERT_TO_UPPERCASE

regards

shiba dutta

0 Kudos
2,793

thank you

Former Member
0 Kudos
3,408

Kumar ,

USe

TRANSLATE <screen field name> TO LOWER CASE.

(OR)

FM ........... STRING_UPPER_LOWER_CASE"

Pls. mark

Former Member
0 Kudos
3,408

There is a string function " Translate " to change the given string to Upper/Lower case.

So, No need to go for Function Module,

Cheers