2007 Aug 01 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 xxxxI would like to have the display like
xxxx xxxx xxxxx
xxx xxx xxxx
xxxx xxxx xxxxHow can i do that.
2007 Aug 01 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.
.....
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 xxxxI would like to have the display like
xxxx xxxx xxxxx
xxx xxx xxxx
xxxx xxxx xxxxHow can i do that.
2007 Aug 01 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.
.....
2007 Aug 01 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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |