Skip to Content
0
Former Member
Aug 12, 2008 at 11:49 PM

Print Terms & Conditions in the Back page in Sapscript

169 Views

Hello Experts,

I need your help.

I have one sapscript. I want print Terms&Conditions in the back page.

My Sapscript is a copy of MEDRUCK.

I want: When NACHA = 1 --> Print Terms&Conditions on the reverse side of each page.

When NACHA = 5 --> Print Terms & Conditions in the last page (Not in the back).

I did one example of sapscript with only one page First. I created a second page Back.

The first point at Back and has the print mode 'D'.

The Back point at First and doesn't has any print mode.

My problem is:

1- Always, i have the last page without Back page. Always i have an odd number of pages. Normally i must have a peer number. Each page has the back page. But, is not the result.

I tried to call NEW-PAGE BACK at the end of the last page First like that:

If &NEXTPAGE = 0&

NEW-PAGE BACK

Endif.

But doesn't work. NEW-PAGE works only in the Window Main and &NEXTPAGE& = 0 works only in a window not main. So, i can't use them at the same time, in the same window.

Can any one help me please? I'm blocked and i can't resolve the problem?

And what i must do for NACHA = 5?

Thank you.

<MOVED BY MODERATOR TO THE CORRECT FORUM>

Edited by: Alvaro Tejada Galindo on Aug 15, 2008 4:59 PM