Application Development 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: 

reg: SAP Script

Former Member
0 Kudos
86

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

Former Member
0 Kudos
67

Hi Rajesh,

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

/: BOTTOM

: &NEXT-PAGE&

/: ENDBOTTOM

Thanks,

Vinay

4 REPLIES 4

Former Member
0 Kudos
68

Hi Rajesh,

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

/: BOTTOM

: &NEXT-PAGE&

/: ENDBOTTOM

Thanks,

Vinay

0 Kudos
67

Hi Vinay, Thanks for your reply,

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

could you give me anyother solution.

Regards,

Rajesh

0 Kudos
67

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

JozsefSzikszai
Active Contributor
0 Kudos
67

hi Rajesh,

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

ec