‎2008 Jul 12 10:14 AM
Hi All,
I have a requirement in which i have to convert the quantity value to a character value.
please let me know it's urgent.
Thanks
Krishan
‎2008 Jul 12 10:19 AM
Hi,
U can simply move the data using WRITE/MOVE then condense it.
WRITE w_quantity_field TO w_char_field.
CONDENSE w_char_field.
WRITE: /1 w_quantity_filed,
/1 w_char_field.
Thanks,
Vinod.
‎2008 Jul 12 10:17 AM
‎2008 Jul 12 10:17 AM
No need of any conversion for this.
just assign the quantity field to character field of same length.
data lv_char type string.
data lv_quan type numc.
write lv_quan to lv_char.
This will work
Kothand
‎2008 Jul 12 10:19 AM
Hi,
U can simply move the data using WRITE/MOVE then condense it.
WRITE w_quantity_field TO w_char_field.
CONDENSE w_char_field.
WRITE: /1 w_quantity_filed,
/1 w_char_field.
Thanks,
Vinod.
‎2008 Jul 12 10:33 AM