‎2008 Apr 15 12:25 PM
Hi all,
I have generated the report and got the required output.
But not able to display all fields in one row.
in my o/p ,first 3 fields come in one row, but fourth one in extreme left of second row, and fifth field in extreme right of second row.
Can anybody help me,
where i m wrong in my code.
loop at main_table.
write :/1 '|' no-gap, mAIN_TABLE-lifnr,
13 '|' no-gap, mAIN_TABLE-name1,
46 '|' no-gap, mAIN_TABLE-name2,
82 '|' no-gap, mAIN_TABLE-ort01 ,
102 '|' no-gap, mAIN_TABLE-regio,
108 '|' .
endloop.
Definitely rewards pts.
Best Regards,
Aastha
‎2008 Apr 15 12:30 PM
Hi,
set the Line-Size at the top of report like this.
report ZGENSET_130 no standard page heading line-size 295.
In Case of any problem revert back.
Reward points if useful....
Regards
AK
‎2008 Apr 15 12:29 PM
Hi,
REPORT <reportname> MESSAGE-ID ZXXX
NO STANDARD PAGE HEADING
LINE-SIZE 130
LINE-COUNT 55.
Increase the line-size to 130 or more than that.
Thanks,
Sriram Ponna.
‎2008 Apr 15 12:30 PM
Hi,
set the Line-Size at the top of report like this.
report ZGENSET_130 no standard page heading line-size 295.
In Case of any problem revert back.
Reward points if useful....
Regards
AK
‎2008 Apr 15 12:42 PM
hi
try this
loop at main_table.
write :/1 sy-vline, mAIN_TABLE-lifnr,
13 sy-vline, mAIN_TABLE-name1,
46 sy-vline, mAIN_TABLE-name2,
82 sy-vline, mAIN_TABLE-ort01 ,
102 sy-vline, mAIN_TABLE-regio,
108 .
endloop.
if useful give reward points
Regards,
pankaj