Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

reg: SAP Script

Former Member
0 Likes
662

Hi friends, this is very urgent,, plz help me.

I am checking the condition IF &NEXT-PAGE& = 0 in the MAIN window. but if there is no NEXT PAGE also its showing the next page as 2. the Value of the &NEXT-PAGE& is only changing in the footer Window. But I need to check it in the Main window as well. could anybody suggest me.

Regards,

Rajesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
643

Hi Rajesh,

Check once by providing BOTTOM...ENDBOTTOM control command in the MAIN WINDOW.

/: BOTTOM

: &NEXT-PAGE&

/: ENDBOTTOM

Thanks,

Vinay

4 REPLIES 4
Read only

Former Member
0 Likes
644

Hi Rajesh,

Check once by providing BOTTOM...ENDBOTTOM control command in the MAIN WINDOW.

/: BOTTOM

: &NEXT-PAGE&

/: ENDBOTTOM

Thanks,

Vinay

Read only

0 Likes
643

Hi Vinay, Thanks for your reply,

I checked with bottom and endbottom. But its not working.

could you give me anyother solution.

Regards,

Rajesh

Read only

0 Likes
643

Hi Rajesh,

&NEXTPAGE& 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.

Thanks,

Vinay

Read only

JozsefSzikszai
Active Contributor
0 Likes
643

hi Rajesh,

what is your exact requirement? Probably there is other way than &NEXTPAGE&

ec