on 05-19-2010 7:27 AM
hi all,
I have to print records in the smartform.i need to print the grand total only on the last page footer(ex: if there are 4 pages).In the previous pages (first 3 pages footer) i need to print a message 'continue' in footer.and total amount on the 4th pages footer.
i tried using sfsy-formpages & jobpages to know the total pages but this logic is not working.
can any one let me know how to print the total on the last page .
thanks
anusha
HI,
Pls go through the below link
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/subtotalINSAP+SMARTFORMS]
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
http://www.sap-img.com/smartforms/smart-001.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sap-img.com/smartforms/smart-002.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
Regards,
Vijaya Lakshmi.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anusha,
Your Requirement: Print Total only on last page Footer.
Solution: In "Conditions" tab of the text/Footer, tick below option:
"Only After End of Main Window"
Regards,
Amee Tewar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anusha,
Use Template or text in main window right after table line
table line:
header
main area
footer
text
and for grand total
in conditions tab under additional events check on 'Only Before end of main window' Footer Section of table line.
Cheers,
Dep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI..
Try this,
Make your Total Window's Window Type as Final Window in General Attribute tab.
In Conditions tab put SFSY-PAGE = SFSY-FORMPAGES. Your problem will get solved.
Regards,
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
u can use &SFSY-JOBPAGES& for total number of pages and check your pages general attributes, whether the increase counter mode is selected or not.
Thanks
Arul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Follow the steps......
1. Under Footer window create a program line and set a flag say FLAG as 'X' in it. Also, declare the flag in global attributes.
In the program line select 'Only after end of main window' in conditions tab.
2. Create an Alternative in same window with condition FLAG EQ 'X'. Create two text elements with text 'CONTINUE' under node false and the other for sum under node true.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.