First page blank on report
We made some minor modifications to a report, added a field to an empty space on the middle of the form and updated a simple formula to display one line less of an address and now it seems that the report works fine but the first page doesn't show any data. Does anyone have any ideas what would cause the first page to be without data? The 2nd, 3rd, and 4th pages print data on them fine. None of the formatting changed on the report.
Thanks in advance.
This was a new project for me and we found out the developer had fixed a bug that we reintroduced by adjusting some table linking. Once the developers fixed the bug the first page was no longer blank. It was more of a missing data issue than a totally blank page. Thanks for all your input.
Similar Messages
-
First Page blank -Crystal Reports 2008 Service Pack 1 install issues
Hi,
After installation of Crystal Reports 2008 Service Pack 1 - Redist Install on Web server. First page of all the reports are blank .But when next page is clicked next page displays information ,then previous page the report displayed.
On loading the first page of the report is blank.
The report is fine in Crystal reports
After navigating to the second page - the data on the second page appears with no issues -
Then Navigate back to the first page then the first page data appears.
Thanks in advance .
Regards
PrakashJust to clarify why this needed to be done. The CR msm and msi files install the correct files into a bin directory. The bin directory is specific to the version of Crystal Reports. Also, the viewer files are installed into the default web site aspnet_client folder. Thus if an application is installed into a custom website, you will have issues, such as red X-es instead of images, errors, failure to load report, etc. For more documentation on this issue see these articles:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80
Ludek -
Blank First Page in Sub Report
Hi,
My sub report display the first page blank with data starting from the second page. The first page just displays the Report Header. How can I fix this?
Thanks.
ReenaIs it possible that there is a group in the subreport and you have Keep Group Together set in the Group Options?
Fuskie
Who would bet the group data is larger than what fits on a single page and Crystal reacts to that by pushing the whole thing to the second page... -
I need a section to display at the bottom of the first page of my report
My report displays a number of records, but at the bottom of the first page of the report, I need a section (a remittance slip) that would only appear at the bottom of the first page.
I've tried using a page footer with conditional suppression. This is fine for the first page, but in subsequent pages, the footer space is reserved, so the records in my details section only go 2/3's of the page. "Reserve minimum page footer" seems pretty useless.
I've looked into using a details section that uses "Print at bottom of page". But since my report contains groupings, this messes up my report structure and leaves a lot of extra space as well.
I can't guarantee that a group footer section will always be on the first page, since it is found at the end of each group.
Any suggestions? Anything I'm missing?
Thank you.hello plynch,
i would use the method that Abhilash suggested.
" I guess if we have a section (other than the Page Footer, perhaps another Details section) that is always suppressed except when the record count reaches x numbers and have it printed at the bottom, this could be achieved"
if you
1) create a new formula for every section that counts the height of the section...
whileprintingrecords;
numbervar lines:= lines + .2
//use the above for a details section that is .2 inches in height
whileprintingrecords;
numbervar lines:= lines + 2.2
//use the above for a group header section that is 2.2 inches in height
2) do the above for every section (yes it's painful but it works) and you'll see how the sections add to the running total
3) create a new details section that is conditionally suppressed if the page is not equal to 1 and if the running total count is not within a certain height range
4) make this new details section the height that you want the remittance slip and also have a New Page After forced for the section conditional on it being page 1
the above takes a bit of finicky work but if it's worth getting rid of the blank space...
cheers,
jamie -
Values not getting displayed from first page of the report.
Values in the report is getting displayed from second page.
First page in the report only displaying the report title and column names.
Secone page onwards, data and column names are generated.
Can any one please help me, with the cause of the problem.what reporting tool?
Interactive Reporting
Financial Reporting -
Conditional formula to supress a section in the first page of the report
hi all,
how to programatically add a conditional formula to supress a section only on the first page of the report.
i am using CR XI R2 RAS server.
thanks in advance
Padmanaban VHi Padmanaban,
You can download samples from [here|https://www.sdn.sap.com/irj/boc/businessobjects-samples]
Regards,
Shweta -
How to print a table only on the first page BI Publisher report
Hi,
I have a requirement to only print part of what is in the header on the first page only. It is a table. How can I do this in BI Publisher?
Thanks.Hi,
better to ask a question about BI Publisher in BI Publisher Forum than here in Reports Forum.
You can create a template in your rtf wich you reference in your header. With BI Desktop in Winword you can use a different header for first page than the others.
Regards
Rainer -
How to get the text field in the header for only first page of the report
Hi,
I am developing reports in BI Publisher Enterprise where i am facing problem i.e., i have to get some text field in header,for only first page in the result but it is displaying in all the other pages of the report in result.So,please if you have any idea of how to solve it, please reply.It is required as early as possible.
Thanks in AdvanceInvalid path? What are you doing? Writing the report output to an invalid directory?
Where are your terms and conditions? It would be very easy just to put them in a database table and select them in your report query. -
M1319f mfp laserjet... first page blank.
Hi, my laserjet printer always spits out a blank page before printing. Kinda makes it hard to print checks in order. It was working fine with, then lastnight started the first blank page.
Thanks for the help.
GeneHi, my laserjet printer always spits out a blank page before printing. Kinda makes it hard to print checks in order. It was working fine with, then lastnight started the first blank page.
Thanks for the help.
Gene -
Spool to PDF - First page blank w/ run in background
I have a report that I write to spool using NEW PAGE PRINT ON/OFF. I use the FM 'CONVERT_ABAPSPOOLJOB_2_PDF' to convert it to PDF. Everything works fine in the foreground. The problem is when a background job is scheduled, and the file written to the app server, a blank page is inserted at the beginning of the PDF file. No data is lost, just a blank page inserted.
Has anyone seen this before? If so, what was the fix?
Thanks in advance
Message was edited by: Thomas BranomThe process is the same for both foreground and background.
Here is some of the code, please not I took out the page break for each new customer name, but the blank page still occurs when executing in background.
** Routine to write to spool
FORM write_to_spool USING rv_download TYPE xfeld.
DATA: s_out TYPE get_data=>type_out,
t_temp_out LIKE STANDARD TABLE OF s_out,
v_kunnr TYPE kunnr,
* v_name1 TYPE name1_gp,
v_pos TYPE i VALUE '0'.
APPEND LINES OF cl_get_data->t_out TO t_temp_out.
SORT t_temp_out BY kna1-name1 kna1-kunnr vbak-bstnk.
FORMAT RESET.
** Turn on writing to spool
IF rv_download = 'X'.
NEW-PAGE PRINT ON
NEW-SECTION
PARAMETERS gs_pri_param
NO DIALOG.
ENDIF.
LOOP AT t_temp_out INTO s_out.
** This will cause a page break at each new customer
** name, I even commented out the 'NEW-PAGE' and I still
** get a blank page at the beginning of the PDF
IF v_name1 <> s_out-kna1-name1.
IF NOT v_name1 IS INITIAL.
ULINE AT /(c_line_size).
NEW-PAGE.
ENDIF.
v_name1 = s_out-kna1-name1.
ENDIF.
v_pos = 3.
WRITE : / '|'.
WRITE AT v_pos s_out-vbak-vbeln.
v_pos = v_pos + 13.
WRITE AT v_pos(16) s_out-vbak-bstnk.
v_pos = v_pos + 18.
WRITE AT v_pos s_out-likp-inco1.
v_pos = v_pos + 11.
WRITE AT v_pos(20) s_out-likp-inco2.
v_pos = v_pos + 22.
* WRITE AT v_pos(20) s_out-kna1-name1.
* v_pos = v_pos + 22.
WRITE AT v_pos(20) s_out-kna1-ort01.
v_pos = v_pos + 22.
WRITE AT v_pos s_out-kna1-regio.
v_pos = v_pos + 10 .
WRITE AT v_pos(20) s_out-likp-lifex.
v_pos = v_pos + 23.
IF NOT s_out-likp-wadat IS INITIAL.
WRITE AT v_pos s_out-likp-wadat.
ENDIF.
v_pos = v_pos + 13.
IF NOT s_out-estprt IS INITIAL.
WRITE AT v_pos s_out-estprt.
ENDIF.
v_pos = v_pos + 13.
IF NOT s_out-actprt IS INITIAL.
WRITE AT v_pos s_out-actprt.
ENDIF.
v_pos = v_pos + 13.
IF NOT s_out-bolsnt IS INITIAL.
WRITE AT v_pos s_out-bolsnt.
ENDIF.
v_pos = v_pos + 13.
IF NOT s_out-cstclr IS INITIAL.
WRITE AT v_pos s_out-cstclr.
ENDIF.
v_pos = v_pos + 13.
IF NOT s_out-likp-lfdat IS INITIAL.
WRITE AT v_pos s_out-likp-lfdat.
ENDIF.
WRITE AT c_line_size '|'.
ENDLOOP.
ULINE AT /(c_line_size).
** Turn off writing to spool
IF rv_download = 'X'.
NEW-PAGE PRINT OFF.
ENDIF.
** Routine to convert spool to pdf and save to file
FORM convert_pdf CHANGING rv_rc TYPE sysubrc.
DATA: t_seltab TYPE STANDARD TABLE OF rsparams,
s_seltab TYPE rsparams,
s_tsp01 TYPE tsp01,
t_tsp01 LIKE STANDARD TABLE OF s_tsp01,
v_objtype LIKE rststype-type,
v_type LIKE rststype-type,
is_otf TYPE char1,
v_numbytes TYPE i,
v_numbytes1 TYPE i,
v_pdfspoolno LIKE tsp01-rqident,
v_jobname LIKE tbtcm-jobname,
v_jobcount LIKE tbtcjob-jobcount,
* t_pdf TYPE type_t_pdf,
t_pdf LIKE tline OCCURS 0 WITH HEADER LINE,
s_pdf LIKE LINE OF t_pdf,
v_pdflength TYPE i,
v_filename TYPE string.
FIELD-SYMBOLS <f> TYPE ANY.
** Get the spool, if no spool, then give error and exit
SELECT * FROM tsp01 INTO TABLE t_tsp01
WHERE rqident = sy-spono.
IF sy-subrc <> 0.
rv_rc = 1.
MESSAGE s060(zb) WITH sy-spono. "NO SPool
EXIT.
ENDIF.
LOOP AT t_tsp01 INTO s_tsp01.
* Determine spool format
CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
EXPORTING
authority = 'SP01'
client = s_tsp01-rqclient
name = s_tsp01-rqo1name
part = 1
IMPORTING
type = v_type
objtype = v_objtype.
IF v_objtype(3) = 'OTF'.
is_otf = 'X'.
ELSE.
is_otf = space.
ENDIF.
* Convert to PDF format
IF is_otf = 'X'.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = s_tsp01-rqident
IMPORTING
pdf_bytecount = v_numbytes
pdf_spoolno = v_pdfspoolno
btc_jobname = v_jobname
btc_jobcount = v_jobcount
TABLES
pdf = t_pdf
EXCEPTIONS
err_no_otf_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_dstdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
IF sy-subrc <> 0.
rv_rc = 1.
MESSAGE s061(za) WITH sy-spono. "NO SPool
EXIT.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSE.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = s_tsp01-rqident
IMPORTING
pdf_bytecount = v_numbytes
pdf_spoolno = v_pdfspoolno
btc_jobname = v_jobname
btc_jobcount = v_jobcount
TABLES
pdf = t_pdf
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
IF sy-subrc <> 0.
rv_rc = 1.
MESSAGE s061(za) WITH sy-spono. "NO SPool
EXIT.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
* Download the file to local pc if requested and not in background.
IF NOT p_fname1 IS INITIAL AND sy-batch IS INITIAL.
v_filename = p_fname1.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = v_filename
filetype = 'BIN'
bin_filesize = v_numbytes
IMPORTING
filelength = v_numbytes1
TABLES
data_tab = t_pdf
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE s062(za) WITH p_fname1.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
MESSAGE s065(zb) WITH 'Downloaded' v_numbytes
p_fname1.
ENDIF.
ENDIF.
* Write the PDF file server if requested.
IF NOT p_fname2 IS INITIAL.
v_numbytes1 = v_numbytes.
DESCRIBE FIELD t_pdf LENGTH v_pdflength.
LOOP AT t_pdf INTO s_pdf.
IF v_numbytes > v_pdflength.
TRANSFER s_pdf TO p_fname2.
ELSEIF v_numbytes <> 0.
ASSIGN s_pdf(v_numbytes) TO <f>.
TRANSFER <f> TO p_fname2.
ENDIF.
v_numbytes = v_numbytes - v_pdflength.
ENDLOOP.
CLOSE DATASET p_fname2. "Open in perform chk_dwnld_param
MESSAGE s065(zb) WITH 'Wrote' v_numbytes1 p_fname2.
ENDIF.
ENDLOOP.
Message was edited by: Thomas Branom -
First page appears blank when viewing a Crystal Report in the web viewer
I have seen threads and KB articles regarding this issue but the suggested solutions do not correct the issue. (KB articles [1423482 and 1439109)
The issue only started after upgrading from CR 2008 runtime to CR 2008 SP4 runtime.
When the page containing the viewer control first loads, the report pane is completely blank.
The viewer toolbars appear as expected, and the report can be exported using the Export button on the viewer toolbar without issue.
Changing the zoom level causes the first page of the report to appear as expected, and reverting the zoom level does not cause the report pane to become blank again.
Navigating to the next page of the report works and the second page appears as expected. Returning to the first page shows the first page of the report as expected.
Our application is installed on dozens of servers but this issue only has occurred on a few installations at this time.
Steps attempted to resolve the issue:
1. Uninstall CR 2008 SP4 runtime, confirm the CrystalReportViewers12 folders were removed from the folders C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727 and C:\Program Files\Business Objects\Common\4.0, then reinstall CR 2008 SP4 runtime.
2. Ensure there are no underscores in the server name.
3. Change the crystalreportsviewers12 Virtual Directory to use the folder C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727\CrystalReportViewers12
4. Remove and recreate the crystalrep[ortviewers12 Virtual Directory.
5. Replace the C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727\CrystalReportViewers12 folder from a server that does not exhibit the issue.
Any new ideas or suggestions? ThanksMoving post to .NET SAP Crystal Reports forum
Hello Scott
What browser are you using and what is the version of the browser?
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
How to avoid blank page in the report?
adding a field in the grouping and checking the page break option means then we are getting blank page as the first page of the report? How to avoid this blank page?
Usually blank pages appear as first page due to the presence of filler lines (//////) on top of report header.Please ensure that the top header is exactely started from top of page itself.
-
Html report shows blank page if pdf report is also
HI
I am facing strange problem
1. Generate any html report with multiple pages.
2. The first page of the report will be shown.
3. Now generate the same report in pdf.
4. Go to the first report again (html report) and try to go to the next page
(second page)by clicking on the forward arrow > at the bottom of the report.
I am invoking java to invoke reportsHi Karen,
I would like to provide the document "Report Design: Best Practices and Guidelines " to you and hope it can provide some help.
Avoiding Blank Pages
Sometimes, you will see blank pages when you output reports to a physical page format such as PDF or print. Generally, this will happen when the size of the report body exceeds
the size of the page. To ensure that all the contents fit on a single page, the body width plus the margins should be less than the defined page width. A textbox or other report item can cause the width of the body to exceed the page width, even when the portion
of the item that exceeds the width has no visible contents. In addition, report items growing horizontally (matrix data regions and images set to automatically Autosize or Fit) can also cause the body to grow.
Reference:
<http://technet.microsoft.com/en-us/library/cc966445.aspx>
Best Regrads,
Halin Huang -
Html report shows blank page if pdf report is also generated
Steps to reproduce
1. Generate any html report with multiple pages.
2. The first page of the report will be shown.
3. Now generate the same report in pdf.
4. Go to the first report again (html report) and try to go to the next page
(second page)by clicking on the forward arrow > at the bottom of the report.
I am using java to invoke reportsHi Karen,
I would like to provide the document "Report Design: Best Practices and Guidelines " to you and hope it can provide some help.
Avoiding Blank Pages
Sometimes, you will see blank pages when you output reports to a physical page format such as PDF or print. Generally, this will happen when the size of the report body exceeds
the size of the page. To ensure that all the contents fit on a single page, the body width plus the margins should be less than the defined page width. A textbox or other report item can cause the width of the body to exceed the page width, even when the portion
of the item that exceeds the width has no visible contents. In addition, report items growing horizontally (matrix data regions and images set to automatically Autosize or Fit) can also cause the body to grow.
Reference:
<http://technet.microsoft.com/en-us/library/cc966445.aspx>
Best Regrads,
Halin Huang -
No data found in report csv or pdf output on first page load
No data found in report csv output on first page load. Report shows up on page, but no data found in csv or pdf output. I always need to submit the page and then it shows data in downloads. The page contains a form (read-only) with a report that references 4 page items by using something like the following:
and b.employee_no = v('P5_EMPLOYEE_NO')
and c.fisc_year_pk = v('P5_FISC_YEAR_PK')
and b.job_class = v('P5_JOB_CLASS')
and b.organization = v('P5_ORGANIZATION')
Again, report in the page shows up except there is no data in downloads. Can anyone help me solve this problem? I'm running Oracle APEX 4.2.1 in Oracle database 11gR2.
Thanks.Sounds like a classic session state issue.
You need to populate you page items using page rendering computations to ensure they're set to session state.
Or if the download is triggered from a button press, you need to ensure those page items are submitted to session state, perhaps via a PL/SQL action.
Scott
Maybe you are looking for
-
No. of days outstanding variable in aging report for SAP 8.8
Hi All, Would like to check whether anyone knows what are the variable numbers for 'No of days outstanding' column in aging report? I would like to include this field in the detail aging report print out. Thanks.
-
How do you get a new domain name?
I know it must be very simple to do but I just can't understand this process. Do you have to buy a domain name from places like godaddy.com first? Or can you created it on MobileMe for free? Does it take 48hours to take effect? Thanks
-
What is the meaning od general modification field in the obyc t-code.
hi there gurus, can any one tell me what is the meaning of the general modification file din the obyc t-code, i wana know wht is that is used for n etc
-
Hi, Im new to the printing side of Java so if this is a simple mistake I do apologise... I have created a class that prints information, logos, rotated text and so on based on calculated positions (specific offsets from each other) and of course I ha
-
Getting error "Problem with SSL Certificate" but I'm connecting to my private server without SSL
I wanted to create a PDF from a subtree at a website. The first problem was that Acrobat Pro (11.0.7) wouldn't spider it (probably because there was a robot.txt file there) so I had to use SiteSucker to pull the pages down to my Mac. Then I discovere