‎2008 Nov 07 7:25 AM
good day,
i have question in using the at user command, because i want to translate all the text( starting from column 27 onwards) in my report if it is clicked, im using translate syntax, how will my syntax go?
at user command.
if sy-cucol > 27.
translate ___ to upper case.
endif.
but this is not working
‎2008 Nov 07 7:28 AM
Try using this code.
at user command.
if sy-cucol > 27.
translate sy-lisel+27 to upper case.
endif.
‎2008 Nov 07 7:28 AM
Try using this code.
at user command.
if sy-cucol > 27.
translate sy-lisel+27 to upper case.
endif.
‎2008 Nov 07 7:29 AM
Hello,
First capture the SY-UCOMM then Translate it
Try like and see the output.
at user command.
case sy-ucomm
when 'TRAN'
if sy-cucol > 27.
translate _ to upper case.
endif.
endcase.
‎2008 Nov 07 7:35 AM
‎2008 Nov 07 7:57 AM
‎2008 Nov 07 8:01 AM
@MAnoj
hi do you know how will my program detect that the selected line is greater than column 27? because i need to change it to upper case if it is selected
Edited by: Alvin Rosales on Nov 7, 2008 9:01 AM
‎2008 Nov 07 7:30 AM
Hello,
I think u need check the synatx
TRANSLATE text TO UPPER CASE
Thank u
santhosh
‎2008 Nov 07 7:32 AM
Hi,
You need to translate each column one field to one using loop.
Regards,
Nandha