2006 Jun 21 4:13 AM
For displaying the footer in list i have to reserve some empty lines for this what i have to do?
2006 Jun 21 4:53 AM
HI
GOOD
AS YOU HAVE NOT MENTIONED IN WHICH KIND OF REPORT YOU WANT THE SPACE HEREWITH I AM GIVING SOME LINKS,GO THROUGH THEM I HOPE YOU WILL GET SOME SOLUTION.
The function module SET_PRINT_PARAMETERS fills the input fields with the default values. Because of the function module, the Lines field is ready for input, even though the LINE-COUNT addition is used in the REPORT statement. The option, in this case, is needed to reserve space for two footer lines.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba5e235c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/90/1d493a331311d5b696006094192fe3/content.htm
THANKS
MRUTYUN
For displaying the footer in list i have to reserve some empty lines for this what i have to do?
2006 Jun 21 4:20 AM
Hi,
In the 'REPORT' statement, mention the number of lines and also mention the number of lines you want to reserve in each page for the footer within bracket. for example the following statement will reserve 3 lines for footer in each list page.
Report ZTESTREPO line-count 70(3).
Rgds,
Deb.
2006 Jun 21 4:22 AM
Hi,
Take a look here
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba06935c111d1829f0000e829fbfe/frameset.htm
To execute a page break on the condition that less than a certain number of lines is left on a page, use the RESERVE statement:
Regards,
Ravi
2006 Jun 21 4:40 AM
Hi
you can Use the RESERVE statement.
RESERVE <n> LINES
If less than n free lines are left on the list page between the last output and the page footer, this statemet gets triggered
regards
Beena
2006 Jun 21 4:53 AM
HI
GOOD
AS YOU HAVE NOT MENTIONED IN WHICH KIND OF REPORT YOU WANT THE SPACE HEREWITH I AM GIVING SOME LINKS,GO THROUGH THEM I HOPE YOU WILL GET SOME SOLUTION.
The function module SET_PRINT_PARAMETERS fills the input fields with the default values. Because of the function module, the Lines field is ready for input, even though the LINE-COUNT addition is used in the REPORT statement. The option, in this case, is needed to reserve space for two footer lines.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba5e235c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/90/1d493a331311d5b696006094192fe3/content.htm
THANKS
MRUTYUN
2006 Jun 21 5:12 AM
Hi Srinivas,
Please read the following paragraph.
<b>Controlling Page Size</b>
To control the size of the output page, use the following additions on the report statement:
line-size
line-count
The line-size addition controls the width of the output list; line-count controls the number of lines per page.
Syntax for the line-size and line-count Additions to the report Statement
The syntax for the line-size and line-count additions to the report statement is as follows:
report line-size i line-count j(k).
where:
i, j, and k are numeric constants. Variables are not allowed.
i specifies the width of the output list (in characters).
j specifies the number of lines per page in the output list.
k specifies the number of lines reserved for a footer at the bottom of each page.
Do not enclose i, j, or k in quotes.
<b>Using line-size and line-count</b>
By default, the width of the output list is equal to the maximized window width. For example, if your window is maximized before you execute a report, the system will use that width as the output width of your program. If your window has been resized to be less than the maximum, the system will still use the maximized size. A scroll bar will appear at the bottom of the window to allow you to scroll right and see the rest of the report.
To override this behavior, specify the list output width by using line-size. Valid values are 2 through 255.
TIP
Most printers cannot print more than 132 characters on a line. If you think your users may want to print the output list, try not to exceed 132 characters per line.
The page number is printed in the top-right corner of the list. The default number of lines per page is 60,000-the maximum allowed. You can use line-count to override this number. For example, to specify 55 lines per page, enter report line-count 55. Specifying line-count 0 means use the maximum (60,000).
The user can specify the number of lines per page that is appropriate for the printer when he or she prints the report.
TIP
You can also set the line-count in the middle of the report, so different pages can have different numbers of output lines. To do this, use the new-page statement (covered later). It can also be used to set the number of lines per-page before any output is generated.
line-count is not usually used with reports that are viewed online. For example, suppose R/3 incremented the page number each time you pressed the page down key. If the user generates a report, scrolls to page 3, and then resizes the window, will he still be on page 3? Obviously, the ability to resize the window makes it difficult to make rules about page numbers online. You could try making the page size equal to the window height when the report was run. But if the user resizes the window after the report has been generated, the page breaks will no longer match the window height. The user will see gaps in the output and the beginning of pages in the middle of the window. To avoid these problems in online reports, use the default value for line-count.
2006 Jun 21 5:15 AM
Hi,
Use this
REPORT <reportname> LINE-COUNT 25(5).
This means that the page would conain 25 lines and 5 lines are reserved for the footer.
Thanks,
Sujana
2006 Jun 21 5:24 AM
Hi Srinivas,
Please go thorugh this link. This is very useful.
http://cma.zdnet.com/book/abap/ch15/ch15.htm
<a href="http://cma.zdnet.com/book/abap/ch15/ch15.htm">Page Format</a>
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |