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

Page number problem in smartforms

UmaArjunan
Active Participant
0 Likes
767

Internal table data is passed to the smartform and it is converted into pdf file and further the file is downloaded in the File server. this is the functionality.

But there is a strange thing.

One page is generated per Purchase order details.

When i try to download data contains two pages, the output is

1/1 and 2/2 .

But for for more thatn 40 pages,

the output is 1/,2/,3/,4/......9/*, and then

it displays correctly like 10/40, 11/40,......40/40.

I dont know why the first nine pages , page number displays like this.

I create a window, in that text box, i used the following code to get the pagenumbers for the page

Page No: &SFSY-PAGE& / &sfsy-jobpages&

I tried giving &SFSY-FORMPATES& , But still it is not working

Could you put your valuable suggestions to solve this. ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
725

Hi,

Use the window type as FINAL WINDOW, then your problem will be solved.

Double click on the window and change the window type to FINAL.

Reward if it is helpful.

Hi,

Use the window type as FINAL WINDOW, then your problem will be solved.

Double click on the window and change the window type to FINAL.

Reward if it is helpful.

3 REPLIES 3
Read only

Former Member
0 Likes
725

Hi,

Put the variable window for page number and try it.

Read only

0 Likes
725

Could you please tell me how to proceed with the solution given ?

Read only

Former Member
0 Likes
726

Hi,

Use the window type as FINAL WINDOW, then your problem will be solved.

Double click on the window and change the window type to FINAL.

Reward if it is helpful.