Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Urgent: Cheque Printing.

Former Member
0 Likes
485

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.

3 REPLIES 3
Read only

Former Member
0 Likes
460

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,

Read only

0 Likes
460

Thank for your reply, but i would like to have the last page stopped which prints the actual cheque again.

regards,

Devanathan.

Read only

Former Member
0 Likes
460

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 !