on 02-13-2007 8:11 PM
Hello,
I have written a SAP script. It has two pages
FIRST and NEXT, I have made sure that the next page for the FIRST PAGE is defined as NEXT, but when i do a print test, the NEXT page is not getting printed.
Any pointers to taht , what could be the possible problem
Thanks,
Hi,
During test print, you cannot see the second page.
The second page will be visible only when there is data flow from page 1 to page 2.
Execute with actual data and check if it flows through to page 2.
Regards
Subramanian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Subramanian,
even in actual printing the second page is not getin printed.
though there is not data overflow from page one to second, but still second page has to be printed
assume it like some "disclaimer" is writeen in the second page which is irresepetive of the amount of data in frist page.
\do you see forsee any problem with the way, it is being handled.
thanks.
Hi,
After your first page, include this:
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command = 'NEW-PAGE'.
and then call the the write form with text element in second page,
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'PG2'
window = 'INV'
EXCEPTIONS
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
bad_pageformat_for_print = 7
OTHERS = 8.
Regards
Subramanian
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.