How to print grandtotal in table footer only in the last page in SMARTFORMS
Hello Experts,
How do I print the GRANDTOTAL in the table footer only on the LAST PAGE in SMARTFORMS.
What I have done is in the text element of CELL1 of the table footer i wrote the folowing logic but not working.
/: IF &SFSY-PAGE& EQ &SFSY-FORMPAGES&.
* V_SUM.
/: ENDIF.
I even tried this.
/: IF &NEXT-PAGE& EQ 0.
* V_SUM.
/: ENDIF.
but still it displays the grand total on all pages at table footer.
How do i go for this experts.
Regards,
Ranjith N
HI Nambiar,
To print the grand total only on the last page then create the secondary window --> create the text node for the grand total -->In the condition tab check only after the end of the main window.
This grand total will be displayed after all the items and end of the main window.
Footer in the table displays as the subtotals i.e on every page total is displayed..
Regards,
Sravanthi
Similar Messages
-
Printing Footer Only on the last page of adobe Form
Hi Experts ,
I have a requirement of printing text only on the last page of the adoe Forms.
I know how to do this in Smart Forms , but being a novice in adobe forms i am unable to get the exact place to puth these conditions.
Please reply ASAP.
ThanksThanks .
Problem Solved.
Here is the Code snippet in Formcalc language that i used in the intialize event
var curpage = $layout.page ( ref ( $ ) )
var totpages = $layout.pageCount()
if ( curpage ne totpages ) then
$.presence = "hidden"
endif -
How to make the footer text to come only on the last page
Hi,
Iam just making an print forms using adobe forms,Iam havinga text and some variable in the end of the page.these things need to be printed only on the last page.
if my output of the main window comes for 2 pages then it should print only in the second page not in the first page.
if the data of my main item data comes to one page then this should be printed on the first page itself.
how to put a condition on this type of footer windows.
Thanks in advance.
regards,
Sasidhartry with the following formcalc Scripting on the subform which contains the footer text...
var curpage = $layout.page ( ref ( $ ) )
var totpages = $layout.pageCount()
if ( curpage ne totpages ) then
$.presence = "hidden"
endif -
How to print a field on the last page of Smartform with more of 2 pages?
HI FRIENDS,
I NEED TO PRINT ONLY ONE FIELD IN LAST PAGE OF FORM SMARTFORM
HOW DO I CHECK last page. I tried WITH THE FIELDS OF TABLE
SFSY BUT NOT worked.
The form has more of 2 pages.
Thank you.
ROGERIO VAZHi ,
You dont have to hard code anything to achieve this functionality,
just create a window and in that window define a text element to print
that variable.In the conditions tab of that window check the check box
"only after end of main window".i think you might have used a main window,
so irrespective of the no of pages the smartform prints,it always displays that
field in the last page of the smartform.
regards,
srikanth. -
I need to print a text but only for the last page in the main window.
I have tried with IF.
IF &PAGE& = &SAPSCRIPT-FORMPAGES&
BOTTOM
....TEXT
ENDBOTTOM
ENDIF
But it prints in all pages in every main window.
Can someone point me what I am doing wrong or how can I do this?
Regards,
CarlosHello Carlos,
the problem with this condition is the following.
The Sapscript composer cannot know during the processing of e.g. the first page,
how many pages will follow. So &SAPSCRIPT-FORMPAGES& still contains the same
value like& PAGE& and is filled with the correct values only at the very end of the processing.
(when the total number of pages is known).
So I suggest you to use the BOTTOM command in the print program,
when the processing of all item of the MAIN window is ended.
There is an other variable &NEXTPAGE&. &NEXTPAGE& will always be 0
when it reaches to last page to print. The problem with this variable that
it can not be used in a condition in MAIN window too, only in a separate page window.
Regards,
Hedvig -
How do i make a frame a enclosing a repeating frame appear only on the last page of a report?
I have a frame that encloses a repeating frame. How so i make them print only on the last page?
Assuming you have other content, you could:
set the Print Object On property to be last page.
anchor it to the main content that repeats on every page, so this frame only prints after the other one is done
Assign a format trigger where you make it display only if current page is equal to total number of pages
create a trailer and move the frame there -
How to display grand total only on the last page of my report
Hello
I need to display the grand total amount of the invoice only on the last page of every report. If the report has 1 page then the grand total will be displayed on the 1st page. If the report has 2 pages then a subtotal will be displayed on the 1st page adding up all the amounts on page 1 only, and the grand total will be displayed on the 2nd page, adding up all the amounts of page 1 and 2. If the report has 3 pages then the a subtotal will be displayed on page 1 adding up all the amounts of page 1, and another subtotal on page 2 adding up all the amounts of page 2, and the grand total are displayed on page 3 adding up the amounts of every page.
supplier amount
xx 100
yy 100
subtotal 200
page 1 of 2 --here i need to display only the total amounts of page 1
supplier amount
subtotal brought forward 200 --then i need to bring total of page 1 over to page 2
qq 300
zz 300
total 800 --here i have reached the end of the report and
need to display the grand total
page 2 of 2
--Currently i am displaying this on my report
supplier amount
xx 100
yy 100
total 800 --this one gives the problem cause it displays the grand total
---------- on page 1 of 2 even before you can see the amounts on the
next pages
page 1 of 2
supplier amount
qq 300
zz 300
total 800put the grand total in a frame and set it to print on the last page of the enclosing object.
-
How to display a field only in the last page
hi all
i am using reports 6i
i ve created summary column and i need to get it displayed only on the last page of the report
is it possible
kindly guide
thanking in advanceDear Friend,
where you created the summary coloumn? If your summary column in at top level you can do this just placing summary field bottom all repeating frame (all frames).
Regards
Ahamed Rafeeque Cherkala -
How to decide the last page in smartforms
Hi experts,
I want to display a signature block only in the last page, can anybody tells me the perfect way to decide when it's the last page?
Now I'm using a window with the check EVENT "Only Before End of Main Window", a flag is set in this window, and then use another window for signature block with the condition of flag is on.
This method is not working perfectly, sometimes it works fine, sometimes not.
Please let me know how will you do this, thank you
Best Regards
RaymondHi Raymond,
Try this logic!!!!
I hope you have used table in main window to display items. Just after the table in your main window, create a program line and set a variable(let say "x').
Cretae a separate window to display the signature. In the signature window use a text element to display the required value. Go to conditions tab of text element and set the condition (i.e. check your variable value which you have assignes before) and accordingly your text will get printed.
Hope this will help you to resolve the issue & close the thread.
Do appreciate if found useful.
BR,
Vinit -
I want to display the Terms of my Order Purchase only at the last page
I 'm new in xml publisher and i'm doing a template (order purchase). I want to print a terms only in the last page, in the end of each order number.
I have this example:
group G_CABECALHO by NRO_OC
NR_OR: NRO_OC PAGE: <?fo:page-number?> / <?fo:page-number-citation:xdofo:lastpage-joinseq?>
ITEM DESCRIPTION UNIT PRICE QUANT
F NRO_LINHA_OC ....TAXABLE_FLAG E
section break
<?start@last-page-first:body?>
TERMS AND CONDITIONS
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<?end body?>
page break end G_CABECALHO by NRO_OCHi. The layout is not correct, i generate another order purchase with a lot of lines. The first order the layout is ok, but the second you will see the TERMS in the same page. What i need is to have the TERMS in every end of the orders and to have a fix line border of the layout.
LAYOUT PAGE 1
| ORDER 1 |
| ITEM |
| 1 |
| 2 |
LAYOUT PAGE 2
| TERMS |
| XXXXXXXXXXXXXXXXXXXXXX |
| XXXXXXXXXXXXXXXXXXXXXX |
|XXXXXXXXXXXXXXXXXXXXXX |
LAYOUT PAGE 3
| ORDER 2 |
| ITEM |
| 1 |
| 2 |
LAYOUT PAGE 4
| TERMS |
| XXXXXXXXXXXXXXXXXXXXXX |
| XXXXXXXXXXXXXXXXXXXXXX |
|XXXXXXXXXXXXXXXXXXXXXX |
tks,
Elene -
Items must appear only on the last page of a report region
Hello everybody,
I have a report region1, the report can contain many records thus I will have to paginate it....
In the same page, I must have another region2 with some fields on it, but theses fields must appear only on the last page of my report,
I don't succed to find a condition to apply to region2 in order to make it appear only on the last page of the report region1.
Any help on this ???Assuming you have other content, you could:
set the Print Object On property to be last page.
anchor it to the main content that repeats on every page, so this frame only prints after the other one is done
Assign a format trigger where you make it display only if current page is equal to total number of pages
create a trailer and move the frame there -
Fields only on the last page of a report
Hello everybody,
I have a report region1, the report can contain many records thus I will have to paginate it....
In the same page, I must have another region2 with some fields on it, but theses fields must appear only on the last page of my report,
I don't succed to find a condition to apply to region2 in order to make it appear only on the last page of the report region1.
Any help on this ???place those fields outside the repeating frame.
Draw another frame . Place repeating frame inside it. place those fieds in the outside frame at the end and runthe report -
How to print a field on the last page of Smartform?
HI FRIENDS,
I NEED TO PRINT ONLY ONE FIELD IN LAST PAGE OF FORM SMARTFORM
HOW DO I CHECK last page. I tried WITH THE FIELDS OF TABLE
SYSF BUT NOT worked.
Thank you.
ROGERIO VAZHi,
Goto the conditions tab of that window and enable the check box for Only after the end of main window.
This will surely print your field in the last page.
try this and get back to me if any issues.
Regards,
Anand. -
How to Print T&C on backside of the last page in smartform.
Hi All,
I have requirement from one of the my client to print the terms & condition page on the back side of last page in invoice form.
I have created three pages as below.
First page: To Print header data,Print mode:blank,Next page : NEXT.
Second page : Contains the continuation of the data,if there are enough lines,Print Mode: D,Next page : NEXT.
Last page:To Print T&C,Print mode : blank,Next page :blank.
This is working properly when form has 2 pages.Here my question is,
How to print the T&C on backside of first page,if form has only one page.
Thanks in Advance.Hi Vineesh,
I have 3 pages in my form.
First page: To Print header data, Print mode:blank, Next page : NEXT.
First page has the comment node, go to next page as Third page.
Second page : Contains the continuation of the data, if there are enough lines, Print Mode: D,
Next page : NEXT.
Third Page: T&C page, Print mode : blank,Next page :blank
The 3rd page should print back side of the page.
If form has only one page,then first page should be in D mode.Hence the T&C page will print back side of first page.
If form has multiple pages. then the last page ( where the main window gets end ) should be D.Hence
the T&C page will print back side of last page.
How to achieve this both the scenarios?
Thanks & Regards,
Priya Chandran -
Restrict window only on the first page of smartform
Hi guys
Please tell me how to restrict the window so that it doesn't appear on the second page. it should appear only on first page.
I have check the additional events of the window. Even after that its appearing on second page .. how to restrictHi,
You can do the following thing to restrict the window in the next page.
1. Copy the first page with all the windows to PAGE2.
2. Delete the window whihc u don't require in the 2nd or any next page (PAGE2).
3. Assign 'Next Page' field value as % PAGE2 for PAGE1 & PAGE2 under the General attributes Tab.
These steps will help you retain a window only for the First page.
Asha
Maybe you are looking for
-
Yesterday I tried to begin a capture of material for a new project. After repeated attempts to reboot, examined all connections, I decided the RS-232 cable must have gone bad. Drove 140 RT to replace it. This morning I did and found no difference. My
-
Macbook Pro Browser Audio over Thunderbolt
I have a 15" 2011 MacBook Pro, and sometimes like to hook it up to my HDTV with my Thunderbolt to HDMI adapter. I can get the audio from iTunes to work absolutely beautifully, but can't get browser audio to work! This means no YouTube or Grooveshark.
-
How to link a exe file in labview
hlo I am using labview 7, is it possible to link a .exe file to labview, i am using a stepper motor controller i have their software to control & set & change settings etc.. & that is a exe file which is a dos based programme, is it possible to link
-
ATL, UDT and Visual Basic
Hi, This isn't a measurement studio question but.... I'm writing an ATL COM object that contains some UDTs that are used in some of the methods Ex: typedef [public, v1_enum]enum GateModeVal{ ContinousGating = 0, GateOnce = 1 }GateModeVal; typedef [pu
-
I've heard it's possible to change my current device for credits in buying my next device
Is that right? Has anyone here done this before?