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: 

PO Problem

Former Member
0 Kudos

I have to some changes in PO. There are some problems in it, please help me:--

****************************************************************************************************

1... I want a text on the bottom of the first page - Please read terms and conditions on reverse page.

Problem is that i put a condition for it, but it is showing on the last page not on first page bottom.

My Code is:

IF &NEXTPAGE& = 0.

....................................

ENDIF.

This will write the text on the last page...not on first page....i think NEXTPAGE is wrong, must be come other thing. Please tell me....

****************************************************************************************************

2.. Second one is that, on the TOP of PO, there is showing the Current page number as Page 1, Page 2 etc... I want that as Page 1 of 3, Page 2 of 3 etc.

****************************************************************************************************

Please tell me...

Thanks...

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

1. For the current page

IF &PAGE& = 1.

....................................

ENDIF.

2. For Pages n of m :

&PAGE& of &SAPSCRIPT-FORMPAGES&

Regards,

Raju.

8 REPLIES 8

Former Member
0 Kudos

For the current page use SFSY-PAGE of

and total pages SFSY-FORMPAGES

Former Member
0 Kudos

Hi,

1. For the current page

IF &PAGE& = 1.

....................................

ENDIF.

2. For Pages n of m :

&PAGE& of &SAPSCRIPT-FORMPAGES&

Regards,

Raju.

0 Kudos

Thanks for reply...

When i m using &PAGE& / &SAPSCRICT-FORMPAGES&, it is displaying like it:-

Page

2 /

please look that total number of pages not showing in it.. it is showing 2 / .... it must be show 2 / 6.

Please suggest....

0 Kudos

Use this.

&PAGE&/&SAPSCRIPT-FORMPAGES(C)&

Jay71
Participant
0 Kudos

Hi,

IF ur using smartforms..in the design of the text frame u have condition tab..there check display on first page only option. this should solve ur problem

and for page numbers as suggested use the system fields...it will give the page number automatically.

hope ur using smartforms for PO

Jayaram

Edited by: JAYARAM MAGANTI on Jun 4, 2009 8:30 AM

kesavadas_thekkillath
Active Contributor
0 Kudos

post in form printing section ...

Former Member
0 Kudos

HI,

If you are using Smartform:

1. For the first query, Please create a window only in the first page and Place a text element

and provide the text you want. And activate the condition in the text element for first page alone.

2. Use this code "Page: &SFSY-PAGE& of &SFSY-FORMPAGES&"

Thanks,

Mohanraj.N

Former Member
0 Kudos

hi,

please try this _PAGETOTAL for displaying total number of pages.

Regards,

subhashini