cancel
Showing results for 
Search instead for 
Did you mean: 

Second Page not getting printed

Former Member
0 Kudos

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,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

YES, it works, thanks.

Answers (0)