2008 Aug 05 8:22 AM
Hi All,
I have a requirement in my report where the whole data should get downloaded with page breaks.(i.e., like
20 records in one page, next 20 records in next something like this,) but ths is not happening in my program it is printing all the records without any breaks..
Can any body tell me how to handle this.
Regards
Rohini.
2008 Aug 05 9:28 AM
Try this:
REPORT ZTEST138 NO STANDARD PAGE HEADING LINE-COUNT 21.
data: count type i.
do 40 times.
count = count + 1.
write: / count.
enddo.
top-of-page.
write: / 'page: ', sy-pagno.
Hi All,
I have a requirement in my report where the whole data should get downloaded with page breaks.(i.e., like
20 records in one page, next 20 records in next something like this,) but ths is not happening in my program it is printing all the records without any breaks..
Can any body tell me how to handle this.
Regards
Rohini.
2008 Aug 05 9:22 AM
Specify the Line count along with REPORT statement.
REPORT ZTEST_REPORT LINE-COUNT 20.
2008 Aug 05 9:28 AM
Try this:
REPORT ZTEST138 NO STANDARD PAGE HEADING LINE-COUNT 21.
data: count type i.
do 40 times.
count = count + 1.
write: / count.
enddo.
top-of-page.
write: / 'page: ', sy-pagno.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |