Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8735

Question about SAP script (always attaching the contract message in the last page)

$
0
0


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


Viewing all articles
Browse latest Browse all 8735

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>