Automatically generating PDF format Report
Dear buddies
can u tell me plzzz that how can I generate my report to PDF format while showing the output on screen isn't necessary. 2ndly is there any automated way to mail this file to a client or I'll have to mail it manually? be careful that I'm using Developer - 6i. hoping a positive response,thanx.
Hi,
As u said, while showing the output on screen isn't necessary.
For the 1st one, u set the system parameters..
MODE: bitmap (for pdf it should be bitmap).
Destype: File
Desname : give some name to the file in your local dir..
For the 2nd one, u have to configure ur local mailing system..
For eg: Microsoft Outlook..
it's enough if u configure ur local mailing system and then
give an option in the report calling form to send it to mail..
and set the Destype to Mail.
Hope this will clear your doubt..!
Similar Messages
-
Generating pdf format report in Oracle Reports 6i
Hi everyone,
I am using Report 6i. I am trying to generate a report in pdf format on the web. My problem is only the labels are displayed, while the data is not displayed. No specific error is shown.
But the same report is working fine when generated in HTML format on the web.
Can anyone guide as to what may be the problem in generating this report in pdf format.
Thanks in advance.
Elizabethhi,
can you send the URL used to generate the report. -
Reader X automatically updates PDF Format V1.1 to 1.6
Hi!
After noticing that our customers often get a "Save File" prompt, after only watching a PDF-File, i investigated this, and it turned out, that the Adobe Reader X updates PDFs in File Format 1.1 automatically to PDF Format 1.6.
Is there a way to prohibit this behaviour? the documents are placed in a database, so even if they would, they cant change the old ones.
Thanks for any help on this!Hi!
I've tested the issue again with Adobe Reader 10.1.4 on MS Windows XP Pro. SP3, MS Windows 7 Pro. SP1 32-bit and 64-bit with the following drivers:
- HP Universal Printing PS package ver. 5.5.0.12834 (driver ver. 61.130.04.12834) for printing to HP LaserJet 4100 DTN (224 MiB of RAM) and HP Color LaserJet 4700dn (288 MiB of RAM)
- Samsung Universal Print Driver PS ver. 2.03.09.00_41 for printing to Samsung ML-3051DN printer with 64 MiB of RAM
Printing of the sample 6-page PDF file (https://workspaces.acrobat.com/?d=ojv64pOBncq6XxtSiRqSkw) is still slow because the document stays long in the Windows print queue. Here are the test results:
- printing with the HP UPD PS driver - 120 sec.
- printing with the Samsung UPD PS driver - 220 sec.
When the same PDF file is printed in FoxitReader 5.4.4 the document stays in the print queue for only 15 sec.
Enabling the Print As Image option in the Reader's Advanced Print Setup can help to some degree (it gives better kB/sec. ratio but it increases the size of the print job).
I'd really appreciate it if developers at Adobe improved the Reader in order to solve the issue with the PS drivers.
-- rpr. -
How could i generate HTML format report using DBMS_SQLTUNE.REPORT_TUNING_TASK function in oracle 11g
See [url http://download.oracle.com/docs/cd/E11882_01/appdev.112/e16760/d_sqltun.htm#CHDGEIHJ]documentation for DBMS_SQLTUNE.
The TYPE parameter suggests that it would determine the format and whilst the nline documentation in the code (desc DBMS_SQLTUNE) suggests that valid values are TEXT, HTML and XML, it seems that this is not yet implemented. Whilst valid values of TEXT, HTML and XML are validated, only a TEXT report is produced. -
How to generate a PDF format report
Hello,
here i am trying to generate the report as 'PDF' format from the form. after i run the form a parameter form comes up there i give parameter as 'IC' it should get only the IC related report in 'PDF' format. i could do this but after i close the adobe and return to the report its not over writing on the same file where i gave the DESNAME:='C:\KAVITHA8.PDF'. its taking atleast 10 minutes to rewrite on the same file.
i tried first the following way to get the PDF format output but its not even working.
host('R30RUN32 C:\AC_REPORT.REP DESTYPE = FILE DESFORMAT = PDF BATCH = YES');
THIS IS NOT WORKING TOO.
THEN I TRIED THE FOLLOWING WAY HERE I AM EXECUTING THE REPORT BY HOSTING THE ADOBE.
THIS WORKS BUT DOESNT REWRITE ON THE SAME FILE, IS THERE ANY OTHERWAY THAT I CAN DO THIS OR HOW CAN I MAKE THIS WORK IN PROPER WAY.
BY THE WAY THIS REPORT DEVELOPED IN DEVELOPER 2000...
THIS I NEED FOR MY PRODUCTION, PLEASE SOMEONE HELP ME OUT.....
declare
pl_id paramlist;
destype varchar2(10);
desname varchar2(20);
desformat varchar2(10);
TEMP_status varchar2(10);
begin
pl_id := Get_Parameter_List('tmpdata');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('tmpdata');
TEMP_status :=:W_STATUS;
DESTYPE := 'FILE';
DESNAME := 'C:\KA.PDF';
DESFORMAT := 'PDF';
Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
Add_Parameter(pl_id,'P_STATUS',TEXT_PARAMETER,TEMP_STATUS);
Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,DESTYPE);
Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,DESNAME);
Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,DESFORMAT);
Run_Product(REPORTS,'C:\AC_REPORT.REP', ASYNCHRONOUS, RUNTIME,FILESYSTEM,pl_id);
HOST('c:\program files\adobe\Acrobat 5.0\reader\acrord32.exe C:\KA.PDF');
END;
thanks in advance....All the information you described points to the problem that reports seems can't generate to a file which already exist. You can verify that by simply doing
r30run32 C:\AC_REPORT.REP DESTYPE = FILE DESFORMAT = PDF BATCH = YES' desname=c:\temp\ac_report.pdf
several times. If first time the report is successfully generated in c:\temp\ac_report.pdf, but not the second, third time, then it looks like there is a bug on reports r30run32 executable.
You may try to find any latest patch for Reports 3.0 to see if patch can solve you problem. But keep in mind Reports 3.0 is de-supported, you are better to move to 6i or 9i reports.
Thanks,
-Shaun -
Characters not visible in Generated pdf format..
Hi ,
I am working on a report.I have created an rdf file and registered in Apps to generate the report output in pdf format.When i am running my concurrent request its generating the pdf file but its not generating any characters only numerical values are visible in the output pdf file.I am coming across a problem every time making some small changes..Please help me.
Thanks and Regards
Nisheeth839041 wrote:
Hello, I cannot see these special czech characters when use TOAD but yes when use SQL Developer.Please explain what you mean by "cannot see..".
What is the definition of the relevant char column? (desc tablename)
*NLS_CHARACTERSET==>WE8MSWIN1252Note that the character (win 1252) set does not define characters such as c, d, e, n, r, t with hacek/caron diacritical mark (e.g. ř, Ť). The lack in character repertoire may be a problem depending on how Toad retrieves nchar columns (if applicable). So this may be a (non-oracle) app specific issue! -
Generate PDF format from ABAP List using 'RSPO_SR_OPEN'
Hi All,
I need some help on the following code. I have 2 cases.
First case:
I am using the function Module 'RSPO_SR_OPEN' to create spool from the List Output.
Once I get the Spool number from Above function Module I will submit it through report RSTXPDF5 to get spool request for PDF data created.
I will use this spool number in the report RSTXPDFT5 to download it to Local system in PDF format.
PDF will be generated but I am unable to open the PDF, some conversion error.
Second Case:
Instead of using function Module 'RSPO_SR_OPEN' , I will use standard Print button on the application toll bar to generate the spool number and then remaining step follows.
In this case PDF file is generating as per the requirement.
Now my question is why system does not work properly when I am using function module 'RSPO_SR_OPEN' .
I have attached the code for your reference:
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'EMAIL'.
IF SY-LSIND EQ 1.
Send mail to User ID
PERFORM SEND_MAIL.
LEAVE TO LIST-PROCESSING.
ENDIF.
WHEN 'MM03'.
SET PARAMETER ID 'MAT' FIELD I_MARA-MATNR.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
WHEN 'LIST'.
data: pdf_spoolid like tsp01-rqident.
data: gd_spool_nr1(11) type c,
gd_spool_nr2(10) type c.
RANGES : R_SPOOL FOR TSP01-RQTITLE.
Function Module to Create Spool Number
call function 'RSPO_SR_OPEN'
exporting
dest = c_device
LAYOUT = 'X_65_200'
copies = '1'
doctype = 'LIST'
importing
spoolid = gd_spool_nr
exceptions
operation_failed = 1
others = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Report to Generate spool number for PDF convert
submit RSTXPDF5 with spoolno = gd_spool_nr
with dstdevic = 'LOCL' and return .
if sy-subrc eq 0.
gd_spool_nr2 = gd_spool_nr.
condense gd_spool_nr2 no-gaps.
concatenate '00000' gd_spool_nr2 '*' into gd_spool_nr1.
R_SPOOL-LOW = gd_spool_nr1.
R_SPOOL-OPTION = 'CP'.
R_SPOOL-SIGN = 'I' .
APPEND R_SPOOL.
To select PDF Spool Number from TSP01 based on Title
select single * from tsp01 where rqtitle IN R_SPOOL.
if sy-subrc eq 0.
Report to Download PDF spool to GUI
submit RSTXPDFT5 with spoolid = tsp01-rqident and return.
endif.
endif.
ENDCASE.
Thanks & Regards,
NagarajHi,
Check this code,
REPORT Z_CREATE_PDF_ABAPLIST NO STANDARD PAGE HEADING.
PF-status containing a PDF button in the report Output to generate
PDF form
SET PF-STATUS 'Z_PDF'.
*Table Declarations
TABLES: MARA, MARC, MAKT.
Internal Table Declarations
DATA: BEGIN OF TS_MARA OCCURS 0,
MATNR LIKE MARA-MATNR,
MTART LIKE MARA-MTART,
MATKL LIKE MARA-MATKL,
LVORM LIKE MARA-LVORM,
WERKS LIKE MARC-WERKS,
MAKTX LIKE MAKT-MAKTX,
END OF TS_MARA.
Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK B1.
SELECT-OPTIONS: S_MATNR FOR MARA-MATNR OBLIGATORY,
S_WERKS FOR MARC-WERKS OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
TOP-OF-PAGE.
write: 40 'Generating PDF from List Output' color 1 intensified on.
skip 1.
write: /1 'Date :', SY-DATUM,
/1 'User ID :', SY-UNAME,
/1(112) SY-ULINE.
START-OF-SELECTION.
Perform for Basic Selection
PERFORM GET_MARA.
Perform to Display Data
PERFORM DISPLAY_MARA.
AT USER-COMMAND.
User Command to generate PDF Form
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'PDF'.
DATA: L_PARAMS TYPE PRI_PARAMS,
L_VALID TYPE STRING,
W_SPOOL_NR LIKE TSP01-RQIDENT.
TO GET PRINT PARAMETERS
CALL FUNCTION 'GET_PRINT_PARAMETERS'
IMPORTING
OUT_PARAMETERS = L_PARAMS
VALID = L_VALID.
IF SY-SUBRC <> 0.
ENDIF.
Internal table for Selection Screen
DATA: BEGIN OF I_RSPARAMS OCCURS 0.
INCLUDE STRUCTURE RSPARAMS.
DATA: END OF I_RSPARAMS.
Store the current selection screen details
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
CURR_REPORT = SY-REPID
IMPORTING
SP =
TABLES
SELECTION_TABLE = I_RSPARAMS
EXCEPTIONS
NOT_FOUND = 1
NO_REPORT = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SUBMIT TO GET THE SPOOL NUMBER
SUBMIT Z_CREATE_PDF_ABAPLIST WITH SELECTION-TABLE I_RSPARAMS
TO SAP-SPOOL
SPOOL PARAMETERS L_PARAMS
WITHOUT SPOOL DYNPRO
AND RETURN.
SELECT THE RECENTLY CREATED SPOOL
SELECT MAX( RQIDENT ) INTO W_SPOOL_NR FROM TSP01
WHERE RQCLIENT = SY-MANDT
AND RQOWNER = SY-UNAME.
*REPORT TO GENERATE SPOOL NUMBER FOR PDF CONVERT
SUBMIT RSTXPDF5 WITH SPOOLNO = W_SPOOL_NR
WITH DSTDEVIC = 'LOCL' AND RETURN .
IF SY-SUBRC EQ 0.
CLEAR W_SPOOL_NR.
SELECT THE RECENTLY CREATED SPOOL FOR PDF
SELECT MAX( RQIDENT ) INTO W_SPOOL_NR FROM TSP01
WHERE RQCLIENT = SY-MANDT
AND RQOWNER = SY-UNAME.
*REPORT TO DOWNLOAD PDF SPOOL TO GUI
SUBMIT RSTXPDFT5 WITH SPOOLID = W_SPOOL_NR
AND RETURN.
ENDIF.
ENDCASE.
*& Form GET_MARA
text
--> p1 text
<-- p2 text
FORM GET_MARA .
CLEAR : TS_MARA.
REFRESH: TS_MARA.
To select Materials based on Selection Criteria
SELECT A~MATNR A~MTART A~MATKL A~LVORM B~WERKS INTO CORRESPONDING
FIELDS OF TABLE TS_MARA FROM MARA AS A
INNER JOIN MARC AS B ON A~MATNR EQ B~MATNR
WHERE A~MATNR IN S_MATNR
AND B~WERKS IN S_WERKS.
LOOP AT TS_MARA.
SELECT SINGLE * FROM MAKT WHERE MATNR EQ TS_MARA-MATNR
AND SPRAS EQ SY-LANGU.
MOVE MAKT-MAKTX TO TS_MARA-MAKTX.
MODIFY TS_MARA INDEX SY-TABIX.
ENDLOOP.
ENDFORM. " GET_MARA
*& Form DISPLAY_MARA
text
--> p1 text
<-- p2 text
FORM DISPLAY_MARA .
CLEAR : TS_MARA.
WRITE: /1 '|', 2(18) 'Material Number' COLOR 7,
21 '|', 22(5) 'Plant ' COLOR 7,
28 '|', 29(13) 'Material Type ' COLOR 7,
42 '|', 43(14) 'Material Group ' COLOR 7,
57 '|', 58(13) 'Deletion Flag ' COLOR 7,
71 '|', 72(40) 'Description ' COLOR 7,
112 '|'.
WRITE: /1(112) SY-ULINE.
LOOP AT TS_MARA.
WRITE: /1 '|', 2(18) TS_MARA-MATNR,
21 '|', 22(5) TS_MARA-WERKS,
28 '|', 29(13) TS_MARA-MTART,
42 '|', 43(14) TS_MARA-MATKL,
57 '|', 58(13) TS_MARA-LVORM,
71 '|', 72(40) TS_MARA-MAKTX,
112 '|'.
WRITE: /1(112) SY-ULINE.
ENDLOOP.
ENDFORM. " DISPLAY_MARA
Thanks & Regards,
Nagaraj Kalbavi -
ABAP code to automatic generate an BW Report
HI Sap BW gurus,
Can anyone tell me if exists an abap code to automatic generate an report from a query and save it on an directory in HTML format?
Thanks in advanced,
Pedro MartinsYou can use this tool...
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i
but then you would have to store it into an application server directory as HTML - there is also a how to paper by the same author which you can use... which talks about email query results in HTML
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b7658119-0a01-0010-39a9-b600c816f370;jsessionid=%28J2EE3414800%29ID1001478750DB10940138154678751341End -
Generating PDF from report - migrating from 6i to 10g
hi ,
i ran my existing report which is developed in oracle 6i in 10g report builder .
i got the output perfectly.
But when i say Generate to file PDF ,I Am getting below error msg .
REP-0069 :Internal error
REP-57054:In-process job terminated:Terminated with error:
REP-214718514:Unable to retreive a string from the Report Builder message file.
REP-2147418514
can anyone tell me what should i do to overcome this ..
Thanks in Advance.Hello,
How do you execute your Reports ?
Do you execute it from the Builder ?
If you execute it from the Builder, do you use Run Web Layout or Run Paper Layout ?
(If you have upgraded a Reports From 6i, there is no web layout , so you have to use the Run paper Layout
The web layout is something new that appeared in Reports 9.0.2)
Regard -
Automate generating and sending reports
Hi All,
Is it possible to automate the following steps in BPC 7.0?
After uploading monthly actual SG&A to BPC...
1. Refresh a report, say C1, by individual function (CTO, Finance, Sales & etc)
2. Convert the above files into paste value format (maybe save the above reports in offline mode)
3. Automatic send each report to a respected functional head each month
If it's not possible in 7.0, is there an alternative? Like using BOBJ to access the BPC 7.0 db directly and formulate/format the reports in BOBJ?
Thanks.Hi pkrishnas,
Thanks for the info.
I set up a distribution according to the documentation and also set up the appset parameters related to SMTP.
When I want to distribute my report, I get an error something like "Cannot get email address from SQL xxx\myuserid" (where xxx is the BPC server name).
The user myuserid has been entered with a correct email address and security. But the user is not a local user to the server xxx. The user has an email address at a different domain. Below is the user detail:
UserID: xyz\myuserid
User Name: John Doe
Email: myuserid at xyz dot com <rewrite to avoid the forum auto filter>
IM address: <blank>
Do you or anyone else know the cause and how to resolve this issue? Do I have configure something else?
Thanks.
=Hamdy -
REP-0499 when generating PDF from report
Hi,
I have a simple query in data model where I'm selecting Oracle database object :
select a.shape from table a;
shape is shapedefinition type that is composed of :
Axis varchar2(1),
x number(2),
y number(2),
z number(2)
when I generate report it works fine but when I try to generate to PDF file I get this error : REP-0499: Column 'Axis' selected by the query is incompatible with report definition
But when I run similar report but database object is composed entirely of number types I don't have this prob.
As far as I can tell, nothing has been changed in Database and it seems like this error only happens when I try to select from database object that contains varchar2 type.
Any help will be greatly appreciated.
Thank you,
KeeyangDavey, please send me an InDesign Server document that I could use to reproduce this problem. My e-mail address is [email protected] Thank you. --DougR
-
Automatically generate PDF from Oracle Applications web forms
Hi,
One can configure Oracle Applications to use a template (PDF, XSL, etc) for a certain web form, which basically allows the user to manually click a button on the form to Export it.
On the other hand, how to do this automatically? In other words, is it possible to automatically export a form to PDF, and store it in DB, after a user inserts data?Hello Malas,
if you don't need complex layouts, then try as_pdf_mini from Anton Scheffer
http://technology.amis.nl/blog/8650/as_pdf-generating-a-pdf-document-with-some-plsql
or
http://reseau.erasme.org/PL-FPDF,1337?lang=fr
Regards
Marcus
Edited by: Marwim on 14.03.2012 13:54 -
Standard routine to generate PDF format from Spool
Hi,
I have a requirement where I need to pick the Spool for the report and convert that in to PDF later that needs to be stored on Application server.
Any early response will be rewardedHi Nikhil,
See if the following code helps you.
DATA: num_bytes TYPE i,
pdf_spoolid LIKE tsp01-rqident,
job_name LIKE tbtcjob-jobname,
job_count LIKE tbtcjob-jobcount,
pdf LIKE tline OCCURS 100 WITH HEADER LINE,
*give the filename along with the path
file_name LIKE rlgrap-filename default 'file_name'.
Get spool requests
SELECT * FROM tsp01 INTO TABLE tsp01_itab
WHERE rq0name = 'LIST1S' AND rq2name LIKE 'YOUR_REPORT_NAME%' AND
rqowner = sy-uname.
LOOP AT tsp01_itab.
Convert spool request into PDF file
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = tsp01_itab-rqident
no_dialog = 'X'
IMPORTING
pdf_bytecount = num_bytes
pdf_spoolid = pdf_spoolid
btc_jobname = job_name
btc_jobcount = job_count
TABLES
pdf = 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.
CHECK sy-subrc = 0.
CONDENSE file_name NO-GAPS.
Download file to application server
OPEN DATASET file_name FOR OUTPUT IN BINARY MODE.
LOOP AT pdf.
TRANSFER pdf TO file_name.
ENDLOOP.
CLOSE DATASET file_name.
ENDLOOP.
Reeta. -
Error Message by generating pdf-based reports
Hi,
One new pdf-based form was developed for customer specific status report.
The standard report only copied and modified.
While executing the new status report it is giving the error message "File does not begin with % PDF-"
Please let me now how to resolve the issue.
Thanks
Seema P.Hi,
Thank you for the Help error has resolved with the help of basis.
Regards,
Seema P. -
Automatic Generating of Reports
Is there a way to make an Automatic Generating of Crystal Reports to PDF.
hi Joe,
you can look at crystal reports server as it has an ability to publish and distribute reports. one of the output formats is to pdf. there is also a trial here.
or you can look at a 3rd party product that does scheduled exports. there are lots of them. a good place to start to look is here.
or you can build your own solution using one of the sdks like the cr for visual studio sdk.
-jamie
Maybe you are looking for
-
I need to have a separate email account for another member of the family so that messages specifically for that member go straight to him.
-
How do i find out or change my security question answers?
wht do i do to find out of change my secqurity question answers?
-
Wi fii and blue tooth turn will not turn on I phone 4s
I can get the wi fii to turn on and the blue tooth either? the sklide bar will not work
-
Web service deployment problem in jboss
How portals are deloyed inweb-server
-
Warning Log message showing multiple times during create/update registration
During registration the following error is getting repeated Warning Sat Feb 14 15:38:15 CST 2015 1423949895405 /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1266341/atg/userprofiling/ProfileFormHandler Using default setting for Profil