‎2008 Feb 05 2:34 PM
Hi EveryOne,
Can i know which function module we use for the conversion of Small letters to Capital Letters.
Regards,
PHANINDER GOLLAPUDI.
‎2008 Feb 05 2:35 PM
‎2008 Feb 05 2:36 PM
If you want to convert a partcular field then you can use:-
Translate fieldname to Upper Case.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 5, 2008 4:30 PM
‎2008 Feb 05 2:38 PM
hi
good
DATA: t5(10) TYPE c VALUE 'AbCdEfGhIj',
string5 LIKE t5,
rule5(20) TYPE c VALUE 'AxbXCydYEzfZ'.
string5 = t5.
WRITE string5.
TRANSLATE string5 TO UPPER CASE.
WRITE / string5.
string5 = t5.
TRANSLATE string5 TO LOWER CASE.
WRITE / string5.
thanks
mrutyun^
‎2008 Feb 05 2:39 PM
U can try this
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.
OUTPUT is : ABCDE
‎2008 Feb 05 2:42 PM
Hi,
You can use translate statement.
Data : name(10) type c value 'COMMUNITY'.
TRANSLATE name TO LOWER CASE.
write : name.
Thanks,
Sriram Ponna,
‎2008 Feb 06 1:55 AM
‎2008 Feb 06 2:04 AM
Hi
Check This FM
TR_UPPERCASE_PARTS_OF_STRING
It translates the string given by you or you can give the whole string for Translation .
Hope it helps .
Praveen.