‎2007 May 22 6:57 AM
I need to convert certain fields from an upload file into upper case.
Any pointers as to how this can be done. Thanks.
‎2007 May 22 7:00 AM
w_text(10) type c Value 'shardul'.
translate w_text to upper case.
write: w_text.
‎2007 May 22 6:58 AM
Hi
Use the command
TRANSLATE <field> to LOWERcase/Uppercase.
Reward points if useful
Regards
Anji
‎2007 May 22 6:58 AM
store the file into an internal table using GUI_UPLOAD
then
loop at itab into wa_itab.
translate wa_itab-field1 to upper case.
modify table itab from wa_itab transporting field1.
endloop.
‎2007 May 22 6:59 AM
hi ,
Once you get them into your internal table do like following.
Translate <field> to UPPER CASE.
regards
sarath
‎2007 May 22 7:00 AM
w_text(10) type c Value 'shardul'.
translate w_text to upper case.
write: w_text.
‎2007 May 22 7:06 AM
U can try it using the TRANSLATE statement
data : TEXT(10) type C.
data : T(10) type C.
TEXT = 'gopi'.
move TEXT to T.
translate T to upper case.
write : T.
‎2007 May 22 7:07 AM
Hi,
You can use the TRANSLATE to transalte the field to either upper or lower case.
Reward pointsif it is helpful.
Regards,
Sangeetha.a
‎2007 May 22 7:11 AM
hi,
u can use transalte command to convert into upper/lower case. as
loop at itab.
TRANSLATE itab1-fld1 TO LOWER/UPPER CASE.
modift itab1 index sy-index.
endloop.
if helpful reward some points.
with reagrds,
suresh babu aluri.