on 07-09-2008 10:25 AM
hi,
In the Excise Invoice printing (SAP Script), when the user (@ production) trying to print more than 2 Excise Invoices(Continous Printing) , at that time 1st excise invoice getting printed correctly...but in 2nd Invoice, everything getting printed 5mm upward 4m the desired place and 3rd excise invoice 10 mm upward and so on.....
what may b the causes???
(note: the FORM design contain only 1 page... i.e. everything is getting printed in one page)
if i change the window height in FORM then this also affects the 1st Invoice...but 1st Invoice is getting printed correctly..
whether FORM needs any modification or it is printer problem??
Hi,
In yur Driver Program.....
Call function 'OPEN_FORM'.
Loop at itab. "
CALL FUNCTION 'START_FORM'
EXPORTING
language = sy-langu
startpage = 'PAGE1'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'MAIN'
function = 'SET'
window = 'INVOICE'
EXCEPTIONS
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
bad_pageformat_for_print = 7
spool_error = 8
OTHERS = 9.
IF sy-subrc 0.
ENDIF.
CALL FUNCTION 'END_FORM'.
Endloop.
CALL FUNCTION 'CLOSE_FORM'.
U do like that.... Ur probelm will solve.....
Reward if useful.......
Thanks,
Durai.V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.