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: 

Page of Page in SMARTFORMS(Document wise)

Former Member
0 Kudos

Dear all,

I want to display Page of Page in SMARTFORMS on each document.

Example: If i am having 8 no of Purchase order(of total number of Pages 24) and each Purchase order contain different no of pages.What i want if suppose first Purchase Order contains 5 Pages then it should display 1 of 5 PAGES on first PO if second PO contains 3 pages then it should display 1 of 3, 2 of 3, 3 of 3 PAGES on second PO likewise.

I am giving range of PO in select-options.

Please suggest me the way or any Functional Module for this.

Thanks,

RP

2 REPLIES 2

Former Member
0 Kudos

Hi R P,

The solution is simple the code is given below.

This should solve your query for sure.

<b>In Smart Forms you can use this code.

Page &SFSY-PAGE& of &SFSY-FORMPAGES&</b>

In scripts you can use this code.

PAGE &PAGE& OF &SAPSCRIPT-FORMPAGES&

Hope this solves your query.

Reward Points.

Thanks,

Tej..

Message was edited by:

Shree Tejus

Former Member
0 Kudos

Hi again R P,

Please note the change made.

Reward Points,

Thanks,

Tej..