cancel
Showing results for 
Search instead for 
Did you mean: 

Page number issue in script

Former Member
0 Kudos

Hi all,

I sm using page number in secondary window.

I have given as page = &page& but its showing only page number1 .when i debug its also showing the page 1.Please help me what could be the problem.

Regards

Lalit

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks Aditya it solved the problem

Former Member
0 Kudos

But i want it at the top of the page.I have alraedy set the attributes to increment mode.

Former Member
0 Kudos

Then use /:TOP and /:ENDTOP commands.

If you are using a secondary window because you need to show some data only e.g. on first page, then you encapsulate that code under the command

/: IF &PAGE& EQ 1

/:ENDIF

Former Member
0 Kudos

Dear Aditya

i also face the same problem with sap script page number and i using separate window for that

so friend page is came as 1

please guide me how to encapsulate the code as you shown

Thanks in Advance

Former Member
0 Kudos

Put it in MAIN window

Reward if useful

Former Member
0 Kudos

Hi Lalit,

I think you must put the page number in the main window.

In a window, you have the setting for page increment in attributes, please check that.

Put it in the Main window at /:BOTTOM and /:ENDBOTTOM

Cheers,

Aditya