Not able run the report in PDF format
hi
I'm using Report Builder 9.0.4.0.33 (10g). I'm able to generate salry slip for 1 emplyee,2 or 3 in pdf format but when it is more than 1000, in pdf format only
it gives following error
REP-1922: Internal error
REP-50125: Caught exception: java.io.FileNotFoundException: C:\DOCUME~1\VISHWA~1\LOCALS~1\Temp\cmp04501596 (The process cannot access the file because it is being used by another process)
REP-1922: PDF compression error
REP-1922: PDF compression error
But its running correctly in paper layout for 1000 employee.
please help me
tanks in advance
Hi,
Whether you can able to get the output in the remaining destinations like html,rtf,etc ?. Let's try with PDFCOMP=0 in the commandline and generate the report. This is could be a possible workaround . Please update me on the result.
For information on PDFCOMP, have a look at the section 'CommandLine Keywords' in the document 'Publishing Reports Manual' ( http://download.oracle.com/docs/pdf/B14048_01.pdf).
Thanks,
Vidya
Similar Messages
-
Save the report in PDF format on the server: is it possible?
Hi all,
Is it possible to save the report in PDF format on the server?
In other words, in a web application:
1) the user requests a report
2) the report produced in PDF format, is saved on the server, where is the Java Reporting Component
3) the report, in PDF format, is sent to the client's user
Thanks a lotPrintOutputController.export, get the byte stream, save on server.
Sincerely,
Ted Ueda -
How to get the output of the report in pdf format
how to get the output of the report in pdf format?
Thanks in advance,
madan.Refer these links
http://www.sap-img.com/bc037.htm
http://www.members.tripod.com/abap4/Save_Report_Output_to_a_PDF_File.html
CONVERT_ABAPSPOOLJOB_2_PDF FM convert abap spool output to PDF -
Cannot load the report on PDF format after running report
Hi,
I try to use Web.show_document to run the report thru form. After that, the PDF file cannot be shown on browser (IE5.0) but the PDF file is generated successful and if use Acrobat to open it, it work.
An error as 'An error occurred trying to load this document'. (The Acrobat reader is loaded)
Thanks for your help in advance.
nullHello,
I have found a similar problem, I think the problem my be with your acrobat settings.
On Acrobat 5. open an existing pdf file. Then on the menu go to Edit\Preferences\General. => A new screen should pop-up, click on 'Options' on the left hand side, and then check out your WEB OPTIONS. I tend to untick the 'Display PDF in Browser' and leave the others ticked.
I hope this helps. -
Barcode Fonts not showing in BIP reports in PDF format in Siebel Remote
Hi,
We have successfully setup the PDf report with Barcode fonts in Siebel Web Clinet. Now we are trying to setup the report in Siebel Mobile clinet. We did the following tomake it work in mobile clinet.
1) Copied the font file i.e. .ttf file in C:\Windows\fonts folder
2) Copied the font file i.e. .ttf file in C:\JRE Lib fonts folder
3) Updated the XDO.cfg file with details of the font
4) Copied the XDO.CFG file in mobile client XMLP\Templates folder
But the font doe snot show in dedicated or Mobile clinet. It shows the data in regular text in PDF. Please let me know if I have missed any step.
Thanks,
SachinRafael,
did you try and re-install acrobat reader. If acrobat reader has a plugin then this installs automatically in the browser and will be used. I think - since you say that it worked on other systems - that it is the browser not knowing what to do with the pdf mimetype.
Frank -
Report in PDF format can not support double byte character ?
Hi :
I am developing the simplified chinese application , when i generate the report in PDF format , i found all double byte character did not display correctly . i am using dev6i+patch5 , why ?
it is a bug of form or not ???????
HELP !!!try this ,Install acrobat4.0 or above and make sure you got acrobat distiller which will add a acrobat distiller printer in you windows. print report direct to that printer (don't change desformat) and you should got your PDF file with correct font setting.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by xie min ([email protected]):
Hi :
I am developing the simplified chinese application , when i generate the report in PDF format , i found all double byte character did not display correctly . i am using dev6i+patch5 , why ?
it is a bug of form or not ???????
HELP !!!<HR></BLOCKQUOTE>
null -
Display report on the web in pdf format
I am attempting to display a report in pdf format where I have passed parameters to it and it doesn't work.
We are using Oracle Reports 6i.
If I use the following CGIcmd line
a: server=reports destype=cache desformat=HTML userid=test/test@db paramform=no %*
and the URL
http://sun9ias:7777/dev60cgi/rwcgi60?a+report=INVOICE+p_mainkey=1111+p_subkey=1111.tif.
This report is displayed in HTML format.
For the following test I only changed the format from HTML to pdf.
The CGIcmd line became
b: server=reports destype=cache desformat=pdf userid=test/test@db paramform=no %*
and the URL
http://sun9ias:7777/dev60cgi/rwcgi60?b+report=INVOICE+p_mainkey=1111+p_subkey=1111.tif.
In this instance there is no report but there is a 'broken image' icon displayed in the top left hand corner of the screen. There are no error messages.
This is the preferred method.
As a test I also tried allowing the parameterer form with both HTML and pdf reports.
The CGIcmd line was set to
ax: server=reports destype=cache desformat=HTML userid=test/test@db %* %P
and the URL
http://sun9ias:7777/dev60cgi/rwcgi60?ax+report=INVOICE+p_mainkey=1111+p_subkey=1111.tif.
This displayed the parameter page and when you accept the parameters, the correct report is displayed in HTML format.
When I use the following CGIcmd line
bx: server=reports destype=cache desformat=pdf userid=test/test@db %* %P
and the URL
http://sun9ias:7777/dev60cgi/rwcgi60?ax+report=INVOICE+p_mainkey=1111+p_subkey=1111.tif.
As before, this displays the parameter page and when you accept the parameters, the correct report is displayed in pdf format.
The only problem is where we are attempting to use the URL to go directly to the report in pdf format.
Thanking you in advance of any help
Michael RedfordHello ,
You can try out the following
1. Click on the Report name and bring up the property palette to show all of the properties for the whole report.
2. Under Report Escapes->Before Form Value, change form method from POST to GET .
Thanks
The Oracle Reports Team -
Unable to view the reports in PDF from Workspace
Hi Experts,
I am able to view reports using Worksapce in HTML but not in PDF whereas ghostscript is installed on the FR reporting server. Bin and Lib folder of ghostscript are also in PATH of FR host. Please help how can I view the reports in PDF format.
Thanks a lot in advance.
-Naveed-Hi Vivek,
Thanks for your reply. I am using the Hyperion Financial Reporting (11.1.1.3) server on Windows 2003 32 bit and GNU Ghostscript is only available for unix type of OS. On one of our old 9.3.x env on Windows 2003 is working fine with regular ghostscript. So seems issue is something else. Is any log files which I can review and post the error for you ?
Thanks
-Naveed- -
Getting IllegalThreadStateException, while exporting the report to PDF
Hi Friends,
I am using JRC to create report in PDF format.
But intermitently I get java.lang.IllegalThreadStateException while trying to export ReportClientDocument into PDF format using the PrintOutPutContrller.
The I am using for this is
ExportOptions exportoptions = new ExportOptions();
PDFExportFormatOptions pdfOptions = new PDFExportFormatOptions();
exportoptions.setExportFormatType(ReportExportFormat.PDF);
exportoptions.setFormatOptions(pdfOptions);
reportInputStream = reportClientDocument.getPrintOutputController().export(exportoptions);
The exception I get is:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.IllegalThreadStateException---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.solidcore.as.report.ReportJob.createPDFReport(ReportJob.java:114)
at com.solidcore.as.report.ReportJob.execute(ReportJob.java:66)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
I am using JRC that comes with CR4E 2.0. The Report is designed using Crystal Report 2008.
Please help me in solving the issue.
Thank you,
DeepakHi Ted,
Thank you for the answers.
In our applications the Report will be generated in two ways.
1. A user clicks on a link on web, and the report is generated in PDF format and sent via http.
At present we are creating a new
ReportClientDocument for every request and using ExportControl.processHttpRequest() API
the report in PDF format is sent user through response.
2. Quartz schuduler trigger a job, whose work is to generate Report in PDF format into a file, and the
generated pdf file is sent to users via mail.
Here I user ReportCLientDocument.export() API to get the InputStream and use the input stream
to create PDF file.
It is possible that a user is requesting a report on Web Page and the same report is being generated by Scheduler at the same time. But in each case a separate ReportClientDocument is being used.Since Report containse a huge data, and it takes time to generate PDF file so, it is possible that a given RPT file is opened by two spearate ReportClientDocuemnt (one via web user and other via Scheduler) at the same time.
The have got rid of my earlier exceptions by sycncronizing the ReportClientDocuent.export() API.
But now am getting following exception intermittently.
2009-05-01 16:47:45.859 GMT+05:30 [ERROR] [ReportJob.java:137] [AnalyticsScheduler_Worker-10(34)] - [] Could not generate the Report.
java.lang.NullPointerException
at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.solidcore.as.report.ReportJob.createPDFReport(ReportJob.java:123)
at com.solidcore.as.report.ReportJob.execute(ReportJob.java:75)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
2009-05-01 16:47:45.859 GMT+05:30 [ERROR] [JobRunShell.java:211] [AnalyticsScheduler_Worker-10] - Job reportJobGroup.reportJob threw an unhandled Exception:
java.lang.NullPointerException
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.case(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.close(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.close(Unknown Source)
at com.solidcore.as.report.ReportJob.createPDFReport(ReportJob.java:155)
at com.solidcore.as.report.ReportJob.execute(ReportJob.java:75)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Edited by: Deepak Mishra on May 4, 2009 5:47 PM -
I use Oracle9i Report create a new report and run it on Web site and output by PDF format,but have two question :
1. After I input parameter form Data , it will show a blank web form .
2. If not show parameter form , the result will show pdf format on web, but the font is error , I have set NLS_LANG but still error .
Please give some idea , Thanks !!try this ,Install acrobat4.0 or above and make sure you got acrobat distiller which will add a acrobat distiller printer in you windows. print report direct to that printer (don't change desformat) and you should got your PDF file with correct font setting.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by xie min ([email protected]):
Hi :
I am developing the simplified chinese application , when i generate the report in PDF format , i found all double byte character did not display correctly . i am using dev6i+patch5 , why ?
it is a bug of form or not ???????
HELP !!!<HR></BLOCKQUOTE>
null -
Report in PDF format and email it to some clients, using Database Trigger
Hi
Is it possible to run a report in PDF format ad email it to some clients after a specific event through Database Trigger. For example whenever a client makes an entry into order entry table (through entry form), a trigger should execute on Orders table, this trigger should execute or generate a PDF formatted report and finally mail it to Sales team?
I have
ORAS 10g(10.1.2.0.2)
utl_mail configured.In Reportsconfig.properties file the http port is 7778,
now the output is like this...
SQL> /
* WELCOME TO EVENT-BASED-REPORTING API *
* API-Version : 9i *
* (C) Oracle Corporation, 2000 - 2002 *
* Debugging turned ON **************************
*** Length of Paramlist : 1
OK : Parameter added : GATEWAY=http://myserver.com:7778/reports/rwservlet
*** Length of Paramlist : 2
OK : Parameter added : SERVER=rep_myserver_oracleas2
*** Length of Paramlist : 3
OK : Parameter added : REPORT=D:\Reports\emp.rdf
*** Length of Paramlist : 4
OK : Parameter added : USERID=abc/xyz@mydb
*** Length of Paramlist : 5
OK : Parameter added : DESTYPE=mail
*** Length of Paramlist : 6
OK : Parameter added : DESFORMAT=PDF
*** Length of Paramlist : 7
OK : Parameter added : [email protected]
Starting run_report: building url
*** Building URL (RUN_REPORT)
OK : URL built :
http://myserver.com:7778/reports/rwservlet?SERVER=rep_myserver_oracleas2&REPO
RT=D%3A%CReports%5Cemp.rdf&USERID=abc%2Fxyz%40mydb&DESTYPE=mail&D
ESFORMAT=PDF&DESNAME=khan.emran84%40gmail.com&statusformat=xml
*** Submitting HTTP Request
*** using URL
:http://myserver.com:7778/reports/rwservlet?SERVER=rep_myserver_oracleas2&REP
ORT=D%3A%5CReports%5Cemp.rdf&USERID=abc%2Fxyz%40mydb&DESTYPE=mail&
DESFORMAT=PDF&DESNAME=khan.emran84%40gmail.com&statusformat=xml
OK : Request submitted - Return stream : <?xml version = '1.0' encoding =
'ISO-8859-1' standalone = 'yes'?>
<serverQueues>
<error code="50159"
component="REP" message="Executed successfully but there were some errors when
distribute the output"/>
<
OK : Request submitted - Length of stream : 229
*** XML-Parsed - Following Structure discovered :
*** Checking elements!
serverQueues ()
*** Checking attributes!
error
*** Checking attributes!
__code = 50159
__component = REP
__message = Executed successfully but there were some errors when distribute the
output
*** Finished Parsing XML
Getting value for element: job
Getting value for element: error
*** Requesting value for Attribute error.component [REP]
Getting value for element: error
*** Requesting value for Attribute error.code [50159]
Getting value for element: error
*** Requesting value for Attribute error.message [Executed successfully but
there were some errors when distribute the output]
REP-50159:Executed successfully but there were some errors when distribute the
output
declare
ERROR at line 1:
ORA-20999:
ORA-06512: at "NRSP.SRW", line 264
ORA-06512: at "NRSP.SRW", line 799
ORA-06512: at line 15 -
How to get a report in pdf format.
Hi Experts,
Could any one let me know that, how to get the report in PDF format.
Once a report is generated it should be displayed in pdf format or downloaded in pdf format.
Thanks in Advance,
Regards,
Irfan HussainHi,
Check out this code:
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
* Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
* Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
* Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
* Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
* Write statement to represent report output. Spool request is created
* if write statement is executed in background. This could also be an
* ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
*** Alternative way could be to submit another program and store spool
*** id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
* to sap-spool
* spool parameters %_print
* archive parameters %_print
* without spool dynpro
* and return.
* Get spool id from program called above
* IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
* FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
* FORM get_job_details *
FORM get_job_details.
* Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
* FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
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.
CHECK sy-subrc = 0.
* Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
* FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
Regards,
Gayathri -
Problem in converting reports to PDF format - bug
dear all,
There is a problem in converting the reports in PDF format.
The situation is that if we use the tool bar icon in SAP B1 to get the reports in PDF format, there are printing errors. The output PDF file does not contain the exact data that is in the report, the values are getting interchanged and mismatched.
But if we do the same using the print in the PDF option in choose from printers window as we do regular pringting, the document is printed properly.
what may be the cause for this bug like thing. How can we solve it??
please help me..
thanks and regards,
Yeshwanth PrakashCheck this SAP Note: 1089388 Incorrect value in exported PDF when Concat function is used
[https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E¬e_numm=1089388] -
I am working with reports of 2.5 version and i got a requirement for adding an option to save the report in pdf format. Can anybody please help me on this asap
Thanks & RegardsAre u sure about the report version.
Please do upgrade while even in oracle they almost stopped for new version -Developer suite -
Hi,
My CCM 3.3(4) doesn'r generate the reports in PDF format, only Excel and no error log in the Event Viewer. Acrobat is installed on the CCM. Any Ideas,
regards,
samirI reinstalled Acrobat and it's working fine now,
thx,
samir
Maybe you are looking for
-
Outline Agreements - min order qty and regular vendor flag
As a part of E Source Integration with ECC we are planning to leverageusing Outline Agreement(Contract Type MK) to store Price and other Business Terms for Material / Vendor combinations. Currently we are using Purchase Information Record with minimu
-
I have a ton of iTunes U content that shows up under the "Music or Podcasts" section of my iTunes library but I can not get it to now show up under the "iTunes U" section. They are not sorting automatically and when I attempt to drag and drop them to
-
I get a monthly email from BT advising me that my new bill is ready. The problem is that we use OneBill and the account number given isn't my OneBill account number. I've spoken to customer services who can't see that this account number is connected
-
Change Type of Screen Element in Report Program
Okay guys, I have been struggling with this the whole day.. someone please help me. I have a selection screen defined in the selecton-screen of a report program select-options : so_matnr for mara-matnr, so_ebeln for ekpo-ebeln,
-
I am new to Dreamweaver CS5.5, I used to use GoLive. I am trying to place graphics and I am assumming I need to place them in div's. After I create a div I place the cursor inside the box I make and use the insert command to place a graphic in the di