cancel
Showing results for 
Search instead for 
Did you mean: 

&SAPSCRIPT-JOBPAGES& and &SAPSCRIPT-FORMPAGES& are not showing right values

Former Member
0 Kudos

Hello

Can you please tell how to display some text in the footer in the penultimate page and some text in footer in the last page?

&nextpage& value is coming wrong also. Why the &sapscript-jobpages& value is not coming correctly?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

Answer for the question why &sfsy-jobpages& is not coming correctly.

First in order to display the page number correctly .

You need to place the page window as last window.

2) In order to display footer information in last window .

you can control through flow logic or condition by checking whether &SFSY-FORMPAGES& EQ &SFSY-PAGE&

print the footer information in last window.

3) In order to display footer information in before last window .

you can control through flow logic or condition by checking whether &SFSY-FORMPAGES& -1 EQ &SFSY-PAGE&

print the footer information in before last window.

try this please.

Thanks

Hariharan

Former Member
0 Kudos

from what you described, noone can derive anything, be more precize. Host an example. tell us what you did and what you had expected.

most probably tho you just used layout options like &NEXTPAGE(CZ)& which are known to bug with page variables.

Former Member
0 Kudos

In the form , for example there are 6 pages , and I need to print the footer text in 5th page and last page only. (NOT in all the pages). How can I print that?

Please find a solution for that.