on 04-24-2006 12:33 PM
Hi All,
I am printing a classical report. Usually we set the
Page width statically ie by using Line-Size.
But I need a way to change this value at runtime.
Is there a way out to this problem?
Thanks & Regards,
Abhijeet.
Hi Abhijeet,
You cannot change the width of individual pages within a list level. You can only change the width of all pages of a new list level. To do so, use the NEW-PAGE statement:
Syntax
NEW-PAGE LINE-SIZE <width>.
All list levels starting from the new page have a width of <width> instead of the one specified in the REPORT statement. If you set <width> to 0, the system uses the width of the standard list .
If you set <width> to SY-SCOLS, you can adapt the width of the new list level to the window width, even if the window is smaller than the standard window. The SY-SCOLS system field contains the number of characters of a line of the current window.
Within a list level, that is, if the next page is not the beginning of a new list level, the system ignores the LINE-SIZE option.
Regards,
vidya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the command,
new-page line size <line size>.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi abhizeet ,
can you describe your scenario ?
Regards,
Kunal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.