cancel
Showing results for 
Search instead for 
Did you mean: 

Print Sap script Page number of total page count.

TSG
Participant
0 Kudos

I want print page number of Total jobpages.

its mean, assume that my report have 10 Job pages ( this is not Form pages)

i want print in footer window like this.

1 of 10

2 of 10

3 of 10

4 of 10

5 of 10 .....

I try this Sap script  &PAGE& OF &SAPSCRIPT-JOBPAGES&  but its give me following out put.

1 of 10

2 of 10

1 of 10

2 of 10

3 of 10 .....

I think it's always count page number of form-pages total count.

But I need page number of Job-pages total count.

give me the helpful answer

thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member230486
Contributor
0 Kudos

Hi,

If all forms created using the OPEN_FORM, START_FORM.. ENDFORM, START_FORM.. END_FORM,..., CLOSE_FORM function modules then you can print jobpages.

Former Member
0 Kudos

Hi,

Try this,

PAGE &PAGE& OF &SAPSCRIPT-FORMPAGES(Z)&

Hope this will help.

Thanks,

Vijay.