Saving report output in default path

Hi,
We are using the 6i reports server. We want to save the report output as a file in a default path. We are making the report requests through URL call from within a PL/SQL block. When we give just the filename(this will dynamically be generated for each request) in the DESNAME parameter, it is saving directly into the path where we started the reports server. We don't want to hardcode the required path in the PL/SQL block.
Can't we set the default path for saving the report output during the configuration of the reports server?
Is there any alternative to achieve this, like storing the path(without filename) in any configuration file similar to <servername>.conf in 9i reports server?
Regards,
Milton.

Hi Milton
Try these suggestion and see if they work...
Add ORACLE_HOME/bin in your system PATH and run Reports Server from the folder where you want your output file to be generated.
You could also be storing the "default" path in a config file and use IO packages to read it.
Create a user parameter of character type and do the following in any of the Reports trigger:
:desname := :p_1 || :desname;
You may pass the "default" path on the URL.
Regards
Sripathy

Similar Messages

  • Default name for saving report output

    Hi,
    I created an Oracle Report that is run via the rwservlet. Users will be prompted to view/save the output when destype=cache and desformat=pdf, spreadsheet, or delimiteddata. When they try to save the output, the default file name is rwservlet.pdf (or rwservlet.xls). Is there a way to specify a different default file name? Setting the desname and/or jobname parameter (e.g. desname=temp.pdf) doesn't have any effect. Has anyone found a solution to this?
    Thanks,
    Brian

    Hello,
    A solution may be to add a HTTP header "Content-disposition" to the answer sent by the Reports Servlet:
    Content-disposition: attachment; filename=fname.ext
    http://support.microsoft.com/kb/260519
    How To Raise a "File Download" Dialog Box for a Known MIME Type
    This HTTP header can be added with a "Servlet Filter" :
    Servlet Filter
    http://download-east.oracle.com/docs/cd/B25016_07//doc/dl/web/B14017_02/filters.htm#i1002889
    Regards

  • Saving Report output to File

    Hello,
    I remember Portal(first version and WebDB prior to that)
    perfectly saving a Report as File even if the Report output
    spans multiple pages.
    Now I am using the latest version of Portal and I am unable
    to save the Report to file when the Report output paginates to
    several pages.
    It always saves the First Page of Report.
    Please throw light through any form of Solution.
    Thanks a million
    Madhav

    put the lines per page higher

  • Saving reports output in PDF or Excel

    Hello, I am in the process of developing some oracle reports to run over the web. My question is. When the reports are run over the web how can I save the output in either PDF or Excel. The reports will be called from
    a form with parameters passed. I am also having a problem whem the output is shown in htlm it is wrapped. Is there away to stop this data wrapping process from happening?
    Thanks,
    Morris

    Hi Ratheesh,
    In a previuos posted message I've suggested to Carla close exactly the same you did after. And also did'nt worked.Anyway, just for your info.
    Dear Carlangas (as we say in Mexico, with no offense)
    Here is a workaround for you...
    As I'm not a JSP expert developer in my case I will do next
    It seems we are facing a problem with the DESFORMAT=PDF and report out parameter for your jsp report and requiere a jsp/reports experienced developer help or further investigation. I'm not saying it's not possible to generate a PDF output from a jsp report, but for the moment nobody has said how to.
    I believe you saved your report in jsp format because you need your users review the report previuosly they may print it.
    I also suppose you have a form with a magic button from where you launch your report.
    Well I will call your existing button PREVIUOS or will add a nice gif icon and will create another one called PRINT or with a pretty printer .gif icon. This new button will call a RDF version of your report. As you have read is very easy to create PDF format/output report in RDF format.
    Also your will need negotiate presentation with your customer. As you must know reports output in a Paper report, PDF, jsp formats are not always exactly the same because they are not simply the same.
    Hope this help you. In the meantime you will save time for your investigation for a future release of your report.

  • Saving report output on client machine

    Hi All,
    I'm using reports 6i. I'm running a report on the web which runs 5 reports inside it and it should save the outputs of these five reports in PDF format to the client machine. I can not give mime type as i don't want to show it in the acro. reader. What i want is, silently all these 5 outputs should get saved on the client machine and the main reports should say something like 'The reports generated and saved in c:\...... '. Can somebody help
    TIA
    Manish

    hello,
    what you can do, is to run the reports to file on the server in a directory, that is available as virtual path and then use e.g. javascript to fetch these reports.
    hope this helps,
    the oracle reports team

  • Saving report output to a file on the server.

    Hi,
    We are using BI Publisher Standalone version 10.1.3.3.1.
    Is it possible to schedule a report to output to a file on the server?
    I want the whole report to be saved as a file on the server.
    This is somewhat similar to bursting to a file system, but, I don't want to split the output.
    Any help is appreciated.
    Thanks,
    Nanda

    Yes, use the scheduler and schedule the report,
    do the bursting into FTP or
    schedule the report to run and run it into FTP as a single FILE.
    First option, you need to provide the query , with FTP server name, username, password etcccc.

  • Error while saving Report output-Authentication failed

    Hi All,
    For the client system there is a customization report with output of html format. it can't display all with the error message
    unable to open the internet site. http://<site:port>/OA_CGI/FNDWRR.exe?temp_id=<temp_id>*
    operation aborted*
    if user choose to "save as" , it will back with error message
    Authentication failed*
    Can anyone here give me some guide?
    Best Regards,
    Chelsea

    Refer Note 184154.1
    Regards,
    Srini

  • Urgent - Default path of saving reports when destype = file

    Hi,
    When I specify the destype = file, the generated report gets
    saved in the daefult directory, i.e., the orant/bin.
    Now, I want to save the file on a different machine.
    I understand that I can do it by specifying the desname =
    path/filename.
    But I cannot do this, because I don't want to show the whole
    path in the URL. Moreover, I cannot give it in teh cgicmd.dat,
    because the filename is not static. I want to append a time
    stamp etc. to the file name. Is there some way that I can
    specify teh path in cgicmd.dat and the file name in the URL?
    Or,
    is there an environment variable or something where I can
    specify the default path where the files should be generated?
    Any help would be much appreciated.
    Regards,
    Vibha

    Hi,
    I tried the following:
    I did not specify the desname parameter in the cgicmd.dat file
    and in the After Parameter Form trigger, I have done:
    Begin
    :desname := 'e:\Testing.html';
    I gave a desname that is not dynamic, just to test. But this,
    does not set the desname. The file is still saved in teh
    Orant/Bin folder. (default folder).
    If I specify some desname in the cgicmd.dat file, then the file
    gets saved in that path. What I have specified in the After
    Parameter Form trigger does not seem to reset it.
    Note: The trigger is being fired, as other things that I am
    doing in the same trigger are getting executed.
    Please advise.
    Regards,
    Vibha

  • When saving documents from word 2013, the save as dialog shows the default path under "other web locations"

    it used to be in the gold ole days of sharepoint 2010 and office 2010 that when I created a document in sharepoint and saved it I would get a dialog, like this (see below)  I have also attached a screen shot of the 2013 save dialog (when you save
    a document for the first time).
    I find it strange that the user actually has to select their "Current Folder" and also that it shows in the dialog as "other web locations"  Why can't it be like in the 2010 days where it automically selects the correct location
    and the user just hits save.  And why does the sharepoint location show up as an "other web location".  Is there anything that can be done (through office registry settings or another way) to make this less confusing for our users???
    now when I do this in office 2013 I get a dialog like this:
    krd

    Hi kdube,
    I test in SharePoint 2013 again, When I created a new document library and created a first document and clicked save as, I got a same dialog with you that "Current Folder" was under  "other web locations". 
    But when I created a second document and from then on, when I clicked save as, I got a same dialog with myself that "Current Folder" was under "SharePoint".  
    As I have said, Actually, web locations contain Microsoft SkyDrive and SharePoint libraries. Even the default path under "other web locations", it will not affect the Save As function. 
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Regarding SavIng of reports output into appl. or presentation server

    Hello Everyone I am working on ALE IDoc I am getting my output in forms of XML. I want to save my reports output directly to presentation server or application server (i have neither any flat file on desktop nor any file on application server).
    I have following codes which convert my Idoc into XML:
    *& Report ZIDOC_XML_CONVERSION
    report ZIDOC_XML_CONVERSION.
    types: TRESLIN(4096) type X,
    TRESTAB type standard table of TRESLIN.
    data: RESSTR type ref to IF_IXML_OSTREAM.
    data: RESTAB type TRESTAB.
    data: XSLTP type ref to CL_XSLT_PROCESSOR.
    data: G_IXML type ref to IF_IXML,
    G_STREAM_FACTORY type ref to IF_IXML_STREAM_FACTORY,
    DIR type STRING.
    data: IDOC type ref to CL_IDOC_XML1.
    data: PROGNAME type CXSLTDESC.
    data: STR type STRING.
    data: XSTR type XSTRING.
    data: RESSIZE type I.
    data: ID type EDI_STYLE.
    data GLOBAL_DOCNUM type EDI_DOCNUM.
    data GLOBAL_STYLEID type EDI_STYLE.
    data: GLOBAL_OK_CODE(30).
    data: HTML_CONTROL type ref to CL_GUI_HTML_VIEWER.
    data: FCODE_WA(30).
    data: FCODE_TAB type standard table of CHAR30.
    data: MS_DEFAULT_STYLE type EDI_STYLE.
    data: SAP_DEFAULT_STYLE type EDI_STYLE.
    data: SAP_TEXT_STYLE type EDI_STYLE.
    data: SAP_CONTEXT_STYLE type EDI_STYLE.
    data: TEXT_MS_DEFAULT_STYLE(30).
    data: TEXT_SAP_DEFAULT_STYLE(30).
    data: TEXT_SAP_TEXT_STYLE(30).
    data: TEXT_SAP_CONTEXT_STYLE(30).
    data ACTION like SY-UCOMM.
    parameters: IDOCNUM like EDIDC-DOCNUM,
    IDSTYLE type EDI_STYLE,
    ACTIONS type EDI_STFLAG.
    class CL_IXML definition load.
    class CL_ABAP_CHAR_UTILITIES definition load.
    class CL_GUI_FRONTEND_SERVICES definition load.
    class CL_GUI_HTML_VIEWER definition load.
    data: CONTAINER type ref to CL_GUI_CUSTOM_CONTAINER.
    data: REPID like SY-REPID, DYNNR like SY-DYNNR.
    data: WA_OBJ_LOCATION type IDOCSTYLE.
    data: LOCAL_XSLID type EDI_STYLE.
    data: BASE_URL(30).
    data: DATA_TABLE type TAB_RAW512.
    data: LEN type I.
    data: UI_FLAG type I.
    data: MYEVENT_TAB type CNTL_SIMPLE_EVENTS,
    MYEVENT type CNTL_SIMPLE_EVENT.
    data: LOCAL_STYLEID type EDI_STYLE.
    data: PARENT type ref to CL_GUI_CONTAINER.
    data: LINE type I.
    data: WA_SRC type STRUCT_SRC.
    data: LOCAL_EDIDC type EDIDC.
    data: TAB_OBJ_LOCATION type standard table of IDOCSTYLE .
    data: GEN_EX type ref to CX_XSLT_EXCEPTION.
    data: SRCSTR type ref to IF_IXML_ISTREAM.
    *load-of-program.
    try.
    create object XSLTP.
    catch CX_XSLT_EXCEPTION.
    write / TEXT-E01. exit. " XSLT not supported
    endtry.
    G_IXML = CL_IXML=>CREATE( ).
    G_STREAM_FACTORY = G_IXML->CREATE_STREAM_FACTORY( ).
    DIR = ''.
    call method CL_GUI_FRONTEND_SERVICES=>GET_TEMP_DIRECTORY
    changing
    TEMP_DIR = DIR.
    *start-of-selection.
    GLOBAL_DOCNUM = IDOCNUM.
    GLOBAL_STYLEID = IDSTYLE.
    get parameter id 'IDOC_STYLEID' field GLOBAL_STYLEID.
    if GLOBAL_STYLEID is initial.
    GLOBAL_STYLEID = 'IE5'.
    endif.
    clear FCODE_TAB.
    clear GLOBAL_OK_CODE.
    clear ACTION.
    we only support action "deletemark" + "closeproce"
    if ACTIONS ' X X '.
    FCODE_WA = 'DELM'.
    append FCODE_WA to FCODE_TAB.
    FCODE_WA = 'CLPR'.
    append FCODE_WA to FCODE_TAB.
    endif.
    Create Object and create IDOC_XML
    create object IDOC
    exporting
    DOCNUM = IDOCNUM
    exceptions
    ERROR_LOADING_IDOC = 1
    ERROR_BUILDING_XML = 2
    others = 3.
    if SY-SUBRC 0.
    message id SY-MSGID type 'E' number SY-MSGNO
    with SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4
    raising NO_IDOC_XML_LOADED.
    endif.
    Determine transformation program.
    clear TAB_OBJ_LOCATION.
    select * from IDOCSTYLE into table TAB_OBJ_LOCATION
    where ( STYLEID = GLOBAL_STYLEID or STYLEID = '' )
    and ( MESTYP = LOCAL_EDIDC-MESTYP or MESTYP = '')
    and ( DIRECT = LOCAL_EDIDC-DIRECT or DIRECT = '')
    and OBJNR = 0.
    describe table TAB_OBJ_LOCATION lines LINE.
    if LINE > 0.
    loop at TAB_OBJ_LOCATION into WA_OBJ_LOCATION.
    move WA_OBJ_LOCATION-URL to PROGNAME.
    clear WA_OBJ_LOCATION.
    exit.
    endloop.
    else.
    message E110(IDOC_XML1) with LOCAL_XSLID WA_OBJ_LOCATION-URL
    raising ERROR_LOADING_OBJECT.
    endif.
    Transformation
    call method IDOC->GET_XMLDATA_AS_STRING
    importing
    DATA_STRING = STR.
    RESSTR = G_STREAM_FACTORY->CREATE_OSTREAM_ITABLE( TABLE = RESTAB )
    RUN
    try.
    call transformation (PROGNAME)
    source xml STR
    result xml RESSTR.
    catch CX_XSLT_EXCEPTION into GEN_EX.
    message E110(IDOC_XML1) with LOCAL_XSLID WA_OBJ_LOCATION-URL
    raising ERROR_LOADING_OBJECT.
    exit.
    endtry.
    write : / STR.
    I am getting following output:
    <?xml version="1.0"?><RSREQUST><IDOC BEGIN = "1"><EDI_DC40 SEGMENT="1"><TABNAM><![CDATAEDI_DC40]></TABNAM><M
    i want to save this output on my application server or presentation server, my data is not on presentation server or in application server, its on form of output and i want to save my output directly to application server or presentation server.hope that you people will help me out please reply me for this query.
    Thanks & Regards
    Vimarsh B.

    Hello Subhash,
    Try this
    data: sheet TYPE ole2_object.
    data: lv_file(512) default 'C:tst.xls'.
    * Save excel speadsheet to particular filename
      GET PROPERTY OF h_excel 'ActiveSheet' = sheet.
      CALL METHOD OF sheet 'SaveAs'
        EXPORTING
          #1 = lv_file     "filename
          #2 = 1.                      "fileFormat

  • How to reset report output back to default language.

    Hello Everyone,
    I am working on 11i to R12 up-gradation process.
    I need to move some reports from 11i to R12 and resolve bugs which report faces after shifting.
    I am working on one report of output type : PDF named 'Delivery Note Report' in SCM-Order Management,
    It is a RDF with template report and not XML publisher(there is no separate RTF).
    RDF template is prepared with English text.
    In 11i report output comes in EN-US(Standard English) language
    whereas in R12 it is coming in Kenyan language.
    I need to set output language to default EN-US, how can I proceed ?
    Thanks
    Sudbun

    Hello Experts,
    I checked user preferences : it is set to EN-US
    I checked concurrent program language details : it is American English
    I got to know about a file named : uifont.ali (present in middle tier /ora/R12/apps/tech_st/10.1.2/guicommon/tk/admin)
    it contains PDF:subset section in it we can specify the particular language/font in which we want output of our report.
    I tried replacing this section with default language and restarted report server, even I tried removing that file from middle tier(just for testing purpose).
    Can anyone suggest any other approach as still the issue exist.
    Kindly reply.
    Regards
    sudbun

  • Report Output Saving Problem

    I am using Oracle Developer6.0 . I am facing problem with reports. I am invoking reports from form using run_product.
    1. I could not able to save the report in text file . Whenever i try to save the report output in a text file.It gives dump and application get closed.
    2. In RTF format , it execute the query which i have given at the design time while creating a report . But while running i am passing query either through lexical parameter or passing value of where criteria user parameters. It display the output for the specified value. But when i save this report output in rtf file . It execute design time query and save that in a rtf file.
    If any body is having any idea about it . Please let me ASAP . It is very urgent for me.
    Thanks in advance
    null

    Hi ,
    Why don't you try the output in PDF. Its been working for us. We don't have any problems
    Good Luck
    Rao

  • Setting reports default path

    Hi buddies...Can we call our reports from a default location specified by us as we call the forms from a default location set in "default.env" file throuh parameter:
    FORMS_PATH=F:\Oracle\Dev10g\forms;H:\10g_Tst

    Hi!
    Cause i don't use oc4j at all and my forms/reports run via IAS at a network share, i am not sure.
    In your %dev_home%/reports/conf folder exists the config file rep_your_pcname.conf.
    Look for:
    <!--property name="sourceDir" value="..." -->
    Please recognize it is outcommented.
    change to
    <property name="sourceDir" value="F:\Oracle\Dev10g\forms;H:\10g_Tst">
    Regards

  • Generate spool req number for report output list

    Hi,
    How to generate spool request number for report output list while executing the report.Please provide if you have any sample code.
    Thanks and Regards,
    BSR.

    HI srinivas,
    welcome to sdn.
    Exporting the Contents of a Spool Request
    Use
    You want to export the content of a spool request in one of the following ways:
    ·        As a text file to the SAP GUI working directory
    ·        Unconverted or as a table, RTF, or HTML to a directory of your choice
    ·        As a PDF file to a directory of your choice
    Procedure
    Follow the procedure below:
    Exporting to the SAP GUI Working Directory
    If you are exporting large quantities of data, downloading the spool request as a text file to the SAP GUI working directory is a good solution.
    Choose Spool Request ® Forward® Export as Text.
    The entire text is stored in your SAP GUI working directory in ASCII format.
    A file of this type is named using the following pattern:
    .txt
    Example: ABC0000004327.txt
    You require appropriate authorization for this function from your administrator.
    Exporting Unconverted or as a table, RTF, or HTML to a Directory of Your Choice
    With this method of exporting a spool request, the content of the spool request is first displayed, and you then download the content in the format of your choice to a directory of your choice.
           1.      Select the spool request to be exported and choose  Display Contents.
           2.      In the case of SAPscript/Smart Forms documents, activate list display by choosing Goto.
           3.      Choose System ® List ® Save ® Local File.
           4.      Choose one of the available formats and confirm your choice.
           5.      Choose a directory and save the spool request.
    By default, only the first 10 pages of a spool request are saved in a file. You can increase the number of pages to be saved by choosing Goto ® Display Requests ® Settings and making the desired entries in the Display Area group box.
    Exporting as a PDF File
    You want to export the contents of a spool request as a PDF file to a directory of your choice, and print the file as required. The PDF file contains the print data in the format in which it would be output by the printer.
    The following procedure is irrelevant for the printing of PDF-based forms, since a PDF file is already returned with this method. See also Displaying and Printing PDF-Based Forms.
    You also require authorization from your administrator to run this report.
    The PDF file is generated as follows with report RSTXPDFT4:
           1.      Generate a spool request from the document to be printed.
           2.      In transaction SE38, start report rstxpdft4.
           3.      In the displayed window, enter the spool request number and the directory in which the PDF file is to be stored.
    Leave the Download PDF File option selected.
    Choose  Execute.
           4.      In the next window, you can confirm or change the path in which the file is be stored.
    Save your entries.
           5.      The system displays a log from which you can see whether the report was successfully performed.
    You can then open the file from the directory and print it as required.
    Restrictions for Exporting as a PDF File
    ·        The PDF conversion only supports true bar codes for Smart Forms, which were generated with the new bar code technology as of SAP NetWeaver 04. In all other cases, the bar code is only simulated.
    ·        PDF conversion, especially of ABAP lists, is slower and is therefore not suitable for mass printing. However, you can speed up the conversion to PDF using the FASTLISTCONV option in report RSTXPDF3.
    ·        The font selection for ABAP lists is predefined in the PDF converter and cannot be changed.
    For more information about constraints, see SAP Note 323736 in the SAP Service Marketplace
    see this links
    http://help.sap.com/saphelp_40b/helpdata/en/d9/4a98f351ea11d189570000e829fbbd/content.htm
    http://web.mit.edu/SAPR3/docs/webdocs/reports/rpRFprint.html
    regards
    shankar
    reward me if usefull

  • Bookmark Issue in WAD (Report Output without Variable Screen)

    Hi ,
    This issue is with the Saving of Report Output to Bookmark.
    Expected Output:
    Clicking on the Bookmark should bring out the Report Output with the Period and Year, which was used while saving the Bookmark. It should not pop up variable screen at the beginning.
    Issue:
    Currently, when I click the bookmark, Its triggers the default template and it brings out the  Variable Screen with the default Selections, which i dont want to. I need to get the same output with the values which I saved under Bookmark.
    Please suggest me a solution...
    Thanks / Selvan

    Hi, i dont rememberm but, can you check mark you DP_1 and properties->Behavior->Display variables screen->on
    I hope helps.

Maybe you are looking for

  • Can I use my iPhone hotspot for internet through the airport express?

    I want to use the airport express with the internet from my iPhone hotspot without a regular ISP

  • Wakes from sleep momentarily upon plugging MBP in.

    Whenever I plug my computer in it always wakes from sleep for a few seconds (with the lid down.) My boot drive is an Expresscard SSD, but I don't know if that is the cause of this problem. Does anybody know what the problem could be?

  • What first - rollnames, comments, keywords, or albums?

    I'd like an idea how to get started with organizing approx. 20,800 pics (they are on the drive and ready to go!). The current roll names arent the greatest and really arent organized - but if I am making albums, etc. I dont think that matters,right?

  • Can't Use Any Other Skins - Only the Ones That Came with DW

    Hello Everyone, I am a little frustrated, as I would think some of you may be. I love Dreamweaver, but here's the problem I'm dealing with right now: I am inserting videos in some webpages, and DW does a good and quick job of it right out of the box.

  • How do I loop a movie for Apple TV

    I have looked at the archives and I cannot get it to work the way it is explained. I have saved a QT movie with Loop checked. It loops fine after it is saved before I send it to iTunes When I send it to iTunes it will not loop. For some reason when I