Printing Grand Totals in Footer along with page total
Hi
I have a report which prints PO Header and PO Lines. For each page while iterating thru PO Lines I print page total in the footer.
Once all PO Lines are printed with page totals in the footer of each page, I want to print Grand total in the last page in the footer along with last page total. Currently my XML data has pre-computed grand total in the PO Header block.
The problem
I have wrapped header and lines inside <?start:body?> and <?end:body?> which allows me to print page totals outside the <?end:body?> tag.
I print page totals and "Continue" next to it in the footer. But
Finally when grand total comes into picture in the outer loop I want to replace "Continue" text with grand total value in the last page and print it as footer.
I tried to use xdoxlt:set_variable() function to flag a variable value to 1 when iteration happens in HEADER block and set it to 2 in inner loop of lines block. But the scope of the variable is confined between <?start:body?> and < ?end:body? and is not visible outside the <?end:body?> tag.
The logic I want to accomplish is
if var = 1 then
print page total and "Continue"
elsif var = 2 then
print page total and Grand Total.
end if
This logic doest work as the value of var is not visible outside the body tag.
I want to use this variable value to print footer which lies outside <?end:body?> tag with grand totalor page total
Please suggest if there is any other way I can accomplish this functionality. Can we use parameter and update it. Syntax for update parameter value is not clear in user guide.
Any help would be appreciated.
thanks
sukarna
thanks for the info, i was trying to avoid this but had already reached the same conclusion.
everything else seems to be very time consuming and may not work correctly in the end.
we're on Oracle Applications : 11.5.10.2 which has just been converted to utf-8 and is an Oracle On-Demand installation.
do you know if 5.6.3 of the publisher is supported and any ideas on how difficult it is to get it installed?
cheers
ellen
Similar Messages
-
In Acrobat pro 9, I can't find staple and fold options for booklets and no matter what options I choose in the print dialogue my booklet ends up with pages upside down and out of order? I am working on a Macbook pro running OS X 10.9.4. Our printers are fully capable for booklets with staples and folds. Would love some help. Thank you!
To: ~graffiti
(This email is not intended to go on public forum -- but I wanted to respond
to you)
Thanks for your reply....FYI...I was trying to download from www.adobe.com on
the specific page that has downloads of your products. As far as the
alternate source is concerned I am not totally sure what the capabilities it has as
I am recovering from a hospital stay and had to send my wife to retailer to
pick this up because I am accessing email from home until I return to work and
need something to work now. I don't yet have the SW. (I would have had her
buy the actual Adobe Pro 9.0 -- but it is a wapping $499 and change).
Regards,
Staurt Rednor ("Stu") - [email protected]
===========================================================
Subj: New message: "No matter what I try can't download
Adobe Pro 9.0 or free Adobe Reader"
Date: 4/5/2009 7:38:17 PM Eastern Daylight Time
From: [email protected]
Reply-to: [email protected]
To: [email protected]
Sent from the Internet (Details)
SGuitar43,
A new message was posted in the thread "No matter what I try can't download
Adobe Pro 9.0 or free Adobe Reader":
http://forums.adobe.com/message/1867664#1867664
Author : ~graffiti
Profile : http://forums.adobe.com/people/~graffiti
Message: -
Hi,
I have a problem while displaying page totals using <?show-page-total:dt?>. It doesnot display any values. The requirement is to display the page total before a page break and a page can have a max of 20 lines. So, after 20 lines, there should be a total of the numerical value and there should be a page break.
I have restricted the number of lines per page using the <?if:position() mod 20 =0?> <xsl:attribute name="break-before">page</xsl:attribute> <?end if?> in a form field called FIXED_LINES before the end of the group as follows:
Contact : C1 ----- group by contract
Order Amount
For-each Order1 1000 FIXED_LINES End-for
Sum:1000
The sum has to be displayed beneath the table. To achieve this, i used the <?add-page-total:mt;'Amount'?> in the Amount field and <?show-page-total:mt?> in the place where sum has to be displayed beneath the table. This does not work. The <?add-page-total:mt;'Amount'?> seems to work but only <?show-page-total:mt?> does not work. I verified this by inserting the <?show-page-total:mt?> within the table before the (End for each) and it seems to work.
What am i missing here. How can i get rid of this issue. Kindly help.
Thanks,
VidhyaSunil,
Going to assume you are using a Table Node. Try using inserting a Program Lines Node into your Table Node. Within this Program Lines Node, accumulate a running total into a Global Variable. Display this Global Variable via a Text Node in the Table FOOTER event.
Hope this helps.
Cheers,
Pat. -
Not able to print to custom 4x6 paper size with Pages 5
I'm having a lot of trouble printing to a custom 4" x 6" paper size with pages 5. I create my custom size, switch the page setup to use that size in landscape orientation, and everything looks fine. Then when I go to print the document the destination paper size is set to "Suggested Paper: US Letter" instead of "Custom" as it used to be. If I do print on US Letter paper then its properly lined up at the top left corner, but if I print on 4x6 it is all cut off. I've tried scaling it to fit on my 4x6 size in the destination paper size menu, but that just shrinks the whole thing to fit in the center of the 4x6 in portrait orientation.
I am able to do this fine in pages '09, however I've already converted over 40 recipe cards to work with pages 5 and they don't export back to pages '09 properly.
If anyone has any suggestions on how to get this to work I would really appreciate them!Hi,
here a short extract like i do it:
CLASS LCL_EVENT_HANDLER DEFINITION .
PUBLIC SECTION .
METHODS:
HANDLE_PRINT_TOP_OF_PAGE
FOR EVENT PRINT_TOP_OF_PAGE OF CL_GUI_ALV_GRID,
ENDCLASS. "LCL_EVENT_HANDLER DEFINITION
* Event-Händer Implementierung
CLASS LCL_EVENT_HANDLER IMPLEMENTATION .
METHOD HANDLE_PRINT_TOP_OF_PAGE.
PERFORM PRINT_TOP_OF_PAGE.
ENDMETHOD.
ENDCLASS.
CREATE OBJECT GR_EVENT_HANDLER.
SET HANDLER
GR_EVENT_HANDLER->HANDLE_PRINT_TOP_OF_PAGE FOR GR_ALVGRID_LEFT.
CALL METHOD GR_ALVGRID_LEFT->SET_TABLE_FOR_FIRST_DISPLAY
FORM PRINT_TOP_OF_PAGE.
LINSZ = SY-LINSZ - 16.
WRITE: / 'Report: ', SY-REPID,
AT LINSZ 'Datum:', SY-DATUM.
WRITE: / 'Benutzer: ', SY-UNAME,
AT LINSZ 'Zeit: ', SY-UZEIT.
ENDFORM.
hope it helps.
Regards, Dieter -
Issue in treeview control along with page viewer web part showing the sub sites from MMS
hi,
Am having a treeview control populates with values from MMS - Managed Metadata Service.
[ Products ]
----->ms office
----->word
----->excel
---->powerpoint
-------->Collaboration
----> sharepoint 2003
----> moss 2007
----> sp 2010
-----> lync
all these values excel, word, powerpoint are sub sites created under ms-office site collection.
and sharepoint 2003, mos 2007, sp 2010, sp 2013 are sub sites created under collaboration.
now, on the page load, end user clicks on word and he should navigate to the sub site "wordsite" and it should show the home page of word sub site.
we have created a page viewer web part and assigned the url property of the page viewer to the sub site url.
but the issue is, when end user clicked on the child node "powerpoint", the page did a Post Back and treeview control immediately collpased and it shows the Products [top level - parent node] only.
Am unable to set the current selected value- ie here its excel and show the excel node in the trewview.
how can i get this child tree node as the selected node.
help is highly appreciated!Check if below can help
http://thechriskent.com/2012/05/09/changing-the-default-expansion-of-metadata-navigation-on-initial-page-load/ -
Print Dialog box has changed along with printing function
I installed the latest update and now when I print there is a new dialog box. The problem is on a multi page job it only pulls a few pages from the paper tray and then makes me use the manual feeder for the remaing pages, All paper sizes of the print job are the same and I only have one tray. I am printing on a Brother MFC 4860N. Any solutions? Thanks
Carolyn -
Thank you for your respose of 5/1/09 -- sorry for the delay in getting back to you.
1.) I tried your suggestion, but the problem is that Apple and HP have worked to include all/most of the HP software into OS X v. 10.4.11 and beyond. I did not find in my user/.../Library/Preferences .plist files directly referencing my HP 990 Cse printer, which was the only printer not displaying the Printer Dialogue Box.
Open your User/..../Library/Preferences to see the list of .plist files for HP and other manufacturers.
The open the [top level] your-hard-drive/library/Printers/HP to see the [root=basic] files which, I believe, are the actual OS X system files which are on the original System CD or are downloaded for the updates.
2.) I finally got the Printer Dialogue Box for the HP 990 Cse to work --
a.) I ran the OS X Printer Setup Utility app.
b.) I then dragged the icon for the HP 990 Cse printer to the trash; and emptied the trasn.
c.) Restarted the OS X.
d.) Ran the OS X Printer Setup Utillity app again
e.) When the HP 990 Cse did not appear in the list of printers I clicked the "Add" icon.
f.) I selected to add the HP 990 to the Printer List
g.) Nothing happened when I tried to access the HP 990 Printer Dialogue Box.
h.) I did a restart.
i.) I then did a print job using the HP 990.
j.) When the HP 990 icon appeared at the right end of the dock, next to the trash, I grabbed it and dragged it to the place in the dock where I wanted it to reside.
IT WORKS JUST GREAT NOW !!!!
Thanks for your help, as you helped me consider the problem at a deeper level.
Samuel -
The BW Total Stock Not Matching with ECC5 Total stock as on 31-08-2007
Hello Masters and learned Gurus,
As per the Analysis, I could find that in ECC5 the Stock as on 31.08.2007 is showing 13 for the Material 16901 where the Issues Total is added to the Stock on 31.08.2007 and finally it is showing the result as on 31.08.2007 19 in BW.
So, In BW these values are not reflecting as the values available in ECC5.
And also i found that the data to the cube is populating from Transactional ODS through APD ( Analysis Process Designer ).
Please help me in this regards.Hello Masters and learned Gurus,
As per the Analysis, I could find that in ECC5 the Stock as on 31.08.2007 is showing 13 for the Material 16901 where the Issues Total is added to the Stock on 31.08.2007 and finally it is showing the result as on 31.08.2007 19 in BW.
So, In BW these values are not reflecting as the values available in ECC5.
And also i found that the data to the cube is populating from Transactional ODS through APD ( Analysis Process Designer ).
Please help me in this regards. -
Problem in printing page totals in c/f and broughtforward manner
please can any body help me in print report in such a way that page totals in each and everypage and total of first page must me carrieforwarded and shoule be printed on as b/f in second page and second page total must be cumulative of amount carrieforwarded from first page and second page records.
that is in brought forwarfaded and carriefarwarded manner.
please suggest me any p&l sql code which help in this regard or oracle reports 6i feature.
thanks in advance
prasanth a.s.Create a parameter say P1 with initial value 0
Create a Summary column CS1 at report level for the column EXPENDITURE, reset at PAGE
Create a Formula Column CF1, put the code
:P1 := :P1 + :CS1;
Return :P1;
Use the formula column CF1 to print Running Total and CS1 for page total.
Create another formula column say CF2 and put the code Return :CF1 in it. Use this column if you want to print the Carry Forward Total in every page. -
Displaying page total on a page with fixed number of lines
Hi ,
My requirement is to have a fixed number of rows per page (say 20) and to have a page total beneath the table containing the data.I am using a RTF template.The columns in the table are
Order
Amount
Page Total : 3000
For including a page-break after 20 lines, i have added the following code.
For - each ______________
<?if:position() mod 20 =0?> <xsl:attribute name="break-before">page</xsl:attribute> <?end if?>
end - for_______________
This limits the no of rows per page to 20.
I have tried 2 ways to display the page total but both don't seem to work Can someone please point what i am missing here?
1) Using add and show-page-total
I added the code (<?add-page-total:at;'Amount'?> to the Amount data column in the template and then used the <?show-page-total:at?> in the page total data column to display the total. But this doesnt work.It doesnt display any value.
2) Using Variables:
I declared a variable (<?xdoxslt:set_variable($_XDOCTX, 'RTotalVar', 0)?>) before the table. Then, i used the (<?xdoxslt:set_variable($_XDOCTX, 'RTotalVar', xdoxslt:get_variable($_XDOCTX,'RTotalVar') +Amount)?>) in the Amount data column to calculate the sum. I then used <?if:position() mod 20 =0?> <?xdoxslt:get_variable($_XDOCTX, 'RTotalVar')?><?end if?> in the data column of the page total. But this doesnt work. The variable loses its value when it is displayed outside the table. Why is it so? How can i declare a global variable? I am not sure why the variable loses it value when taken out of the table. I would want it hold the value through out the document. Is my understanding correct?
Kindly help me with this issue.
Thanks,
VidhyaHi
I have the same issue. could anyone provide the link or template. I searched in the forums but couldnt find related to this post.
please help
Thanks -
How to show a Page Total in a Main Report that is calculated in a SubReport
Hi,
I have a Main Report and a SubReport with the detail.
The Report has several pages. I want to show a Page Total in each Page, retrieving data that is in the subreport (Detail).
I tried to use a shared variable, but the problem is that the formula fields are assigned at the end of the subreport, so I can't pass the value back (to the main report) until the last record of the subreport is printed.
I also can't show the Page Total at the subreport, because I have a particular format that I need to respect and only can be printed from the Main Report.
Is any way to do this ? At this moment, with the shared variables I'm getting 0 until the last record is printed.
Also, I can calculate the Page Total from outside Crystal Reports, do to there some fields that can grow, so I can't figure out how many record are going to be printed.
Thanks in advance!
Arielhello, this may depend on how the main report was actually paging...
1) do you have one group per page for example?
2) is the sub on a group footer level?
3) does the subreport use a different data set than the main report?
some suggested workarounds would be to
a) use a report header cross-tab (identical to the existing crosstab) that creates an array of values that you can access anywhere on the main report
b) place an identical cross-tab above the existing one, and suppress all of the subreport sections (not the section where the subreport sits) and then bring the value back to the main report
cheers,
jamie -
Brought forward shown, even after end-page-total
Hello,
I am using carry-forward and brought-forward as suggested in the user guide.
Tag 1:
<xdofo:inline-total display-condition="exceptfirst" name="InvAmt">brought forward:</xdofo:inline-total>
Tag 2:
<xdofo:inline-total display-condition="exceptfirst" name="InvAmt">
<xdofo:show-brought-forward name="InvAmt" format="99G999G990D00"/>
</xdofo:inline-total>
Tag 3:
<?end-page-total:InvAmt?>
after end-page-total, I have about 3 pages with additional text. while carry-forward is shown correctly only on the nessasary pages, the brought-forward is finaly shown on all text pages behind the end-page-total.
is this a bug, or what is my mistake?Hi Tim,
yes, the brought-forward is shown on every page, except the first
but no, this is not correct!
I have the following layout for my invoice:
Page 1) cover letter and start of the invoice-article-list
Page 2 - X) if needed, repeating invoice-article-list
Page X + 1) additinal information, payment terms, shipping conditions, attached text, sometimes general conditions, may be more than one page
at the end of the invoice-article-list, i have the "end-page-total" tag.
beginning from the page containing this tag (Page X), the carry forward (at the bottom of the page) is not printed any more ("except last") even it is not the last page in total. -> behavoir is correct.
But the brought-forward with "except first" is shown on all additional pages after X. But the article list is finished, no brought forward needed any longer. -> behavoir not wanted
is that understandable or should I send you an email with my layout and an example xml?
best regards
Alexander -
Officejetpro K5400dn prints garbled lines about every 1/4 page. Help
I have an Officejet Pro K5400dn printer purchased in October 2009. I had a problem immediately with the printer and HP replaced the item immediately. For the past two months it has suddenly started printing constantly about one print line every 1/3 of the page totally garbled. I have uninstalled and reinstalled drivers with no effect. I have run Win XP Pro SP3 since I purchased the printer. The print diagnostic application detects no defects. I met a HP field representative about a week ago and he tried to tell me how contact HP for help but what I remember to do does not work. I cannot contact anyone to help unless I want to pay for support. Does this action ring a bell with anyone?? It has been a super workhorse and quality machine since I began using it.
Crazy text is no good. Try the steps outlined in the article below and let us know if it helps.
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01954177&cc=us&dlc=en&lc=en
Best of Luck!
You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too. -
How to get page totals at the end of the report in BI Publisher
I am using BI Publisher 10.3 and using Ms-Word template builder to design the report
and I want to implement totals for some columns (like page totals) ... can anyone let me know how to go about this
ThanksTake a look this blog: http://blogs.oracle.com/xmlpublisher/entry/anatomy_of_a_template_iii_page
You can download the template for that page.
Also take a look at the Samples folder within your BI publisher desktop folder and you can find a folder "Page Total" that has the RTF template, xml and output..
Assign points if helpful.
Thanks,
Bipuser
Edited by: BIPuser on Aug 18, 2011 8:24 AM -
How To use the page total value for conditional formatting
Hi
I am very new to xml publisher report.. I have calculated the report total like this--
<?add-page-total:pt;'ENT_AMT'?> now i display it in a table colomn by using the syntax
<?show-page-total:pt;'#,##0.00'?>
Now what i want to do is if the value of the page total is greater than 1000 the color of that coloumn in the table will change. But by any means i cannot access the value and do the condition checking..
Plz help..
Thanks and Regards
Joydeep MitraHi Mitra,
You can use this if you want to change the color of a cell:
<?if:total>1000?><xsl:attribute xdofo:ctx="block" name="background-color">red
</xsl:attribute><?end if?>
Regards,
Marius -
How to print the top of page part along with the ALV list and generate PDF
HI all,
I have created one ALV by using oops concept .
and also am able to get the top of page where I have One standard logo on the right hand side
and some details on the left side .
Now my requirement is to while printing the list the logo and other top of page details should appear
In the PDF output but currently while am pressing the print preview button only the alv data is coming
am already using the method
handle_top_of_page
FOR EVENT print_top_of_page
OF cl_gui_alv_grid,
may be am missing something ... How to get the top of page along with the logo printed ?Hi Surya,
After generating the grid display click on print button,
a spool number is generated. capture the spool number and convert it to pdf using the fm:
CONVERT_ABAPSPOOLJOB_2_PDF and save the file
Hope this will solve your problem.
Regards,
R K.
Maybe you are looking for
-
Hi, I want to buy an Iphone 5s from the uk apple store online and I will be using it in Panama. I have contacted my carrier (Movistar Panama) and they have given me a list of the Iphone 5s models that will work with their network: Model A1533 (GSM)*:
-
ME21N:Enhancement of Purchase Order
Hi everyone, I want to update item of Purchase order without method 'process_item' in ME_PROCESS_PO_CUST. (I knew how to upate item of PO using process_item) But, for example, If I used MM06E005, I updated customer data only. I can't update item of P
-
After installed February 2015 CU for SharePoint 2013 appear error when click on 'Shared With' in list item. The screenshots see here: 1 and 2 Is this a bug?
-
Oracle 9i R2 or Fedora Core 2 can't start in gear
$ SQLPLUS /NOLOG SQL> CONNECT SYS/PASSWORD AS SYSDBA SQL> STARTUP ORA-09925: Unable to create audit trail file Linux Error: 2: No such file or directory Additional information: 9925 ls $ORACLE_HOME/rdbms/ -l 16 drwxr-xr-x 2 oracle dba 16384 Mar 29 10
-
JDBC-- PI7.0-- SAPBI with Proxy
Hi Experts, I have a requirement like this : JDBC(Sql Server)>PI7.0>SAPBI. I need a suggestions from the above requirement. For this requirement I am planning to use sender as a JDBC Adapter and Reciver as Proxy. I have some questions on this requir