2006 Sep 18 11:58 AM
Hi,
I am priting a cheque for a customer who wants the actual cheque to be printed on the first page and void cheque on the rest of the pages with line items.
i have done that by using if condition (if &pageno& eq '1') within the element so actual cheque prints on the first page and the void cheque prints on the rest.
But there is a additional page printing with the actual cheque after all the pages have completed with page 1 of 1. I would like to know how to remove that duplicate cheque part.
regards,
Girish.
Hi,
I am priting a cheque for a customer who wants the actual cheque to be printed on the first page and void cheque on the rest of the pages with line items.
i have done that by using if condition (if &pageno& eq '1') within the element so actual cheque prints on the first page and the void cheque prints on the rest.
But there is a additional page printing with the actual cheque after all the pages have completed with page 1 of 1. I would like to know how to remove that duplicate cheque part.
regards,
Girish.
2006 Sep 18 12:33 PM
No need to say (if &pageno& eq '1').
Once u finish prinitng the actual cheque,trigger control form with new-page and start printing the void cheque.
Syntax for control_form:
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command = 'NEW-PAGE'
EXCEPTIONS
unopened = 1
unstarted = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Let me know if u still face any problem.
Regards,
2006 Sep 18 4:11 PM
Thank for your reply, but i would like to have the last page stopped which prints the actual cheque again.
regards,
Devanathan.
2006 Oct 07 1:00 AM
This is regarding Check printing.Right Now my cheque is placed on the top of the page I want to place the cheque on the bottom of the page.
Can u let me know how to proceed with the same.
Thanks in Advance !