2008 Jun 18 9:17 AM
Hi,
how to replace . with , in a quantity field?
many thanks!!!
2008 Jun 18 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
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
2008 Jun 18 9:18 AM
2008 Jun 18 9:19 AM
Hi,
REPLACE { section_of | sub_string_in } dobj WITH new
Reward pts if usefull.
Regards,
Dhan
2008 Jun 18 9:20 AM
Hi,
Eg : V_Quanty = 9.99.000
Replace all occurance of '.' in v_quanty with ','.Thanks
Vikranth
2008 Jun 18 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.
2008 Jun 18 9:21 AM
2008 Jun 18 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
2008 Jun 18 9:23 AM
Hi,
You could try using the 'TRANSLATE' keyword.
Hope it works,
Sandeep.
2008 Jun 18 9:34 AM
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |