Dear everyone
I've been working on a SAPscript for printing out purchase orders, and I'm having trouble with it...
We decided to print out some contract messages in the last page of all of our purchase orders.
So I created a new page called "LAST".
Within the existing pages (FIRST, NEXT), there is a window called "TITLE".
Since this appears to be the last window to be called in those pages, I included the following code in "TITLE" window to jump to the last page.
/: IF &NEXTPAGE& = 0
/: NEW-PAGE LAST
/: ENDIF
But the SAPscript doesn't jump to the "LAST" page...
Would you tell me how I can implement our requirements?
I also tried the following code, but it does not work either...
/: IF &NEXTPAGE& = 0
/: &NEXTPAGE& = LAST
/: ENDIF
Thank you very much in advance!
Takashi