2007 Sep 02 10:02 AM
hallow
i have table with field with umbers and i wont to add percentage to number
what is the best way to do that ?
i give exaple
itab now
num
100
200
300
400
itab i wont
num
100%
200%
300%
400%
Regards
2007 Sep 02 12:20 PM
Within loop ,just use concatenate command
here itab-numc is the charcter field
loop at itab.
move itab-num to itab-numc.
concatenate itab-numc '%' into itab-numc.
write:/ itab-numc.
endloop.
Concatenate command will work for charcter,Numeric
Thanks
Seshu
2007 Sep 02 12:20 PM
Within loop ,just use concatenate command
here itab-numc is the charcter field
loop at itab.
move itab-num to itab-numc.
concatenate itab-numc '%' into itab-numc.
write:/ itab-numc.
endloop.
Concatenate command will work for charcter,Numeric
Thanks
Seshu