on 11-22-2007 6:13 PM
hi,
i created a mail merge program in sapscript.my problem is after the last record one more page displays with blank main window with header and footer.plz correct me.
code :
😕 dear &itab-ename&
😕 your sal is &itab-sal&
:/new-page
Hi Manikandan,
Reduce the height of main window in the first page and try.
Regards,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manikanda,
<b>&NEXTPAGE& </b>is used to print the number of the following page. The output format is the same as with &PAGE& .
Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
So, have your code as below:
😕 dear &itab-ename&
😕 your sal is &itab-sal&
<b>/: IF &NEXTPAGE& IS NOT INITIAL</b>
:/new-page
<b>/: ENDIF</b>
Thanks,
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.