‎2013 Sep 06 6:06 AM
Hello Experts,
The tab spaces in the output is not getting deleted in the write statement. Here's my code:
I've tried CONDENSE, SHIFT - LEFT DELETING .., but it is still the same.
Here's the output:
Please do help.
Thanks & Regards,
Sowmya
‎2013 Sep 06 6:18 AM
Hi Sowmya,
try like this
DATA: w_num TYPE I VALUE 10,
w_char TYPE string.
MOVE w_num TO w_char.
CONDENSE w_char.
WRITE :/1 w_num,
/1 w_char.
‎2013 Sep 06 6:54 AM
Hi Sowmya,
all fields in write command will be written in output length of that field.
If you want to condense it, concatenate all these fields into a new field for the output line, condense it and write this line field instead of the single fields. But then the lines will no longer be formatted in the same way.
Regards,
Klaus