2009 Feb 27 9:54 AM
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.
2009 Feb 27 9:55 AM
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
2009 Feb 27 9:57 AM
2009 Feb 27 9:58 AM
2009 Feb 27 10:00 AM
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
2009 Feb 27 10:39 AM
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
2009 Feb 27 10:50 AM
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
2009 Feb 27 10:53 AM
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.