cancel
Showing results for 
Search instead for 
Did you mean: 

last page

Former Member
0 Kudos

Hi,

i have a window in sapscript. it should be display in the last page of the form.

how can i do this.

please help.

thanks.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Akira,

Use a condition &NEXT-PAGE&.

IF &NEXT-PAGE& EQ 0.

<STATEMENTS>

ENDIF.

What this command does is... It will check whether this particular page is the last page. i.e whether any content is there to write after this. If nothing is to be written then it will place the window in that position.

Regards,

Swapna.

Former Member
0 Kudos

Hi,

Write the foollowing Condition in your script window.

If Nextpage eq '0'.

endif.

or

if &PAGE& EQ &SAPSCRIPT-FORMPAGES&.

ENDIF.

Regards.

Eshwar.

Former Member
0 Kudos

if &PAGE& = &SAPSCRIPT-FORMPAGES&

then show window..

or as above &NEXTPAGE& = 0.....

former_member673464
Active Contributor
0 Kudos

hi,

You can write a condition for the text to be in printed in the last page as follows.

/: if &NEXTPAGE& eq 0.

....

......

/: endif

Regards,

Veeresh