cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset pages.

Bharathi_j
Explorer
0 Kudos

Hi All,

I have a req say the form is printing different notifications and each notification comprises of multiple pages.So in this case i want to reset the page number for each notification.If antone has face similar problem,plz help me out to solve this issue.

Eg,A form has got 10 pages now it is printing page 1 of 10,2 of 10 etc...

suppose the first notifiaction has got 6 pages then it should print page 1 of 6, 2 of 6 etc till 6 of 6, and tehn when it start for next notifiaction it should start printing with page 1 of 4 ,2 of 4 etc...

Thanks in Advance,

Bharathi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Bharathi,

Check this syntax for your requirement.

&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)

Hope this resolves your query. Revert back if any help needed.

<b>Reward all the helpful answers.</b>

Regards

Former Member
0 Kudos

Hi,

If the notifications are different from each other and you are calling them same in program..

you can use formpages

SAPSCRIPT-FORMPAGES

SAPSCRIPT-JOBPAGES

santhosh

Bharathi_j
Explorer
0 Kudos

HI Santhosh,

I am using SAPSCRIPT-FORMPAGES/SAPSCRIPT-JOBPAGES but this is not satisfying the req.i will be opening the form only once for printing all the three notifications.so i need to reset the formpage / jobpage for each n every notifivcation.

Is that possible?

Former Member
0 Kudos

Why dont you use

&PAGE&/SAPSCRIPT-FORMPAGES

what does this give??

can you chek plz

I have cheked doesnt work...

hmm

santhosh

Message was edited by:

Kaluvala Santhosh