on 07-14-2007 8:19 AM
Hello,
I have to print certain sentence only in the last page,
i tryied by using
/: if &PAGE& EQ &SAPSCRIPT-FORMPAGES&
p1 hello
/:endif.
its not coming since &SAPSCRIPT-FORMPAGES& value is determined only at end .
Can any one help me out to print the text only in the last page without changing the print prog.since we are using standard print program.
Regards,
Poornima.
Hi
You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
From SAP Help:
This symbol 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.
/: IF &NEXTPAGE& = '0'
Last page
/: ENDIF
<b>Reward points</b>
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Create a Footer window and in that window you write these lines
/: if &PAGE& EQ &SAPSCRIPT-FORMPAGES&
p1 hello
/:endif.
it should work.
<b>Reward points for useful Answers</b>
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.