cancel
Showing results for 
Search instead for 
Did you mean: 

Page Numbering in SAP Script

Former Member
0 Kudos

Dear all,

i have a situation where in i need to page numbers like 1,2,3 etc . I used &page& but the problem is when i try to print 3 copies it starts from 1. It is not in Main Window , i need this as a separate window on TOP .

Can any pl help me on this issue.

with

rgds

Ranjith Singh

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

I tried the options given by you. but the result is same. I am not getting the page numbers contious.

please help

Former Member
0 Kudos

Hi Fawaz,

I have 2 pages . First page is set to Next page and next to first page. This is in Duplex Mode. In the first page the Print Mode is set to "D".

When i try to print 3 pages each page is printing as 1,1,1 instead of 1,2,3 etc.

I want this page nos to printed only in the fist page.

With this code &PAGE(C2)& of &SAPSCRIPT-FORMPAGES(C2)& i get the o/p as 1 of 2 ,and in the new the page it prints 1 of 2

Please help.

with rgds

Ranjith Singh

Former Member
0 Kudos

Hi,

Actually if you have 'First' Page and 'Next' Page then

for 'Next' Page, next page should be 'set as Next' page.

I think this should solve your problem Inshallah.

Go to 'Pages' in your SAP Script . You will see First page and Next Page.

Select First Page. Check the 'Page Counter' (see at bottom of screen) and set Mode to 'INC'.

Now if you use &PAGE&, it will increase the page counter and

hopefully u will get pg. nos as 1,2,3....

Reward Points if helpful...

Regards,

Fawaz

Edited by: Fawaz Sheikh on Jul 16, 2008 11:09 AM

Former Member
0 Kudos

hi,

Thanx for the reply . but when i used that "&SYST-PAGNO" it is showing me "0" .

Former Member
0 Kudos

Hi,

Your Q is not clear.

You want Pg nos as 1,2,3 and you are getting 1,1,1

or what....

Use this in some header window:

Page No: &PAGE(C2)& of &SAPSCRIPT-FORMPAGES(C2)&

Also do you have a 'Next' Page or you have set your 'First' Page as next Page. Try setting 'Next' Page...

Pls further clarifu your Question.....

Regards,

Fawaz

Former Member
0 Kudos

hi,

create one window with name page no where ever you want.

and go to text element open the text editor.

goto menu insert->symbols->system symbols->syst->here you get PAGNO double click on it you get the system field in the editor.

when you activate and run you get the page no in the output

hope this might help you,

reward points if useful,

siri