Application Development 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

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_member181962
Active Contributor
0 Kudos

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_member181962
Active Contributor
0 Kudos

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

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

Hi,

use FM

2054_TRANSLATE_2_UPPERCASE

HR_99S_CONV_UPPER_CASE

Regards

Shiva

Former Member
0 Kudos

AIPC_CONVERT_TO_UPPERCASE

regards

shiba dutta

0 Kudos

thank you

Former Member
0 Kudos

Kumar ,

USe

TRANSLATE <screen field name> TO LOWER CASE.

(OR)

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

Pls. mark

Former Member
0 Kudos

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

So, No need to go for Function Module,

Cheers