06-18-2008 9:17 AM
06-18-2008 9:22 AM
Hi,
Try with 'REPLACE ALL OCCURRANCES OF' statement.
remember this REPLACE will work only on CHARACTER fields. So you need to use write to statement before using REPLACE statement.
data : char_qty type char18.
write wa_mara-qty to char_qty.
now you can use REPLACE statement.
thanks & regards
Kishore Kumar Maram
06-18-2008 9:18 AM
06-18-2008 9:19 AM
Hi,
REPLACE { section_of | sub_string_in } dobj WITH new
Reward pts if usefull.
Regards,
Dhan
06-18-2008 9:20 AM
Hi,
Eg : V_Quanty = 9.99.000
Replace all occurance of '.' in v_quanty with ','.
Thanks
Vikranth
06-18-2008 9:20 AM
hi,
go to transaction su3.there in the defaults tab u will have an option called decimal notation.change the as u wish by drop button over there.
i think this willl help u.
please reward me if helpful.
reagards,
Reddy.
06-18-2008 9:21 AM
06-18-2008 9:22 AM
Hi,
Try with 'REPLACE ALL OCCURRANCES OF' statement.
remember this REPLACE will work only on CHARACTER fields. So you need to use write to statement before using REPLACE statement.
data : char_qty type char18.
write wa_mara-qty to char_qty.
now you can use REPLACE statement.
thanks & regards
Kishore Kumar Maram
06-18-2008 9:23 AM
Hi,
You could try using the 'TRANSLATE' keyword.
Hope it works,
Sandeep.
06-18-2008 9:34 AM