How to generate a local file pdf  with reports 11g

I want to generate a local pdf file to print it with client_host

I think using report builder can't support pdf output,...All of our reports are PDF output so Reports 11g definately supports this format.
I'm a little confused by your request, however. If your user has your PDF report displayed in a browser window - can't they just click the "Save" button in Acrobat Reader to save the report to their computer?
Is your user wanting to bypass this step and have the report generated and saved automatically to their computer? If this is what you want to do, then Francois's suggestion is the way to proceed. You will be using the WebUtil library to transfer the file to the client computer. This means, you will need to complete the configuration of the WebUtil library on your application server before you can use any of the WebUtil methods.
If you are new to WebUtil, I recommend you search the Forms Help on "Webutil" and review the following articles:
Configuring WebUtil
Runtime Setup Checklist
These first two articles give you step-by-step instructions for completing the WebUtil configuration on your application server.
Using WebUtil in Your Appilcations - This article will demonstrate how to implement WebUtil in a Form.
Hope this helps,
Craig...

Similar Messages

  • How to refresh a local file in the Reporting Studio?

    Hello,
    I need to refresh a few local files in the Reporting Studio via script, but obviously command
    ActiveDocument.Sections["Sectionname"].Process()
    does not work, since it's not a query. What else could I use?
    Many thanks for any answer.

    I am confused...How is the solution not exactly what I look for ?
    You asked how to refresh imported data files via script.
    You correctly identified that the Imported file is not a Query.
    However if you look at the Object model closely you will notice properties that if you can think outside the box will allow you to treat the imported file like a query section.
    ActiveDocument.Sections["data.csv"].ProcessSequenceNum
    ActiveDocument.Sections["data.csv"].IncludeInProcessAllBy strategically setting unwanted sections not to process via
    ActiveDocument.Sections["Sectionname"].IncludeInProcessAll = falseand setting targeted section(s)...imported file(s) to process via
    ActiveDocument.Sections["Sectionname"].IncludeInProcessAll = trueThen
    ActiveDocument.ProcessAll()Your section(s) will refresh.
    If this is not a satisfactory solution then move the data files to a database or create a DSN entry and OCE to those files instead of importing them.

  • How to generate a Text file from a Report

    Hi Friends,
    I need to generate a Text file foramat from my Report.My client is having a text file in a standard format.I need to Generate this Text file according to that text format.
    My requirement is For one production order there will be so many line items and for each line item based on its Quantity i need to generate serial numbers.
    For Ex for Production order 100 there r 3 line items.If 1st line item is of Quantity 20.I need to Generate 20 serial numbers for the 1st line item and the same for the remaining line items also.
    How can i proceed.I need to do dis based on the production order Number.
    In d selection screen i need to put the fields Production order Number and From:----
    To:----
      and u button Generate Text file.If I click on Generate Text file Text file should be generated.
    Thanks & Regards,
    Chitty.
    Edited by: chitty d on Mar 12, 2009 5:44 AM

    Hi,
    As far as i understand from your requirements, it like you need all the data item leve into a text file.
    You can fetch all the relevant data from variuos tables and then use  GUI_Download into a text file.

  • How to generate multiple "gift certificate" pdfs with unique serial #s

    I am a new Acrobat user (have Adobe Acrobat 9 Pro) and poked around a bit to see if I could find out how to do this, but found nothing.
    I assume this has been done before and hope someone can point me in the right direction.
    Here's what I am trying to do:
    1. I currently have a pdf doc with a field for a unique serial # (let's call the doc a "Gift Certificate" for simplicity, though that's not quite what it is).
    2. I want to generate multiple pdf files, say 100 of them, based on this original Gift Certificate, but with each one having a unique serial # in the appropriate field, say starting at ser # 1001, and running through to ser # 1100.
    3. I want to be able to save each of these new files on a hard drive - not outputting them to a printer (though this might come in handy in the future too).
    Is this something I can do in Adobe Acrobat Pro 9?  I looked at the Batch Processing tool, but that didn't seem to have any ability to create new files.
    Or do I need a plug-in?  Or a separate software altogether?
    Any help for this novice would be greatly appreciated.
    Thanks
    keith

    Problem solved.
    Forum member try67 wrote me a script, complete with simple installation instructions.
    It works perfectly right out of the box.  Great stuff!!!
    Wish it always worked that way.
    Keith

  • Developer Report 10g - How to generate directly a file ( pdf, html, text etc. )

    hi all gurus,
    this is my first ever post, I am new in the development area and facing a problem.
    I am using Developer 10g, calling report through a Form Module and want to Directly save in file name specified but failed. My code to call report mentioned below for your ready reference. NO Parameter using in Report Module.
    This showing report on Screen instead of giving output file, user have to use Save As command and also there is no file name which I sent to Report Module.
    ---------------------------------- START of CODE -----------------------------
    Declare
      rep_obj         REPORT_OBJECT;   
      v_rep           VARCHAR2(100); 
      rep_status      VARCHAR2(20); 
      v_rep_server    app_server_objects_detail.OBJECT_VALUE%type;
      v_p_action      app_server_objects_detail.OBJECT_VALUE%type;
      v_rep_getjobid  app_server_objects_detail.OBJECT_VALUE%type;
      v_rep_killjobid app_server_objects_detail.OBJECT_VALUE%type;
      v_rep_obj_path  app_server_objects_detail.OBJECT_VALUE%type; 
    BEGIN 
      --------------------------------- setting app server object properties ---------------------------------
      for rec in ( select object_code,object_value
                     from   itmis.app_server_objects_detail
      loop 
         if rec.object_code=1 then
            v_rep_server:=rec.OBJECT_VALUE;
         end if;
         if rec.object_code=11 then
            v_rep_obj_path:=rec.OBJECT_VALUE;
         end if;
         if rec.object_code=19 then
            v_rep_getjobid:=rec.OBJECT_VALUE;
         end if;
         if rec.object_code=20 then
            v_rep_killjobid:=rec.OBJECT_VALUE;
         end if;
         if rec.object_code=21 then
            v_p_action:=rec.OBJECT_VALUE;
         end if;
      end loop;    
      rep_obj := find_report_object('SHORT');  --- report name
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_EXECUTION_MODE,BATCH); 
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_COMM_MODE,SYNCHRONOUS);
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_DESTYPE,FILE);
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_DESFORMAT,:TEXT_BLOCK.REP_FORMAT); -- Form's Text Field
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_SERVER,v_rep_server);
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_DESNAME,:TEXT_BLOCK.FILE_NAME);  -- Form's Text Field
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_OTHER,'paramform=no'||
                                                      ' P_SERVERNAME='||v_rep_server||
                                                      ' P_ACTION='||v_p_action);
      set_report_object_property(rep_obj,REPORT_FILENAME,v_rep_obj_path||lower('short.rdf'));
      v_rep := RUN_REPORT_OBJECT(rep_obj);
      rep_status := REPORT_OBJECT_STATUS(v_rep);
      WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
        LOOP
          rep_status := report_object_status(v_rep);
        END LOOP;
      IF rep_status = 'FINISHED' THEN
          WEB.SHOW_DOCUMENT(v_rep_getjobid||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_rep_server,'_blank');
          WEB.SHOW_DOCUMENT(v_rep_killjobid||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_rep_server,'_blank');
      ELSE 
        message('Error when running report', Acknowledge);  
      END IF; 
    EXCEPTION
       WHEN OTHERS THEN
            show_err_msg;
    END;
    ---------------------------------- END of CODE -----------------------------
    Please help where I made mistake.
    Regards.

    thanks for reply.
    but how I can do it? report runtime should call and when it will complete then one can save but again how ? will you please give me an example. I do not want the user to see the output instead report should save in a location which is in  SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_DESNAME,:TEXT_BLOCK.FILE_NAME); 
    Please consider, I already have mentioned that I am new in this area. I tried google to search but failed. some PDFs downloaded but nobody has mentioned there to use WEBUTIL package to save this report output.
    Regards.

  • How to delete a local file in the presentation server.

    Hi All,
    How to delete a local file in the presentation server. As we do using 'delete dataset dsn' in application server. How can i achieve this. My requirement is after uploading file using gui_upload, i want to delete that source file. Please let me know, how can i achieve this.
    Thanks in advance.
    Regards,
    Vishal

    data: l_rc type i.
      data: f_name type string.
        move 'c:\YourFile.txt' to f_name.
        CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_DELETE
          EXPORTING
            FILENAME             = f_name
          CHANGING
            RC                   = l_rc
         EXCEPTIONS
           FILE_DELETE_FAILED   = 1
           CNTL_ERROR           = 2
           ERROR_NO_GUI         = 3
           FILE_NOT_FOUND       = 4
           ACCESS_DENIED        = 5
           UNKNOWN_ERROR        = 6
           NOT_SUPPORTED_BY_GUI = 7
           WRONG_PARAMETER      = 8
           others               = 9
        IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.

  • How to open a local file from javascript in a jsp-page

    Hi
    I have created an iview from a PAR file. In the par file I have a jsp-page with some javascript code. From the javascript coe I want to open a new window with an Excel file.
    I have tried window.open("c:
    test.xls", "test_window"), but it doesn't seem to work. I have created a small HTML page locally with the same command and there a new window opens with the Excel file.
    If I change the local file path with an URL it also works.
    Any idea how to open a local file ?
    Thanks
    /Jakob

    Jacob,
    I'm not 100% (but 99,9%) and it has to do with security ristrictions of the browser not allowing to have local workstation interation from the web. This is ofcourse very dangerous if the browser would allow it... So therfore it is blocked. What if somone would point to a file/executable that formats your drive so for that reason it is not allowed to have web interaction with a local file. Only with Java Applets this is possible but still with many limitations, and what I remember Google Gears and Adobe Air do have some limited web 2 local file interaction... So best and most simple solution you are left with is pointing to a url instead of a file on a c:\ drive.
    PS The reason why it works when you start the html from your local PC has todo with the fact that the browser detects that the html is not running in the web at that moment therefor allowing the access.
    Cheers,
    Benjamin Houttuin

  • How to generate an XML file for an animation of IK armature

    Can someone please tell me how to generate an XML file for an animation of IK armature.
    I have a 5 keyframe/16 frame animation of a human character made up of a series of moveiclip symbols that is animated with an IK armature.  I need the XML information from the animation. 
    When I go to Commands > Export Motion XML I get the error message "There is more than one object on frame 1" and then nothing happens.
    Thank you,
    c

    I hope that's not the case.  I want to write to adobe about it.  I think it's a great feature and it functions really well even though it is not a very developed IK tool.  My biggest issue with it is ouput options and integration with motion tweens.
    I have seen a lot of examples of animators using it online, just no one talked about output.  I just feel it hasn't been developed.  It can generate a sprite sheet but only for a single pose frame of the animation, and not all the key frames or pose tweens.  I find that functionality quite odd, as if adobe just forgot about IK when added in sprite sheets, etc. and the reason it half works is just an accident.

  • How to generate dynamic param file

    Hi, Can anyone please tell me how to generate dynamic parameter file from a table. Table has following structure: create table parameter_temp{Folder_name ,Workflow_name,session_name,parameter_name,parameter value} This table stores all the parameters for all the workflows. How can I generate parameter file for specific session or workflow. Thanks,

    Hi All, I have a scenario to implement.Need urgent help. I have relational source which has below fields. ID,Account,AccountType,Balance1,1001,GL,46567.901,1002,SL,56889.971,1003,Equity,45543.9081,1004,GL,89.541,1005,SL,-56889.971,1006,Equity,-45543.9081,1007,SL,-42777.45  Here my first requiremnt is to check if the balance value for entire file is 0 and if balance amount for each AccoutType is 0 , if both condtionn satifies the flow will go , else load will fail. I tried in below approach. SQ >> Expression >> Aggregator  In aggregaor i have first calculated sum(balance) for entire file by group by on ID column in an aggregator , and keep actual data in expression transformation. Then i took an expression to connect actual data with the sum(balance) , since i need to perform further calculation.I tried connecting expression and aggregator , but it is not allowing me to connect the posrts. And if i am using a joiner , then wrong data is loading to target. It is joining each result of aggregator with actual ports in expression.   I am not sure how to handle this scenario, so that we can just calculate sum of entire file and sum on basis of account type , is both sum are 0 then load the target , else fail.

  • How to generate .SQL format file from oracle database?

    How to generate .SQL format file from oracle database?
    I have a database of Oracle 8.1.6,now want to generate script file (including table structure,index,etc.) from it,What should I do?
    Thanks.

    Your question pertains to the Database Export/Import. This forum exclusively focusses on the export/import utilities that come along with "Oracle Portal" which is a web-based tool. Could you please post your question under the RDBMS export/import or migration forum.

  • How I could generate an XML file from a report in version 4.0B

    Good morning,
    How could I generate an XML file from a report? Please note that I am using version 4.0B
    I don't have access to
    Billy Vital

    Hi,
            In the Class CL_XML_DOCUMENT,
                 we have a method  EXPORT_TO_FILE to download an XML file.

  • How to excute a local file?

    Hi. Experts.
    I want to excute a file (like aaa.doc) when i click a file after uploading in alv.
    How to excute a local file?
    I used behind command
        lv_filename = ls_zdmt03-filenm.
        cl_wd_runtime_services=>attach_file_to_response(
           i_filename               = lv_filename
           i_content                = ls_zdmt03-filecontent
           i_mime_type              = ls_zdmt03-filetype
           i_in_new_window = abap_true
           i_inplace                = abap_true ).
    But do not excute one. just open a browser and quickly close a browser.
    Please help me.
    Thanks
    Regards.

    What do you mean by execute a file?  You say execute, but then in your example you list aaa.doc.  A word document doesn't need to be execute.  The cl_wd_runtime_services=>attach_file_to_response will download a file (like a word document) and the browser will open it in its default program.  Is that not what you want to happen?
    What kind of file do you actually have?  Is it on the server or the client?
    If you want to execute applications on the client machine, then you can consider the UI element ACFExecute - as of NetWeaver 7.0 Enhancement Package 1.

  • How To Generate Debug Log Files for ebs jsp?

    hi   How To Generate Debug Log Files for ebs r12 jsp?
    and where i get the log .please help me thanks!

    Please check following MOS Document
    Oracle Application Server Diagnostic Tools and Log Files in Applications Release 12 (Doc ID 454178.1)

  • How do I open raw files taken with Canon 70D.  Not supported in Elements 12.  Is there a download?  Thanks.

    How do I open raw files taken with a Canon 70D?  Elements 12.  Version 8.0 Windows 7 64 bit.  Thanks in advance for any help.
    JWT
    Lamar, CO

    Thank you so much for you quick answer.  Works fine, now.  Thanks again, Barbara.
    JWT

  • Generate an HTML file from a Report in ABAP

    Good morning,
    How I could generate an HTML file from a report.
    Any Ideas... I have found the function WWW_ITAB_TO_HTML, but someone has the standar code and how use this function?
    Thanks a lot,
    Hernán Restrepo

    Hi,
    I am facing a similar problem.I did try using the function module WWW_ITAB_TO_HTML in the reoprt program, as I'm trying to generate a url from a report, but i'm not able to get the expected results. The code is given below. Could someone please try and help me resolve this issue.Thanks in advance.
    DATA:   emp_name                     TYPE char80.
    DATA:   it_itabex                    TYPE zdb_ex_tty,
            it_emp                       TYPE TABLE OF zis_emp,
            it_org                       TYPE TABLE OF zis_org,
            it_pos                       TYPE TABLE OF zis_pos,
            it_pos_alloc                 TYPE TABLE OF zis_pos_alloc,
            it_res                       TYPE TABLE OF zis_res,
            it_res_alloc                 TYPE TABLE OF zis_res_alloc,
            ls_itabex                    TYPE zdb_ex_s.
    DATA:   lv_filename                  TYPE string,
            lv_path                      TYPE string,
            lv_fullpath                  TYPE string,
            lv_replace                   TYPE i.
    DATA qstring LIKE it_itabex OCCURS 10.
    DATA: url(200), url2(200), url3(200), fullurl(200).
    FIELD-SYMBOLS: <fs_emp>              LIKE LINE OF it_emp,
                   <fs_org>              LIKE LINE OF it_org,
                   <fs_pos>              LIKE LINE OF it_pos,
                   <fs_pos_alloc>        LIKE LINE OF it_pos_alloc,
                   <fs_res>              LIKE LINE OF it_res,
                   <fs_res_alloc>        LIKE LINE OF it_res_alloc.
    Report Program to export data from database to Excel.
    Populate all the tables that have to be exported.
    SELECT * FROM zis_org       INTO TABLE it_org.
    SELECT * FROM zis_pos       INTO TABLE it_pos.
    SELECT * FROM zis_pos_alloc INTO TABLE it_pos_alloc.
    SELECT * FROM zis_emp       INTO TABLE it_emp.
    SELECT * FROM zis_res_alloc INTO TABLE it_res_alloc.
    SELECT * FROM zis_res       INTO TABLE it_res.
    Append the Column Header
    CLEAR ls_itabex.
    ls_itabex-ipp_pos_id            = 'IPP Pos ID'.
    ls_itabex-emp_name              = 'Name'.
    ls_itabex-dt_of_join            = 'JoinedOn'.
    ls_itabex-emp_status            = 'Status'.
    ls_itabex-org_name              = 'Org'.
    ls_itabex-prj_name              = 'Project'.
    ls_itabex-mgr_name              = 'Line'.
    ls_itabex-designation           = 'Designation'.
    ls_itabex-specialization        = 'Specialization'.
    APPEND ls_itabex TO it_itabex.
    Append all the tables into one internal table
    LOOP AT it_pos_alloc ASSIGNING <fs_pos_alloc>.
      CLEAR ls_itabex.
      ls_itabex-ipp_pos_id          = <fs_pos_alloc>-ipp_pos_id.
      READ TABLE it_emp ASSIGNING <fs_emp> WITH KEY emp_guid = <fs_pos_alloc>-emp_guid.
      IF sy-subrc = 0.
        CONCATENATE <fs_emp>-emp_fname <fs_emp>-emp_lname INTO ls_itabex-emp_name  SEPARATED BY space.
        ls_itabex-dt_of_join        = <fs_emp>-dt_of_join.
        ls_itabex-emp_status        = <fs_emp>-emp_status.
        ls_itabex-specialization    = <fs_emp>-specialization.
      ENDIF.
      READ TABLE it_pos ASSIGNING <fs_pos> WITH KEY ipp_pos_id = <fs_pos_alloc>-ipp_pos_id.
      IF sy-subrc = 0.
        ls_itabex-designation       = <fs_pos>-designation.
        READ TABLE it_org ASSIGNING <fs_org> WITH KEY  org_id = <fs_pos>-org_id.
        IF sy-subrc = 0.
          ls_itabex-org_name        = <fs_org>-org_name.
          ls_itabex-mgr_name        = <fs_org>-mgr_name.
        ENDIF.
      ENDIF.
      READ TABLE it_res ASSIGNING <fs_res> WITH KEY org_id = <fs_org>-org_id.
       ls_itabex-org_name         = <fs_org>-org_name.
      APPEND ls_itabex TO it_itabex.
    ENDLOOP.
    url = 'http://testweb/scripts/wgate/zvw10a/!?~language=en'.
    url2 = '&~OkCode(LGON)=LGON&login-login_user='.
    url3 = '&vbcom-vbeln='.
    CONCATENATE url url2 url3 INTO fullurl.
    WRITE: /'Staffing Excel'.
    CALL FUNCTION 'WWW_SET_URL'
      EXPORTING
        offset        = 12
        length        = 10
        func          = fullurl
      TABLES
        query_string  = qstring
      EXCEPTIONS
        invalid_table = 1
        OTHERS        = 2.
    Thanks & Regards,
    Preethi.

Maybe you are looking for

  • Adobe Reader error with SAP interactive form in Web dynpro ABAP

    Hi, We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark a

  • Ssrs Report taking to much time to load

    Hello all, I have a matrix report which was running nice before some days, but now taking too much time to load  i tested store procedure but it is ok to return same data in 5 seconds  and when i tested in ssrs BIDS side i set 60 sec for dataset time

  • Why to use Logminer

    Hello, Well I am trying to learn more about Logminer utility. We run exports on all our databases every week. Is there any way Logminer can replace the need to do full export and can still give same recovery options as in export ? Thank you in advanc

  • Is it possible to fully clean install my macbook pro without losing applications?

    Hello, Im currently thinking of setting my macbook to out of the box state. But by doing this i don't want to lose my apps. (creative cloud, cinema 4d. etc etc) Is this possible? Im running a rMBP 15" + gt750m mid 2014 10.10.3 Kind regards.

  • Need help with my new WD elements hard drive

    so i bought this WD Elements 2TB online from Buy.com with usb cable compatble for both 2.0 and 3.0. when i hook it to my personal laptop which has windows 7 professional as OS (byt the way its 2 year old laptop). as soon as i hook it up i get a littl