cancel
Showing results for 
Search instead for 
Did you mean: 

Page number generation is not proper

UmaArjunan
Active Participant
0 Kudos

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&

Could you put your valuable suggestions to solve this. ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi!

You might check out &sfsy-formpages& also, maybe it will work better.

Regards

Tamá

UmaArjunan
Active Participant
0 Kudos

Hi,

I changed &sysy-formpages& but, still it is same as decribed before

Former Member
0 Kudos

You might try out to make a fix output length for this field, maybe it cause the progblem. &sysy-formpages(3)&

Or you might try out some of the other formatting options also.

http://help.sap.com/saphelp_47x200/helpdata/en/d1/803411454211d189710000e8322d00/content.htm

UmaArjunan
Active Participant
0 Kudos

I changed my window type to final window as the suggestion given by sdn'er and the problem is solved. Thankyou for you help and i rewarded points

Answers (0)