Save output report as .pdf file in a folder

Hi,
I have to create a report which has output in .pdf format, and then save that .pdf in a particular folder, which is already there.. Can anybody help ?

thanks a lot..
one more ques on request priorities:
Can we set the priority in Oracle Reports ? Say, for example, we have scheduled weekly reports ( around 40 - 50 reports) that runs 1st of every month at 9AM. While these reports are still running , we want to run an adhoc report , which canbe for last one week. Can we set the priority such that adhoc report is executed first ? Or is it something like they both will run parallel in different sessions ?
I have posted this as a separate thread, but not getting replies..

Similar Messages

  • In oracle 2.5 version report builder how to add option to generate/save the report as pdf file?

    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 & Regards

    Are u sure about  the report version.
    Please do upgrade  while  even in oracle  they almost stopped for new version -Developer suite

  • How to save classical report as pdf file

    hi all,
    i have created a classical report and now the requirement is to save that report as a pdf .
    is there any FM or any other method to do so?
    regards
    vijay

    Hi Vijay,
    Here is what I did for the same requirement:
    Calling for the PDF File name and path to save the file
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        EXPORTING
          window_title         = 'Quote Bom PDF File'
          default_file_name    = l_file_name
          initial_directory    = l_fullpath
          prompt_on_overwrite  = 'X'
        CHANGING
          filename             = l_file
          path                 = l_path
          fullpath             = g_path
          user_action          = l_user
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      IF l_user = 0.
    Please follow the following order for the subroutines which is creating the Spool Number, writing the* 
    statements on to the screen and then create the PDF file*
        PERFORM get_spool_created.
        PERFORM write_lines.
        NEW-PAGE PRINT OFF.
        g_spool_no = sy-spono.
        PERFORM download_as_pdf.
    Spool Number is getting created in this routine*
    FORM get_spool_created .
      DATA: pripar TYPE pri_params,
              arcpar TYPE arc_params,
              lay    TYPE pri_params-paart,
              lines  TYPE pri_params-linct,
              rows   TYPE pri_params-linsz.
      DATA: val(1), val1(1).
      DATA: dest TYPE pri_params-pdest VALUE 'LP01'.
      DATA: name TYPE pri_params-plist VALUE 'Testing'.
      DATA: i_pdf TYPE STANDARD TABLE OF tline.
      DATA: spono TYPE tsp01-rqident.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          destination              = dest
          no_dialog                = 'X'
          immediately              = ' '
        IMPORTING
          out_archive_parameters   = arcpar
          out_parameters           = pripar
          valid                    = val
          valid_for_spool_creation = val1
        EXCEPTIONS
          archive_info_not_found   = 1
          invalid_print_params     = 2
          invalid_archive_params   = 3
          OTHERS                   = 4.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      pripar-linsz = '132'.
      pripar-paart = 'X_65_132'.
      pripar-prdsn = 'LP01'.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          in_archive_parameters    = arcpar
          in_parameters            = pripar
          no_dialog                = 'X'
          list_name                = name
        IMPORTING
          out_archive_parameters   = arcpar
          out_parameters           = pripar
          valid                    = val
          valid_for_spool_creation = val1
        EXCEPTIONS
          archive_info_not_found   = 1
          invalid_print_params     = 2
          invalid_archive_params   = 3
          OTHERS                   = 4.
      IF sy-subrc EQ 0.
        NEW-PAGE NO-TITLE NO-HEADING PRINT ON
        NEW-SECTION
        PARAMETERS pripar
        ARCHIVE PARAMETERS arcpar
        NO DIALOG.
      ELSE.
        WRITE:/ 'Unable to create spool'.
        EXIT.
      ENDIF.
    ENDFORM.                    " GET_SPOOL_CREATED
    Write all your statements in this routine*
    *&      Form  WRITE_LINES
          text
    -->  p1        text
    <--  p2        text
    FORM write_lines .
    CALL THE ROUTINE WHICH WRITES ALL LINES TO THE SCREEN
    ENDFORM.                    " WRITE_LINES
    *Download the file as PDF
    *&      Form  DOWNLOAD_AS_PDF
          text
    -->  p1        text
    <--  p2        text
    FORM download_as_pdf .
      DATA:
              l_no_of_bytes TYPE i,
              l_pdf_spoolid LIKE tsp01-rqident,
              l_jobname     LIKE tbtcjob-jobname,
              l_jobcount    LIKE tbtcjob-jobcount,
              i_pdf         TYPE TABLE OF tline,
              i_cpdf        TYPE TABLE OF tline,
              l_spono       TYPE tsp01_sp0r-rqid_char,
              l_fullpath    TYPE string.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = g_spool_no
          no_dialog                = ' '
        IMPORTING
          pdf_bytecount            = l_no_of_bytes
          pdf_spoolid              = l_pdf_spoolid
          btc_jobname              = l_jobname
          btc_jobcount             = l_jobcount
        TABLES
          pdf                      = i_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.
      l_spono = g_spool_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
        EXPORTING
          spoolid = l_spono.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          bin_filesize            = l_no_of_bytes
          filename                = g_path
          filetype                = 'BIN'
        TABLES
          data_tab                = i_pdf
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6.
    ENDFORM.                    " DOWNLOAD_AS_PDF
    Thanks.
    Respond if you need any more help.

  • Save a report 6i PDF file onto the database server

    Hello Experts,
    I have a requirement, whereby I need to generate a PDF report and then send that report via Email. The problem I have is my email procedure is looking for the file which is in the directory on the server where the database is stored, While the PDF is generated on the local machine. Im using reports 6i.
    I know in reports 10g the file is generated on the report server itself but Im afraid same is not the case with reports 6i.
    The other problem is the local machine does not have the access to the directories on the server. I tried to change the directory path in the database to look at the C:\ but it doesn't work, it says invalid directory, I think the PDF report file needs to be on the server where the database is installed. Is there a way I can pick the PDF file from the local machine instead of the server where the database is installed?
    Im not too sure what is the way forward, All I need is to generate a PDF file and mail it.
    The procedure that I'm using to send the email attachment is :-
    CREATE OR REPLACE PROCEDURE email_attachment(
    xfilename VARCHAR2,
    xloc VARCHAR2) IS
    conn utl_smtp.connection;
    BEGIN
    conn := Send_Mail.begin_mail(
    sender => '[email protected]',
    recipients => '[email protected]',
    subject => 'Attachment Test',
    mime_type => Send_Mail.MULTIPART_MIME_TYPE);
    Send_Mail.attach_text(
    conn => conn,
    DATA => '<b>This is a test Email.<b>',
    mime_type => 'text/html');
    send_mail.attach_base64_fromfile(
    conn => conn,
    filename => xfilename,--'test.pdf',
    floc => xloc,--'File directory',
    mime_type => 'application/octet',
    inline => TRUE);
    Send_Mail.end_attachment( conn => conn );
    Send_Mail.end_mail( conn => conn );
    Thanks any help would be appreciated.

    Hi,
    in the forms 6i email with attachment can be sent only through database folder/file. From the client it can not be.
    Here is one alternate solution.
    1. Share the folder from db server which is used for email directory and keep changeable for everyone.
    2. After generate the report like RUN_PRODUCT keep the below command.
    HOST('XCOPY CLIENT_PATH\FILE_NAME SERVER_PATH');
    3. This command will transfer file from client to db server. After this execute your procedure which is sending email.
    Hope it will work.
    -Ammad
    Edited by: Ammad Ahmed on Mar 23, 2010 1:43 PM

  • "  Displaying the Report in PDF file Format "

    Hai Friend's,
    I have Developed a Report in Web-Intelligence .My Report is having 50 Collums and 600 Rows. The Report is too big Report. when the Save the Report in PDF File format, The PDF file Format Report is Consisting of 10 Pages, The Report Output is not coming in One Page. But my user want the Report  all the Field's :: Collumms,Rows in one Page.can Anybody let me know the solution.

    Hi Ashok,
    You can change the page size and orientation in the web.xml in the following folder.
    Web Intelligence default Page size Modification u2013 Follow these steps:
    1. Open the defaultconfig.xml file found in the following directory:
    servername\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\webiApplet\AppletConfig
    2. Look for the following code near the top of the page:
    <KEY VALUE="page*default">
    <FORMAT NAME="A4" ORIENTATION="portrait" />
    </KEY>
    3. Change this to:
    <KEY VALUE="page*default">
    <FORMAT NAME="LETTER" ORIENTATION="portrait" />
    </KEY>
    4. Save the file.
    All the Best,
    Madhu...

  • Save webi report as pdf programmatically

    Does anyone has any SDK code sample or can point me to the location of code sample on how to save a webi report as PDF file programmatically? Also, is the ReportEngineSDK is sufficient for this task or I need some other SDK?
    We are running XIr2 SP1 on Windows Server 2003, with Tomcat as web container.
    Any help will be very much appreciated.

    Hi,
    I think Using ReportEngine SDK you would not be able to save the webi report in PDF format.However it could be possible if you schedule a webi report to PDF format to unmanaged disk.
    You can refer the following tutorials given in developer library's BusinessObjects Enterprise SDKs. You can either use .NET or Java SDKs.
    How to schedule a report to a destination (FTP, SMTP, Disk, Printer, Inbox)
    How to schedule and view Web Intelligence documents
    Here is the link for developer library:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    Thanks,
    Swati

  • How to use PO message type to output 'Form' as PDF file

    Dear experts,
      I am working for a topic of how to use PO message type to output 'Form' as 'PDF file', and save to external file system automatically.
      Any one familiar to this topic, please kindly give me some guide, thank you!
    Regards,
    Joyce

    Hi,
       Go through the program RSTXPDFT4 (Converting SAPscript (OTF) or ABAP List Spool Job to PDF), you will get some idea.  Using this program you can convert spool into PDF file.
    -Alpesh

  • Multiple JSPs output into single PDF file

    Could anyone guide me on how do I combine output of multiple JSP files into a single PDF file? I have got 8 different reports and shall required to have single output of all of them in a PDF file. Its urgent. Please help.

    Hi Mahalakshmi,
    Clik on the link to view document: <b>[Combining Multiple Smartform Outputs Into One PDF File|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450?overridelayout=true]</b>
    Thanks
    Venkat.O

  • I am Required to Save before opening a PDF file in FF 10.0.1. How do I get FF to open the PDF file?

    I am Required to Save before opening a PDF file in FF 10.0.1. How can I get FF to open a PDF as the default?

    Check your add-ons:
    Cmd+Shift+A
    Make sure the Adobe Acrobat NPAPI Plug-in is set to Always Activate.

  • I use iMac desktop. I can't save web pages as PDF file by using Firefox, but by Safari is fine.

    I'm using Mac OS X 10.6.4. Today, I tried to save my email content as a PDF file. However, I only got a PDF file that have partial content of email. Then I adjust the printer setting and did it again, then I only got a blank PDF file. There was nothing inside. Then I tried to save email as a PDF file by using Safari browser. And I got a complete and sucessful PDF file. I usually save web pages or web mail, online receipt as PDF file by use Firefox. But since I have updated to the new version, there were many problems with my Firefox. I tried to restore all my application and made Firefox in the old 3.6.3 version which I used to have no problem. But now still not working.

    I solved it for myself: it was my HP smart-web printer crap that was a plug in and add on for firefox that somehow automatically got installed when I upgraded to 5. I disabled both in the add-ons manager, and voila, printing is working.
    It seems there are many things, like this and the Google toolbar, that were screwed by the oddly fast update to 5. Looks like Mozilla didn't give anybody any notice! Must've been some really bad security hole.

  • I use iMac desktop. I can't save web pages to PDF file by using Firefox, but by Safari is fine.

    I'm using Mac OS X 10.6.4. Today, I tried to save my email content as a PDF file. However, I only got a PDF file that have partial content of email. Then I adjust the printer setting and did it again, then I only got a blank PDF file. There was nothing inside. Then I tried to save email as a PDF file by using Safari browser. And I got a complete and sucessful PDF file. I usually save web pages or web mail, online receipt as PDF file by use Firefox. But since I have updated to the new version, there were many problems with my Firefox. I tried to restore all my application and made Firefox in the old 3.6.3 version which I used to have no problem. But now still not working.
    ''Duplicate post, continue [https://support.mozilla.com/en-US/questions/746583 here]''

    hello jlzibell, please go through the troubleshooting steps described at [[Websites say cookies are blocked - Unblock them]].

  • 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 lot

    PrintOutputController.export, get the byte stream, save on server.
    Sincerely,
    Ted Ueda

  • No link after exporting Crystal report as pdf file

    Hello,
              If my Crystal Report contain link to the .avi file saved on the local hard disk and if I export the Report as .pdf file, pdf file does not contain that link. Why?
    The overall scenario is like-
    My application fires a query on SQL Server database and result of that query is stored in a Dataset. This dataset is set as a datasource to the Crystal report.  Now some, records (returned by the query) have .avi files(i.e. Event Videos which are stored on the local hard disk) associated with them. I have stored these .avi files in a specific path on local Hard disk say "C:/EventVideos/*.avi" .   I used a special format in these avi files name. (like - "EventVideo_1.avi" (This is for 1st event), "EventVideo_5.avi" (This is for 5th event)etc. to identify which avi is for which event. All events do not have avi files associated with them)
          Now, I take one object in crystal report. Using it's Format editor created a formula for hyperlink as -
          "file:///c:/EventVideos/EventVideo_" + {DataTable1.EventID} + ".avi" .
    EventID is the field of dataset which has ID's (like 0, 1, 2,  3, 4 etc) of all resulted events. It is of a String data type.
         Now when I export, my report as .xls, .rtf, .doc, I can open the avi files. When I bring cursor on this object, cursor get change to Hand and after click on it avi file start to play.
         But if I export it as .pdf, it does not contain the link for avi files. When I bring cursor on this object, it does not change to Hand, and after click on it nothing happens. No video play.
    I stick to this problem.
    Appreciate your help.
    Thanks in advance.

    Taken from CR Help File:
    "PDF format is a page-based format. The exported documents are intended for printing and redistribution. PDF format will export both layout and formatting in a manner that is consistent with how the report looks on the Preview tab. PDF format embeds the TrueType fonts that appear in the document. (Non-TrueType fonts are not supported.) This export format does not support Microsoft font-linking technologyu2014which is used to provide support for some extended character sets such as Chinese HKCS. Therefore, the fonts used in the report must contain all of the required glyphs. These URI types are supported for hyperlinks: "http:", "https:" and "mailto:".
    Therefore your hyperlink is not working as u are using File type when cr only supports http https and mailto uri types

  • Why can't I "Save as Text" a pdf file received as an email attachment?

    I can "Save as text" a pdf file which I have created in my own computer (that is, it goes into MS notebook that I then can Copy and Save as an MS Word file) but not when I receive a pdf as an email attachment. (The file is saved, but it is empty.) Why would I want to convert my own pdf back to text? Well, in case I no longer have the original Word document I suppose, but the thing is "Save as text" works with my pdf, but not with those I recieve from others. How come? Thanks!

    Is this a scanned PDF? If so, it must first be OCR'd.

  • How do I save a pdf file to a folder?

    How do I save a pdf file to a folder?

    Hi,
    Are you trying to save your PDF files from Acrobat.com to your folder in our computer?
    If so, download your PDF files from https://files.acrobat.com to your local folder.
    Please let me know if I did not answer your question.
    Hisami

Maybe you are looking for

  • Bad Bind Variable

    Hi friend, I do want to use a trigger to update a varchar2 value: create or replace trigger WORK_STITCH_NAME_TRIG after insert or update on ASS_WORK_STITCH for each row declare NAME VARCHAR2(100); begin if inserting then select ENAME into NAME from U

  • Verizon email support and customer service - simply horrible

    After spending a frustrating and annoying morning trying to get Verizon Technical Support to help fix a problem with blocked access to Webmail, I notice on this forum that mine is not the only problem,.....except I have not seen the same issue denote

  • Can't start HTTP Server

    Hi all Oracle people please help I can't run my forms in DevSuite 9i-got error FRM1042-Http listen is not running on <machine>:8890 port. I tried to start HTTP server from services(Control panel)-i noticed that HTTP sevrer properties i set to be manu

  • Merge to HDR Pro is not in menu option under automate in Photoshop CS6.

    I am doing a Photoshop CS6 course.  One tutorial involves using "merge to HDR Pro" shioch shoule be in File - Automate.  I don't have this in my menu listing.  Does anyone know why this is and if it is possible to add it?  Thank you.

  • Is there a way to reset my entire macbook the newest version

    I want to reset my entire macbook, to clean everything up and start new. Is there any way I can do this ?