on 02-29-2008 3:48 PM
I would like to print every page only 10lines with main window. so that I am using below statement. but its not working. can any1 correct my code pls.?
DATA: COUNT(5) TYPE C VALUE 0
IF &SAPSCRIPT-COUNTER_COUNT(+)& EQ 10
NEW-PAGE
ENDIF
CLEAR COUNT
Tell me the actual requirement I will tell you the trick.
Regards,
Nageswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagesh,
Actualy my requirement is , I have 2 main window in First page itself. First Main window has line item, 2nd main window(using NEW WINDOW)using for some other purpose. while printing, when 1st mainwindow full,its started to print 2nd main window in first page itself.It has to print in 2nd page Main window.In script we can set only one main window, system printing logically correct,but I need to print when first main window full,it has to print in 2nd page.please guide me.
try this:
DATA: COUNT(5) TYPE C VALUE 0
IF &SAPSCRIPT-COUNTER_COUNT0(+1)& EQ 10
NEW-PAGE
ENDIF
CLEAR COUNT
if helpful,,plz reward points.
regards,
siddhartha prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just do settings like this to modify your main window and try,
In the SAP Script, Goto -> Header -> Basic Settings
Here you could configure the page settings and their orientation.
seshu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.