08-01-2007 8:11 PM
I am using the concatenate statement to place fields of a itab into a single line.
My output is currently.
xxxx xxxx xxxxx
xxx xxx xxxx
xxxx xxxx xxxx
I would like to have the display like
xxxx xxxx xxxxx
xxx xxx xxxx
xxxx xxxx xxxx
How can i do that.
08-01-2007 8:14 PM
Instead of concatenate, use fixed offsets to get the result you want.
So instead of
concatenate field1 field2 field3 into itab-record.
use
itab-record+0(10) = field1.
itab-record+10(4) = field2.
.....
08-01-2007 8:14 PM
Instead of concatenate, use fixed offsets to get the result you want.
So instead of
concatenate field1 field2 field3 into itab-record.
use
itab-record+0(10) = field1.
itab-record+10(4) = field2.
.....
08-01-2007 8:33 PM
HI,
If you just want to display it on the screen.. use the left-justified, centered, right-justified options with the write statements.
Thanks.
Mahesh