cancel
Showing results for 
Search instead for 
Did you mean: 

Page Number based on Page Break

former_member197475
Active Contributor
0 Kudos

Dear Experts,

Am using Page Break condition in my adobe form and it's working well. But got struck with other design with Page Number.

My page number is taking the counts of all the page and displaying as Page# of ##.

I need to display the number in such a way that, the page number should get refreshed whenever page break happens.

Eg: When my VBELN of header and item is different, am using page break condition in 'Pagination'.

If suppose first page contains one page, page number should display as Page 1 of 1.

If second page contains two pages, it should display the 1st pafe as Page 1 of 2 and the next page as Page 2 of 2.

If third page contains one page, number should be displayed as Page 1 of 1.

I have followed so my adobe forms and SCN forms, but couldn't able to meet my requirement. Please share your valuable ideas.

BR,

RAM.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member531036
Participant
0 Kudos

Hi Ram,

This is how we handle page numbers:

  • On the master page the scripting for the page number is:

         

  • On the master page the scripting for the total number of pages is:

         

Hope this helps.

Julie

former_member197475
Active Contributor
0 Kudos

HI Julie,

Thanks for your reply.

Both of the above scripts will give the current page number and Total Page count respectively. But in my case, am looking to get a new page number based on Page break.

BR,

RAM.