02-06-2007 10:59 AM
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
02-06-2007 11:01 AM
You can use the translate statement instead of an FM.
translate v_str to UPPER-CASE.
translate v_str to LOWER-CASE.
02-06-2007 11:01 AM
You can use the translate statement instead of an FM.
translate v_str to UPPER-CASE.
translate v_str to LOWER-CASE.
02-06-2007 11:03 AM
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
02-06-2007 11:04 AM
Hi,
use FM
2054_TRANSLATE_2_UPPERCASE
HR_99S_CONV_UPPER_CASE
Regards
Shiva
02-06-2007 11:05 AM
2 weeks ago
02-06-2007 11:07 AM
Kumar ,
USe
TRANSLATE <screen field name> TO LOWER CASE.
(OR)
FM ........... STRING_UPPER_LOWER_CASE"
Pls. mark
02-06-2007 11:07 AM
There is a string function " Translate " to change the given string to Upper/Lower case.
So, No need to go for Function Module,
Cheers