Skip to Content
0
May 11, 2007 at 10:32 AM

How to remove spaces when printing amounts

41 Views

Hello.

When I execute this code

WRITE: '"' NO-GAP, itab-wrbtr, '"' NO-GAP.
* where: 
*    itab - internal table
*    wrbtr - is amount (similar in BSEG)

It has this kind of output: " 19,994,548.66 "

I think the spaces is like an allotment to fill the field length (13).

But, how can I remove this? I need to have this output: "19,994,548.66"

Thank you!