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 Total in Smart form

Former Member
0 Kudos
98

How can I achieve page total in a smart form table footer for the items in main area of that table? I want the total for each page. Kindly help me.

7 REPLIES 7

I355602
Product and Topic Expert
Product and Topic Expert
0 Kudos
80

Hi,

Use:-

&SFSY-PAGE& for page number

and &SFSY-FORMPAGES(3ZC)& for total pages.

So take Page: &SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&

Hope this helps you.

Thanks & Regards,

Tarun

Former Member
0 Kudos
80

HI,

&SFSY-PAGE& of &SFSY-FORMPAGES&

Former Member
0 Kudos
80

Hello

Please check the link u will get the solution ...

Thank u,

santhosh

Former Member
0 Kudos
80

Hi Venu

check this sap help you will find solution.

http://help.sap.com/saphelp_nw70/helpdata/en/55/610e2ab57911d4b62c006094192fe3/content.htm

Thanks,

Syf

Edited by: syfulla shaik on Feb 27, 2009 3:40 PM

Former Member
0 Kudos
80

Hi,

Don't go with complicated things. Go with simple. create a global data variable called pag_total.

-


if currentpage <> sfsy-page.

pag_total = 0.

pag_total = pag_total + column value(which values u want to add).

else.

pag_total = pag_total + column value(which values u want to add).

endif.

currentpage = sfsy-page

-


Write this single line in main area row of that particular column cell and store the SFSY-page value also in a global variable.

Then write the pag_total variable in the footer.

Thanks,

Venkat

former_member342013
Contributor
0 Kudos
80

Hi

If u have created Text for Footer Then in that Text

just give as

Page: &SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&

it wil give u the total num of pages

Former Member
0 Kudos
80

Hi,

Vanu Gobal,

you select the keys (CtrlShiftF4 ) Field List and goto System Fields, you take the "FORMPAGES" &SFSY-FORMPAGES& for tatol pages.

hope this help you.

Regards,

Ansari.