WEB.SHOW_DOCUMENT . Publish reports character mode directly within browser!

hello!
I'm having the problem.
When I want to publish reports character mode directly within browser!
The code is as follows!
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
  SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
  SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE,  FILE);
  SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, '');
  SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, server );
  v_rep := RUN_REPORT_OBJECT(reportFile,mparamlist_id);
  rep_status := REPORT_OBJECT_STATUS(v_rep);
     if rep_status = 'FINISHED' then
        vjob_id :=substr(v_rep,length(server)+2,length(v_rep));
  WEB.SHOW_DOCUMENT('../reports/rwservlet/getjobid'||vjob_id||'?server='||server,'_blank');
     else
  message('Fail to create Report!');
     end if;
The report is generated,
But it does not open directly in browser!
The browser will download a file without extension / format, with the name 'getjobid38'!
When I change the code to 'TXT'
WEB.SHOW_DOCUMENT('../reports/rwservlet/getjobid'||vjob_id||'.txt?server='||servidor,'_blank');
The following error is returned:
rep-50003 the command line is invalid: getjobid38.txt
Already grateful!

working with forms 11gR2 (11.1.2.1)

Similar Messages

  • 9i report character mode printing under Win2000/Solaris 8i

    i have developed my application in oracle 9i in windows 2000 environment. i want to print the reports in "character mode" on dot matrix printer.
    how to do this ?.
    i have given the runtime paratmeter as
    Set_Report_Object(repid,Report_other,'mode=CHARACTER')
    but it gives an
    error "rep-1920 character mode runtime incompatible with DESFORMAT of PDF,HTML,HTMLCSS,RTF"
    i need to transfer the application into solaris 8i system. if the character mode printing is not available under windows environment is it possible to print the reports in character mode is the reports are in solaris system?

    While u run the report any messages come or not . please specify

  • Reports Character Mode Previewer Fonts

    Hi,
    We design a character mode report to print on a matrix
    printer.(Reports 2.5)
    According to documentation, when we set
    report properties->Character Mode->Report Width-Height
    reports previewer chooses a suitable font at previewer.
    This font is usually hard to read at first. Especially,
    when width/height is large like 132*66. On every run,
    user has to use the magnifiaction tools. But, in some
    of the PCs, Reports can choose a suitable font that is
    readable, due to different font settings of the PCs.
    Is there a way to change the deafult font chosen by the
    previewer on character mode reports?*
    * Changing the font at layout editor is useless.
    Have a nice day.
    null

    Erdal BUYUK (guest) wrote:
    : Hi,
    : We design a character mode report to print on a matrix
    : printer.(Reports 2.5)
    : According to documentation, when we set
    : report properties->Character Mode->Report Width-Height
    : reports previewer chooses a suitable font at previewer.
    : This font is usually hard to read at first. Especially,
    : when width/height is large like 132*66. On every run,
    : user has to use the magnifiaction tools. But, in some
    : of the PCs, Reports can choose a suitable font that is
    : readable, due to different font settings of the PCs.
    : Is there a way to change the deafult font chosen by the
    : previewer on character mode reports?*
    : * Changing the font at layout editor is useless.
    : Have a nice day.
    null

  • Oracle Reports(Character Mode) issue with 17 CPI ---URGENT

    Hi,
    I am in-process of Character Mode report development for Purchase order. Report is working perfectly with Font Courier and 10CPI. Now Client wants report with 17 CPI; when I changed the setup at printer level to 17CPI; my report content got shrink-ed to 50%. I tried to change the main section width in report builder from 80 to 102 and stretch the fields but no effects to output.
    Please suggest me the correct approach to get output as per pre-printed stationary in 17 CPI.
    Regards,
    Shishir

    when I changed the setup at printer level to 17CPI; my report content got shrink-ed to 50%. I tried to change the main section width in report builder from 80 to 102 and stretch the fields but no effects to output. What are the steps you followed to change this setup?
    Did you modify the initialization string in the printer driver as mentioned in these docs? Did you bounce the CM after doing the necessary changes?
    Oracle Applications Character Printing [ID 112172.1]
    Building a Printer Initialization String for Oracle Applications [ID 152285.1]
    Pasta Overview [ID 420019.1]
    Thanks,
    Hussein

  • Reports+character mode

    hi!
    i have a problem running a report in character mode, when i run it with default mode there's no problem, but when i choose character mode, i always get the error message that a repeating frame has no size: REP-1219: 'R_G_wa_termin_ist' hat keine Grv_e -- Ldnge oder Breite ist null.
    does anybody know why this happens?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Michaela ([email protected]):
    hi!
    i have a problem running a report in character mode, when i run it with default mode there's no problem, but when i choose character mode, i always get the error message that a repeating frame has no size: REP-1219: 'R_G_wa_termin_ist' hat keine Grv_e -- Ldnge oder Breite ist null.
    does anybody know why this happens?<HR></BLOCKQUOTE>
    Try to enlarge items in repeating frame, experiment with the ruler setings and if it doesn't work, try to redesign layout ie.
    delete current and make a new layout in character mode design.
    null

  • Run Character mode reports in Menu/forms.

    Hi,
    we are using ora-dev-suite 10g and trying to Run Character mode reports in Menu/forms and output ascii text or pdf files generated and saved in local/client PC's.
    report when run through report builder, it is ok.
    But we are not able to run these reports through menus/forms. can we run these reports using background report engine on a click of button.
    pl.guide us.
    thanks.

    Hello,
    You can put a variable in your default.env file like SERVER_URL http://&lt;yourserver&gt;:&lt;yourport&gt; and then retrieve it in forms with the tool_env.getvar package
    declare v_server_url  varchar2(100);
    begin
    tool_env.getvar(SERVER_URL,v_server_url);
    /* then launch your report */
    web.show_document(v_server_url||'/reports/rwservlet?yourparameters.....');
    end;So if you deploy your form in server 1 or 2 you only have to change the value in the default.env file according to the server you use.
    Hope this helps.
    Regards
    Jean-Yves

  • 6i character mode report migrate to 11g , printing result were incorrect in the same matrix printer?

    Hi All
    We got stuck when our 6i character mode report migrate to 11g.
    We use the same PC to test,  when run 6i report(character mode with 200 column) in legacy system, report result were correct in our matrix printer ,
    When running in 11g, if we directly print report via report builder (without preview), result were correct.
    But running report via preview/screen mode, printing result were incorrect ( not 200 column width).
    We try to adjust PC's printer/paper setting , but our-defined printing option never appeared in printer dialog.
    Is anything(config or some setting) we forgot to do in this situation ?
    Thanks for all your patient response!
    Hendry

    Hi Shahmayur,
    I too am facing the same problem. If your problem is cleared then please let me know, so that i can continue the work.
    Rgds
    Bhaskar

  • Character Mode ASCII Distribution

    Hi,
    I have a distribution report, Character Mode, ASCII format, that I can run without any problems from Report Builder, but the output is wrapping after what appears to be 80 characters, how do I make this wider? I've set my Main Section -> Character Mode -> Report Width to 190 without any change.
    Thanks,
    Lena Lafond

    In the Layout Model, Header Section or Main Section or Trailer Section's properties according to which section you are referring to.
    I think this is new with Reports 6i.

  • WEB.show_document in Browser Tab Pages

    Hi
    This problem occurs in IE7 which makes use of tab pages on the web browser. I'm using forms 10g, web.show_document(v_url, '_BLANK') to pop up a browser window in IE to display a PDF file residing on the App Server.
    The new browser window pops up in IE and displays the pdf document fine. The window title and address bar contain the correct url (a rather long one). The problem I have is that the browser tab page is labelled "Error" which immediately causes concerns amongst the users. I'm not sure if it does this because it does not know what to label the tab page or if the URL is perhaps too long.
    Is there any way to rename / relabel the tab page or set the name or alias somewhere? I'll appreciate any advice on the issue...
    Regards
    Mario

    Hi,
    With web.show_document() you could call a html page that call your php page with POST().
    Francois

  • Web.Show_document and oracle session

    Hi,
    I am uploading a file on to Oracle Portal through web util. After this, I am calling the web.showdocument to view the uploaded file. But I am seeing only a blank page. This is the sequence flow.
    1. Forms call a procedure which will create a dummy record of the document to be uploaded. This insert is happening as an autonomous transaction.
    2. The Forms call webutil and uploads the document
    3. Then I am calling web.show_document to view the document. The browser is opening an empty page. But once I did an explicit commit, I can open and view the document successfully in the same way.
    I am using '_blank' option.
    So, what I infer from this is that web.show_document opens the browser with a new oracle session by passing authentication details internally. Is there any way view the document without doing an explicit commit?
    Thank you.
    Warm Regards,
    Raja.
    Message was edited by:
    Raja M

    Check
    [b]Mozilla Firefox Options
    File Types
    The Download Actions dialog, which can be opened by clicking the
    Manage... button, contains file types that you have downloaded.
    You can choose what Firefox should do when clicking on a specific
    file type by selecting the file type you want to modify and clicking the
    Change Action... button.

  • Rep-3002 while calling report from form in character mode on web environment

    When I call a report by using run_product from a form , i get rep-3002. my report is in character mode. if i change it to bitmap that works fine. but my requirement is of character mode on web environment.
    please help.

    Hello,
    If you are running in WinNT/2000 environment, the NT/2000 user which runs the Report Server service must have a printer defined. In the control panel, look at the properties for the Report Server to see what user it runs as. Log in as that user and make sure a default printer is defined.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem in oracle 10g web application report printing in character mode

    Hi,
    We are using oracle dev. 10g suite based web application.
    This is an application migrated from oracle forms & report 6i.
    It's working fine except printing report in character mode. When we run the report then preview is Ok but in printing format becomes wrong.
    I means printing is not same as preview.
    Can any one help me on this situation.

    you can solve this problem by using oracle remote printing utility(orarrp)
    Nizhad
    Software Engineer,
    Accel Frontline Limited,
    Kochi.

  • Character-mode report on web

    Hi,
    I am new to Report builder, I have developed character mode report on client server mode, It is working fine, and fast printing.
    Please tell me this report can i run on web using report server with same speed of printing?
    Regards
    Kinjal Shah

    To run the reports in character mode in web architecture, you need to provide "mode=character" cmd line parameters in the url request. Make sure the report you run is designed for character mode.
    Thanks
    Rohit

  • Character mode reports on web

    hi,
    can anybody please tell me how to deploy character mode reports on web using reports 6i and webdb as web server.i get some printer error when i try to do this
    regards
    mayuri

    Hi,
    There are two ways you can print it. When you set the DES_TYPE system parameter to PRINTER, then that report gets printed on the Application Server. And If you use the Browser's print... feature, then that report gets printed on the Printer connnected to browser machine.
    For further information, please check the help.

  • REP-1352 when running web reports in character mode on linux server

    Hi
    After migration from 6i to 10g we have problems when we run reports in character mode on a linux (Red Hat Enterprise 4) application server (10.1.2.0.2).
    The error REP-1352 occurs with any NLS_LANG or report's font setup. Original report's font is Courier New (Occidental) and NLS_LANG=FRENCH_FRANCE.WE8ISO8859P1.
    I created a new simple report in character mode with font Courier New and it is generated successfully.
    Witch migration step could I apply to avoid this error ?
    Thanks in advance.

    I didn't precise that reports failed to be executed with desformat=delimited but succeded with desformat=pdf.
    Why Reports server on linux is unable to generate a full text report but can generate a pdf report ?

Maybe you are looking for

  • Can't able to buy itunes store with several problems

    As I mentioned before, , it appears that of your devices was linked to possible unauthorized activity on the iTunes Store. Because of this, I strongly recommend using a different device or computer to use the iTunes Store. Additionally, it appears th

  • Touch problem with 5233

    i've bought a new 5233 and its having a touch problem which is displaced slightly upwards....i.e. touching a key works slightly in upward direction...and i had updated my software and also used the factory restore and soft restore options but its not

  • HT1937 Hi it Samantha brooks here I problem with download my apps with my bank card

    Hi I having poblem With add my bank card and I had new handset send out and I try get my apps back you guys block my card .2f <Personal Information Edited by Host>

  • Unable to convert sender party to IDoc partner

    Hi guys! I have read a lot of threads to this topic, however, I can't make my scenario working... I use Party as sender of document and need to send it to target (our) R/3. I have set up: Sender party: Cocoon, Sender Business SERVICE: IslandSys To ta

  • CHARM: Lock actions if the same role is used

    Hi, is it possible to lock the actions, when a user is (e.g.) change manager and developer at the same time? in some our department it is possible that to different users got the role change manager and developer, but we dont want let one person comm