05-15-2006 6:52 PM
My custom form ZWASCHEIN has just one page FIRST. the nextpage is set as FIRST itself. I am using the standard print program SAPM07DR-> routine FORM 'entry_wa03'. the original form is WASCHEIN.
<u>The form is getting printed for N+1 times (N being the number of items in the GI).</u>
Would appreciate help at the earliest to control this!
-Ram.
<i>PS:
I dont think its a config issue, as there is no print control set for o/p type WA03 in VV12 transaction.</i>
05-16-2006 8:16 AM
Hi Ram,
the original WASCHEIN has two pages: first and next. Did you try to copy your first-page to one named 'next' and set this next-page as follow-up of first (just as standard SAP)?
Cheers,
Stefan.
05-16-2006 8:17 AM
Hii
In the SAP Script use
IF &NEXTPAGE& = 0
Measn it is last page
&SAPSCRIPT-FORMPAGES(2)& will print the total number of pages
&PAGE& will giv eyou the current Page
like if &PAGE& < 2 means you are on first page
in the next page fill the column as first
Regards
Naresh