Empty pages being generated when report spans multiple pages
hi folks
I have a problem when generating my pdf form that I hope you can shed some light on.
Firstly, I have a table within a table.
Eg. For each line of Table_1, a new page must be displayed.
Then for Table_2 a list of employees with the matching criteria in line_1 of Table_1 are displayed on page 1. For the next line of Table_1, the same, and so on.
My problem comes in when there are too many employees in Table_2 to fit on a single page, they span onto the next page (as they should), but the pdf form also now displays blank pages at random.
Something like this:
Page 1
--empty
Page 2
-Table_1-Line_1
-Table_2 (lines 1 - 30 of 35)
Page 3
-Table_1-Line_1
-Table_2 (lines 31-35 of 35)
Page 4
-Table_1-line_2
-Table_2 (lines 1 - 10 of 10)
Page 5
--empty
Why the empty pages? Any help will be much appreciated.
thanks.
Also worth noting. If Table_2 doesn't span multiple pages, then I don't get the empty pages.
thanks in advance
Anton Kruse
Hello,
it is clear why your first page is blank. That is because you set "top of next page" (tab binding) for every line of the outer table so every "section" starts on the new page. That is why even the first page starts on the second page (top of NEXT page for the first line is SECOND page).
About the last page... I have experienced problems when I used margins - when your page content is long, but not that long to break the page and you use a margin so the last row + margin should break the page, the last row is left on the last-1 page and the margin "appears" on the last page.
Hope this helps a bit, Otto
Similar Messages
-
How to generate one report in multiple formats with FOP or BIP?
Hi all,
Is it possible to generate multiple formats of one report in a single "call" using Apache FOP or BI Publisher? (something similar to reports bursting).
Right now I can only select one format at a time.
Thank you,
Ana-MariaHi Ana-Maria,
When you enable printing on a report region or add a button to download a report query to your application, then you get a single document download. How would you see this working with "multiple formats"? Given that APEX is a development environment, you can pretty much implement anything you like. The built-in printing capabilities in APEX come with an API that allow for customization of the default functionality, e.g. you can use apex_util.download_print_document to dynamically assign report layouts at rumtime or to use you own XML data sources or XSL-FO style sheets. More relevant to you question though, there's also apex_util.get_print_document. What that allows you to do is to generate report documents inside the database and e.g. store them in database tables or email them out to a list of recipients. You can call this API as often as you like to, requesting any combination of available report formats.
The API function is documented here:
http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_util.htm#CHDDECIA
Regards,
Marc -
Empty row being created when pop-up opens
Hi,
I have one jspx page. In that page has one check box and button, save button. Whenever user click on checkbox, need to enable button. And click of that button, one pop-up will open and that pop-up contains bounded taskflow. In the pop-up, user can select CollegeName from the combo box. and can add multiple Departments in the editable table. After added some rows(say 2 rows), close the pop up and click on Save button will commit the transaction. This is working perfectly.
But user when added some rows in the table and close the pop-up. After that if user uncheck the checkbox, the data from the cache should be cleared and there should not be any data. We cleared cache. But when user again check the checkbox and open pop-up, one blank row is coming. This is the issue. Please help to resolve this issue.
On click on button, we invoking a taskflow, in that method-call is executed first. Below is the code of method-call.
public String fetchMethod(Long collegeId) {
ViewObjectImpl CollegeVO = getCollege();
ViewObjectImpl CollegeVORow = getCollege ();
ViewObjectImpl DepartmentVORow = getDepartment();
ViewCriteria vc =
CollegeVO.getViewCriteria("ByDepDetails");
CollegeVO.setNamedWhereClauseParam("pCollegeId", collegeId);
CollegeVO.applyViewCriteria(vc);
CollegeVO.executeQuery();
if (RowCountHelper.containsAtLeastOneRow(CollegeVO)) {
//recExists=true;
return "true";
} else {
//recExists=false;
Row rowCollege = CollegeVORow.createRow();
rowCollege.setAttribute("CollegeId ", collegeId);
CollegeVORow.insertRow(rowCollege);
Row rowDepartment;
rowDepartment = DepartmentVORow.createRow();
rowDepartment.setAttribute("CollegeId ", collegeId);
DepartmentVORow.insertRow(rowDepartment);
rowCollege.setNewRowState(rowCollege.STATUS_NEW);
//rowCollege.setNewRowState(rowCollege.STATUS_INITIALIZED);
rowDepartment.setNewRowState(rowDepartment.STATUS_INITIALIZED);
return "false";
When uncheck the checkbox, calling the below method (clearLCMData) to clear cache.
public void clearData(Long collegeId) {
ViewObjectImpl CollegeVO = getCollege ();
ViewObjectImpl DepartmentVO = getDepartment();
if (DepartmentVO.first() != null) {
DepartmentVO.first();
do {
DepartmentVO.setNamedWhereClauseParam("pCollegeId ",
collegeId);
ViewCriteria vc1 =
DepartmentVO.getViewCriteria("ByDepDetails");
DepartmentVO.applyViewCriteria(vc1);
DepartmentVO.executeQuery();
if (DepartmentVO.first() != null) {
DepartmentVO.first();
do {
DepartmentVO.removeCurrentRow();
} while (RowCountHelper.containsAtLeastOneRow(DepartmentVO));
DepartmentVO.clearCache();
} while (RowCountHelper.containsAtLeastOneRow(DepartmentVO));
if (CollegeVO.first() != null) {
CollegeVO.first();
do {
CollegeVO.setNamedWhereClauseParam("pCollegeId ",
collegeId);
ViewCriteria vc =
CollegeVO.getViewCriteria("ByDepDetails");
CollegeVO.applyViewCriteria(vc);
CollegeVO.executeQuery();
if (CollegeVO.first() != null) {
CollegeVO.first();
do {
CollegeVO.removeCurrentRow();
} while (RowCountHelper.containsAtLeastOneRow(CollegeVO));
CollegeVO.clearCache();
} while (RowCountHelper.containsAtLeastOneRow(CollegeVO));
}Change contentDelivery* of the popup to lazyUncached*. Default is lazy .Refer
http://docs.oracle.com/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_popup.html
Also in addition , you might need to refresh the region (try the above standalone 1st) when you invoke the popup. Use refresh="ifNeeded" in the taskFlowBinding alongwith change of some input param . See why and more here
http://www.adftips.com/2010/11/adf-ui-region-interaction-interaction.html
Example simialr to your usecase here -
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/53-taskflow-in-popup-169196.pdf
Edited by: Sudipto Desmukh on May 9, 2012 5:20 PM -
Zeros being generated when trying to type
When trying to type in a search window , my computer starts automatically typing zeros .
Also the scroll bar wont stay down , it jumps back to the top .
I posted this question awhile ago and the '' Solution '' that worked at the time was to use ' Safe Boot '
which did correct it . However it's happening again . Tried "Safe Boot ' a few times with no success.
Tried Disk Utility.. and it just repaired library/colour which is what it did when i've tried it before
Have let it rest a couple of days.. and then found i could Select things but as soon as i typed in the Finder search window .... the zeros start typing and now cant Select coz the scroll bar jumps up
[Also i tried downloading an updated version of Firefox and it wouldnt open . Same thing happened when trying to download another software demo ,,,,,it couldnt be installed ]
Any help much appreciated !Will see if i can borrow another keyboard and mouse. [ am using laptop to post this ]
Tried using my graphics tablet instead of mouse when unable to scroll and select anything but tablet wouldnt work till i Restarted computer and then tablet worked . This is a really erratic problem. -
When I run multiple Microsoft powerpoint files at a time on my MacBook Air, it simply gets hotter and generates little noise (most probably fan noise). Will this make any effect on life span of MBAir??
Theoretically, yes.
Heat, and heat cycling certainly do take a toll on even solid state components. I have several "very old" Macintosh computers, and the logic boards exhibit the effects.
The fan too, running at higher speeds, does eventually cause wear. More than anything, the higher airflow leads to a higher propensity for dust accumulation on the fan, and the heat exchangers.
In practical terms though, maybe not so much. If you plan on having your computer exhibit a reasonable useful life before you retire it or upgrade, you may never experience any of the detrimental effects. I rarely use a computer longer than 3 years, before I sell, give it away, or just stop using it.
Personally, I wouldn't worry about it. Your computer is well designed to give you a long life, even in the manner in which you describe. Take care of it, but use it for what you bought it for. Nothing you mention is in any way, abuse. -
Oracle reports and multiple pages
I am new the Oracle Reports and I am trying to generate a report that can continue to the another page. For instance, if my list of items exceeds the first page of the report, the remaining items will be printed on the next page. We can get it to continue to the next page, but the formatting of the following pages after the first page needs to be different. Currently, it is placing the remaining items in the same position as the first page. The remaining items should be further up the page.
In short, how do I generate 1 report with 2 different formats. All pages beside the 1st page will be the same.
Any guidance is appreciated.Please post the details of the application release, database version and OS.
I would like to ask for your help regarding printing from concurrent requests.
I am currently having an issue with printing multiple pages from Oracle reports, both in text format and RTF/PDF formats.
When I generate a multiple page report and print it directly from a concurrent request, print outs generate extra space after each page even though page size is indicated in the reports (all of them are in letter size).What if you print the output file from the OS, can you reproduce the issue then?
Troubleshooting (Printing) [ID 104528.1]
An Extra Empty Page Is Printed at the End of Requests Output [ID 1011499.7]
I have already tried editing the printer drivers both the actual driver config file and through the application but the results are still the same.Can you reproduce the issue with other printers?
This is very important since printing is done on continuous paper and continuous pre-printed forms
Any ideas would be greatly appreciated.If the issue is urgent, please log a SR.
Thanks,
Hussein -
Crystal generates empty pages for a datasource with a lot of data
Hi, I hope someone have some hints to solve my problem with generating large reports.
I have SAP Crystal Reports runtime engine for .NET Framework 4 32-bit installed on my Microsoft Windows 2008 R2 Enterprise Server.
Since I update Crystal Reports to 13.0.2.469 large Reports have only empty pages. If I print those Reports the data are visible, the report is displayed correct.
I solved the problem temporarily by setting SeparatePages to true for the CrystalReportViewer Control, but for the future I need the complete report displayed at once.
I would be very pleased about your help / hints.
Regards, SabineThank you for your answer.
My report has only one cross table in it. I can generate it for a dataset with 26 rows. If there are 27 rows the report is empty.
If I use a diffrent report without a crosstab only with repeatable sections and less data, I can make a select for 150 rows. That shows me 5 - 7 pages.
It also makes a difference how the page settings are. If I configurate a smaller border for the top and bottom border I need to change my select to select less record rows and if I configurate a greater border there can be more record rows.
Here an example how I can reproduce my problem:
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CrystalDecisions.CrystalReports.Engine;
using System.Data;
using System.Net;
namespace EASWebOffice.Pages
public partial class ReportTest : System.Web.UI.Page
private HttpWebRequest request;
protected void Page_Load(object sender, EventArgs e)
if (!Page.IsPostBack)
request = (HttpWebRequest)WebRequest.Create(@"http://localhost:54332/Pages/ReportTest.aspx");
AddOnPreRenderCompleteAsync((BeginEventHandler)BeginAsyncOperation, (EndEventHandler)EndAsyncOperation);
if (Session["Report"] != null)
this.CrystalReportViewer1.ReportSource = Session["Report"];
IAsyncResult BeginAsyncOperation(object sender, EventArgs e, AsyncCallback cb, object state)
if (Session["InitialiseReport"] == null)
ProcessingReportData();
return request.BeginGetResponse(cb, state);
void EndAsyncOperation(IAsyncResult ar)
if (Session["InitialiseReport"] == null)
Response.AddHeader("Refresh", "1");
Session["InitialiseReport"] = "performed";
private void ProcessingReportData()
CrystalReport2 report = new CrystalReport2();
// 26 rows works, 27 shows an empty report
string sql = "select top 26 Auftraggeber as Customer, Kostenträgername as Project, Beschreibung as Description, Stundenanzahl as Hours, UMusername as Ressource from V_MonthEvaluation";
DataTable data = WebSQLTools.ExecuteToDataTable(sql, Global.Connection, Global.Logger, "");
DataSet dataSet = new DataSet("DataSet1");
data.TableName = "DataTable1";
dataSet.Tables.Add(data);
report.SetDataSource(dataSet);
Session["Report"] = report;
Do someone have a similar problem? Is there a solution?
Edited by: wohlsobena on Jan 16, 2012 3:34 PM -
Error in QA when trying to generate any report (including vanilla ones)
Hi,
We recently did a QA Refresh and I wanted to get BI Publisher working again in QA.
Unfortunately at the moment we get the following error. This is from the Object Manager log with logging set to 4.
==
ObjMgrLog Error 1 00000d1251f74c48:0 2013-07-30 13:56:15 (factory.cpp (447)) SBL-EAI-08027: There is no active Outbound Web Service named 'http://xmlns.oracle.com/oxp/service/v11/PublicReportService:PublicReportServiceService'.
ObjMgrBusServiceLog InvokeMethod 4 00000d1251f74c48:0 2013-07-30 13:56:15 Business Service 'PublicReportService' invoke method 'getSecurityModel' Execute Time: 0.000 seconds.
ObjMgrBusServiceLog InvokeMethod 4 00000d1251f74c48:0 2013-07-30 13:56:15 End: Business Service 'PublicReportService' invoke method: 'getSecurityModel' at 1cb5f238
ObjMgrBusServiceLog Delete 4 00000d1251f74c48:0 2013-07-30 13:56:15 Business Service 'PublicReportService' (address: '1cb5f238')was unregsitered at model '19326d68' for session ''
ObjMgrBusServiceLog Delete 4 00000d1251f74c48:0 2013-07-30 13:56:15 Business Service 'PublicReportService' was deleted at 1cb5f238
ObjMgrBusServiceLog Error 1 00000d1251f74c48:0 2013-07-30 13:56:15 (xmlpadaptersvc.cpp (1620)) SBL-EAI-08027: There is no active Outbound Web Service named '<?>'.
ObjMgrBusServiceLog InvokeMethod 4 00000d1251f74c48:0 2013-07-30 13:56:15 Business Service 'XMLP Adapter Service' invoke method 'GetBIPSecurityModel' Execute Time: 0.000 seconds.
ObjMgrBusServiceLog InvokeMethod 4 00000d1251f74c48:0 2013-07-30 13:56:15 End: Business Service 'XMLP Adapter Service' invoke method: 'GetBIPSecurityModel' at 1cb5f120
ObjMgrBusServiceLog Delete 4 00000d1251f74c48:0 2013-07-30 13:56:15 Business Service 'XMLP Adapter Service' (address: '1cb5f120')was unregsitered at model '19326d68' for session ''
ObjMgrBusServiceLog Delete 4 00000d1251f74c48:0 2013-07-30 13:56:15 Business Service 'XMLP Adapter Service' was deleted at 1cb5f120
==
I went on the Report Server whilst running a report; we are not getting that far since - when you run a report you can see it being generated on the server
I've tried checking the settings for both inbound and outbound webservices and they seem to be OK.
Tried checking the BI UserName and Password and they seem OK.
Can login to the BI Publisher console.
I have all the XMLP roles..
Interestingly if I use a Siebel 'Thick' Client then I can run the report OK.
Any ideas?Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
This problem was solved in SP1 if you are still having this problem after applying SP1, then you need to contact CSS directly for support, they will work with you to solve this problem.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Creating a dynamic table that spans multiple pages
Hi guys,
I have a script that is able to add rows to a dynamic table.
The issue I am having now is I want this dynamic table to span multiple pages.
I'm not exactly sure how to do this. It looks like to me that the table stops once it reaches the height of the text frame enclosing it.
How do you create a table / text frame that expands to it's contents and not the size of the text frame enclosing it. Ideally I want this table to span multiple pages.OK, I have 3 screenshot to see if that will help. My book is a transcription of some old county records around 1800. I have a section of my book that had a list of items in text separated by a right tab.
I highlighted that text and converted it to a table. In portrait mode I can scroll and see all the table.
When I switch to landscape mode the table is cut off and does not wrap to the next page.
The text after the table appears on the next page. The preview on the ipad is the same.
Thanks for any help on figuring this out. Also, I enjoy your podcasts.
MB -
Report on Multiple pages.
Hi to All,
I want to print a report on Multiple pages.
I want to print only one report but on different pages divided by CASE, LCO and AA.
Example: for
LCO: 2129 AA: 000759 only one record on page 1
LCO: 2129 AA: 000729 only one record on page 2
LCO: 3041 AA: 005163 page should have all 4 records displayed on one page 3
and so on...
currently I am doing this in a loop.
The report is called from a form, in the form I have created a loop and for every record it calls the report by LCO and AA. But if the CASE has 50 different LCO and AA the user cannot exit until all 50 reports are displayed.
all I want to pass is the CASE and request_type and the report then generates the details on multiple pages grouped by LCO and AA.
Thanks to all.
Habeeb
Below is the query.
Cenqr@PRD> SELECT opcode
2 , case
3 , docid
4 , lco
5 , aa
6 , book_num
7 , num_of_book
8 , census_batchid batchid
9 , SUBSTR(boxid,1,8) || ' ' || SUBSTR(boxid,9,5) BOXID
10 , request_date
11 FROM cenqr.tbl_uni_cenqr
12 WHERE case = 90002
13 AND request_type = 'AR'
14 ORDER BY boxid;
OP CASE DOCID LCO AA BOOK NUM_ BATCHID BOXID
31 90002 2129310007591301 2129 000759 01 01 321290007590101 ARMP0137 00038
31 90002 2129310007292001 2129 000729 01 01 321290007290101 ARMP0356 00011
60 90002 3041600051637201 3041 005163 01 01 630410051630101 ARMP0600 00006
60 90002 3041600051637201 3041 005163 98 98 630410051639898 ARMP0638 00020
60 90002 3041600051637201 3041 005163 97 97 630410051639797 ARMP0639 00002
60 90002 3041600051637201 3041 005163 99 99 630410051639999 ARMP0640 00029
74 90002 2718740021944801 2718 002194 01 01 427180021940101 FVAR0312 00032
57 90002 20154949186118 2441 000011 5701000020 GQER0002 00013
57 90002 20154944875146 2441 000011 5701000007 GQER0002 00013
57 90002 20154944874116 2441 000011 5701000007 GQER0002 00013
57 90002 20154944833172 2441 000011 5701000020 GQER0002 00013
35 90002 2331350027180201 2331 002718 01 01 3523310027180101 GQVA0010 00001
35 90002 2424350036429301 2424 003642 01 01 3524240036420101 GQVA0012 00005
32 90002 30163213478401 3016 001347 0001 30160013470001 NRFU0304 00024
32 90002 30163213478401 3016 001347 0002 30160013470002 NRFU0666 00015
32 90002 30163213478401 3016 001347 0003 30160013470003 NRFU0666 00025
32 90002 30163213478401 3016 001347 0004 30160013470004 NRFU0910 00008
32 90002 32273216280801 3227 001628 0004 32270016280004 NRFU1208 00019
32 90002 32273216280801 3227 001628 0002 32270016280002 NRFU1208 00019
32 90002 32273216280801 3227 001628 0003 32270016280003 NRFU1208 00019
32 90002 32273216280801 3227 001628 0001 32270016280001 NRFU1208 00019
32 90002 27123212883701 2712 001288 0001 27120012880001 NRFU2690 00012
32 90002 27123212893801 2712 001289 0001 27120012890001 NRFU2734 00004Thanks a lot,
that really helped what I wanted, the users have requested one further change (display only) if not they are happy with what they have.
example
My report displays
CASE: 00010
LCO AA CODE DOCID ETC ... ETC ....
125 001225 32 123456789 01
32 123456788 01
32 123456777 02
They want
CASE: 00010 LCO 125 AA 001225
CODE DOCID ETC ... ETC ....
32 123456789 01
32 123456788 01
32 123456777 02
OR something like this
CASE: 00010
LCO 125 AA 001225
CODE DOCID ETC ... ETC ....
32 123456789 01
32 123456788 01
32 123456777 02But case is not part of the repeating frame where as LCO and AA are, can I do this, I don't have to move LCO and AA out of the repeating frame can I do this inside the frame itself I mean arrange the LCO and AA on top and then the rest of the information.
Thanks again
Habeeb -
Empty page issue in Oracle Reports!
Hi All,
I am facing an empty page issue between header and cover trailer when Main section is empty.
In a report there are two forms Form-1 (Portrait size) , Form-2 (Landscape size)...
Based on run time parameter we optionally print form-1 , form-2 or both.
ie if run time parameter is 1 then only form 1
if it is 2 then only form - 2
if it is 3 then both
As Form-1 is portrait size and Form-2 is Landscape size,
At present in Report Layout, Form-1 is designed in Cover page Header Section
and Form-2 is designed in Main section of report.
So When the report is run with PRINT_PATTERN='2', Main section will be empty.
An empty page issue appears in report for form-2.
Is there anyway to avoid EMPTY PAGE issue between header and trailer page,
based on runtime parameter value if Main section is empty.
Thanks in advance.Hi vdsk,
The issue I posted is not about the rdf or in concurrent program. The problem I've encountered is in the tally printer itself. So what I did was to adjust the paper size settings in the printer.
Thanks,
Regards,
Diane -
How can I insert en empty page without images being pushed of their place?
I made a document that contains text and a lot of images. Now I need to inset an emptey page at the beginning of the document but when I insert a page brake, all the images in the whole document are being pushed of their place, making to document a mess. I already locked to images to see if this helps but still they are being pused out of context with the text that they are refering to. How can I insert an empty page without this hapening?
AndréTry inserting a section break. The images should stay in their original section. Of course if you alter the text in that original section, the images will not move unless they are inline.
-
How to generate a report in Excel with multiple sheets using oracle10g
Hi,
I need a small help...
we are using Oracle 10g...
How to generate a report in Excel with multiple sheets.
Thanks in advance.
Regards,
RamThanks Denis.
I am using Oraclereports 10g version, i know desformat=spreadsheet will create single worksheet with out pagination, but my requirment is like the output should be generated in .xls file, and each worksheet will have both data and graphs.
rdf paperlayout format will not workout for generating multiple worksheets.
Is it possible to create multiple worksheets by using .jsp weblayout(web source) in oracle reports10g. If possible please provide me some examples
Regards,
Ram -
How to generate a single report using multiple Databases
Hi All
Is it possible to create a single report using multiple databases
I am working on Database A to generate reports usually,, but now i have a second database for which the data is coming from flat files now i have to use few tables from
Database B to generate a single report,,,,, can any one help with the processHi,
i didn't see this properly in your post:
but now i have a second database for which the data is coming from flat files if you have ETL then make flat files as source then create target tables in db:B itself.. .Now, import them in the rpd..
If not, import both those tables into rpd with different connections..
Create physical joins by selecting those tables and perform joins operations over db's in physical layer.. -
Error when generating the report in Production Server
Hi,
I have created one infoset query in Development server of my client. It is working fine there. I had transported the request containg this query to Production server. But whenever I am trying to generate report using this query in Production server it is giving an error message
"Error when generating the report".
I am not getting what 's problem.
SamriddhiSamriddhi,
Genarally its not suggested to transport Queries. Should be able to create Queries directly Production. There might be diferences between your Development and Production versions.
Thanks.
Maybe you are looking for
-
In CN41N, only the controlling area currency are used. My client recently rolled SAP out to other countries. The controlling area currency and the existing company code currency is still ZAR. A new company code was created in the existing controlling
-
How do you merge two .xls list that are the same and then remove doubles. Thnks in advance. Jose
-
HI Friends, I would like to know the workflow settings required for the following activity 1) Maximum variance exceeded 2) MRP list & stock requirement list to MRP controller 3) Inform MRP controller about order change give me the details like object
-
Cannot get print larger on emails
when I go to btyahoo emails print too small to read when I go to hotmail email much too large how can I rectify please regards Elsie Boreham
-
NW04s - Install Central instance only
Hi all, until NW04, SAPinst had the option of only install an Central Instance and then we could attach an DB for the whole system works. In this new NW04s I didn't find this solution, have someone an idea how we could we do this right now ?? Thanks