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

Function Module for converting lower case to upper case

Former Member
0 Likes
11,358

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
Read only

Former Member
0 Likes
4,947

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
Read only

Former Member
0 Likes
4,948

You can use the translate statement instead of an FM.

translate v_str to UPPER-CASE.

translate v_str to LOWER-CASE.

Read only

Former Member
0 Likes
4,947

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

Read only

Former Member
0 Likes
4,947

Hi,

use FM

2054_TRANSLATE_2_UPPERCASE

HR_99S_CONV_UPPER_CASE

Regards

Shiva

Read only

Former Member
0 Likes
4,947

AIPC_CONVERT_TO_UPPERCASE

regards

shiba dutta

Read only

0 Likes
4,332

thank you

Read only

Former Member
0 Likes
4,947

Kumar ,

USe

TRANSLATE <screen field name> TO LOWER CASE.

(OR)

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

Pls. mark

Read only

Former Member
0 Likes
4,947

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

So, No need to go for Function Module,

Cheers