Report failed running from form

Hi,
I am new to Oracle reports.
I am calling a report from a form when a button is pressed The code is like this:
f_alert.display_error_message ('0',v_parameters);
run_report(p_report_filename => '''my_report''',p_show_debug_msg =>'yes',p_params => v_parameters);
From the debuging alert message, I can see the v_parameters value. Using the same parameters I run the report from report bulider, and the report is working. I am wondering why the report cannot be openned from the form. At the status bar of my application, a message shows "Report failed, status is: ", could anyone tell me how to debug this? I am working on an existing application, so I will assume all the configuration is ok.
Thanks!

I am using Oracle reports builder 9.0.2
Edited by: user13332131 on Jul 10, 2010 1:25 AM

Similar Messages

  • 10g Report not running from Forms if called thru paramform on other domain

    Hi...
    I'm using Dev10g Rel.2....If I call a report with paramform=no and pass it a value from forms then report runs well. but if I call report thru parameter form and pass value from parameter form the report doesn't run with error:
    The webpage cannot be displayed.
    Interesting fact is that If I call the report from a client on same domain as that of Application Server then it runs even thru paramform. I've also entered the application server I.P and name on other domain's client but no way. Can u guess whats the problem there???

    It sounds like a Firewall permissions issue to me. You might want to have your Firewall admin watch the firewall as you run your form to see if the packets are getting intercepted and blocked.
    Hope this helps,
    Craig
    If a response is helpful or correct, please mark it accordingly.

  • Reports 10g calling from forms 10g

    try reports 10g calling from forms 10g ,but I not do.
    Programme have frm-41213 unable repserver.. error and I am not start up oracle reports server from services. please help me.

    Dear Lida;
    i use this code
    rwserver -install repsername
    but in release 3 it is not work and i had to write it like this
    rwserver server=repservname
    the first code make the report server work as service could u tell me how the first code work with realease 2 but in realeas 3 not working ?
    and thkx alot in advance
    regards
    Reda El Mitwally

  • Report Running From Forms

    How to Run a Report from Form Builder
    i use Run_report_object function
    by givng report object name created in form
    report is already created
    i receive error message 'Report Name is not given'
    Kashif Khan
    ------

    Here is an example. This is the when-button-pressed trigger. I use the in-process reports server and therefore the web.show_document, but executing the run_report_object is similar.
    Hope this helps.
    Z.
    DECLARE
    rep_url varchar2(2000);     
    myenvid varchar2(128);
    BEGIN
    -- Check to ensure we have a valid record first
    if :PPS_AIR_MISSION.UNIQUE_ID is null then
    message('No air mission record is displayed to generate the report.', ACKNOWLEDGE);
    message(' ', NO_ACKNOWLEDGE);
    null;
    else
    Tool_env.Getvar('JTLSAAR',myenvid);
    rep_url:='/reports/rwservlet?&envid='||myenvid||'&&report=aar_amhist1.rdf&ssoconn='||myenvid
    ||'&desformat=pdf&destype=cache&paramform=no'
    ||'&MISSION_ID='||
    '"(''' || :PPS_AIR_MISSION.UNIQUE_ID || ''')"' ;
    -- synchronize and run the report
    SYNCHRONIZE;
    WEB.SHOW_DOCUMENT(rep_url,'_blank');
    end if;
    END;

  • Report not working from forms.

    Hi
    we are beginners and please help us.we have installed in LAN database 11g on vista
    and application server 10g on os 2003.
    we are developing some applications from our developer pc in vista and using developer suite 10g.
    we want to generate some reports and call them from forms.
    This is the code in when button pressed.
    DECLARE
    repid REPORT_OBJECT;
    repjobid VARCHAR2(200);
    repstatus VARCHAR2(200);
    repjobno number;
    repserver VARCHAR2(100) := 'rep_mbxserver_FRHome1';
    BEGIN
    repserver := 'rep_mbxserver_FRHome1';
    /* Check to see if forms application is WEB deployed */
    IF get_application_property(user_interface) = 'WEB' THEN
    message('web');
    repid:= FIND_REPORT_OBJECT('REP');
    message('report found');
    /* Set Report parameters given WEB deployment */
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'e:\users\pro\reports\emp.rdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,repserver);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    /* DESFORMAT could be HTML, HTMLCSS or PDF here */
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTML');
    /* Run the report */
    repjobid := RUN_REPORT_OBJECT(repid);
    message('run report');
    /* Check the report status */
    repstatus:=REPORT_OBJECT_STATUS(repjobid);
    WHILE repstatus in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    repstatus := report_object_status(repjobid);
    message('rep status');
    END LOOP;
    IF repstatus='FINISHED' THEN
    message('REPORT WAS CORRECTLY RUN');
    /* Display the report output in the client browser */
    repjobno := length(repserver) + 1;
    WEB.SHOW_DOCUMENT ('http://printer1.mbxnet.com:8889/reports/rwservlet/showjobs?server='||repserver,'_blank');
    copy_report_object_output(repjobid,'\\ansu\mtb-erp\emp.lis');-- (Trying to copy to local folder)
    message('File copied to local pc');
    /* If report has failed display message to user */
    ELSE
    message('REPORT FAILED WITH STATUS: '||repstatus);
    END IF;
    message('222222222222');
    ELSE
    /* Else if forms application is Client-Server deployed */
    /* Set Report parameters given Client-Server deployment */
    message('client server');
    repid:= FIND_REPORT_OBJECT('rep1');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'e:\users\pro\reports\emp.rdf');
    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_DESNAME,'\\printer1\mtb-erp\emp.lis');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt.prt');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,repserver);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=NO');
    /* Report to be executed via Reports Background Engine, not the 'new' Reports Multi-Tier Server */
    /* Destype SCREEN or PREVIEW can be used here */
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,SCREEN);
    /* Run the report */
    repjobid := RUN_REPORT_OBJECT(repid);
    copy_report_object_output(repjobid,'\\printer1\mtb-erp\emp.lis');
    message('File ok');
    --     host('c:\mtb-erp\ansu.lis');
    END IF;
    END;
    we are struck and unable to proceed.Actually when we run the report from report builder it works.we are calling the report from application server.
    Also if we replace the above web.show document with this statement it works but even though it gives FRM-41214 error.
    web.show_document('http://ansuya.mtbnet.local:8889/reports/rwservlet?destype=cache&desformat=html&report=\\mbxserver\developers\emp.jsp&userid=scott/tiger@mbxsql&paramform=no');
    One more doubt , is it possible if we don not want to show the report in a browser in case of client server locally in lan
    but just generate the report from forms and save it in local folder like we do in previous old versions.If so please guide us.
    Thanks in advance.

    Hello ansu,
    Did you solve this problem ?
    Regards,
    Felipe.

  • Report not running through Forms menu

    Hi Gurus,
    In our reports we have used Query PL/SQL to reference cursor. When it is compiled and an executable 'rep' file is created, which when
    called through froms menu generates following error and aborts the report.
    REP-1401:'qr_1refcurds': Fatal PL/SQL error occured.
    ORA-06508: PL/SQL: could not find program unit being called
    The same report when called through forms menu, without the compiled version, executes smoothly. Also it runs through report builder perfectly after compilation and generation of rep file.
    Would appreciate if anyone can provide suitable guidelines to solve this issue.
    null

    hello,
    is the program-unit you are trying to call, in an external plsql-library ? if so, you have to provide the PLX version of this library in order to use it from a REP file.
    however, why are you using the compiled REP version at all ? i would suggest to use the RDF file.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Oracle reports calling problem from FORMS

    Hies
    Guys I've a problem in oracle report calling from Oracle FORMS. I am using reports and forms 6i. When the report name length is more than 30 characters the report engine runs first time correctly but on the second call of report the system gives an error :
    " RWRBE60.exe has generated errors and will be closed by windows.You will need to restart the program ".
    After this error the report engine closes and i have to call the report again.
    Is there a length fixed for reports name in Oracle 6i.
    Is any possible solution available.
    Remember i dont want to shorten my report names.
    Kindly help me with this.
    Thanx.

    Thanx Frank
    Well one solution is that i can decrease the length of my report name and the problem does not occur than.
    any ways thanx ..but where to get the patch from.
    Kindly provide me with the link if possible.
    Thanx,
    Qaiser Qayyum Malik.
    [email protected]

  • Report format (htmlcss) from Form

    I can't seem to get the report to run as htmlcss from a form.
    Here is a code snipet:
    runformat := 'htmlcss';
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,runformat);
    :global.reporthandle := RUN_REPORT_OBJECT(repid);
    I have also tried RUN_PRODUCT but still get plain html.
    The report in question also has a parameter form and I can't seem to get it to display correctly.
    Client/Server works fine; running from the web doesn't
    Ideas? Thanks...

    hello,
    did you try PARAMFORM=YES .. that should bring up the parameterform.
    about the HTMLCSS problem : try UPPERCASE; just a guess. if that does not work, contact oracle support services.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Calling Reports on Web from Forms

    Hello Friends,
    Right now I am able to run my reports from HTML page/by
    giving URL in IE.
    but I want to call reports from form application. in
    client/Server model, I used RUN_PRODUCT built-in. when i am
    converting to web, i don't know how to call reports from form.
    one way is using WEB_SHOW_DOCUMENT. in this case , we can not
    pass the Parameter List, as we pass parameter list in
    RUN_PRODUCT built-in.
    even though we can pass like
    report=xyz.rep&destype=screen ....
    If there is '&' in the paramtere value , how should we take
    care of this. If any one knows solution, please let me know
    Thanks in advance
    Regards
    Surendra.
    null

    Surendra Babu (guest) wrote:
    : Hello Friends,
    : Right now I am able to run my reports from HTML page/by
    : giving URL in IE.
    : but I want to call reports from form application. in
    : client/Server model, I used RUN_PRODUCT built-in. when i am
    : converting to web, i don't know how to call reports from form.
    : one way is using WEB_SHOW_DOCUMENT. in this case , we can not
    : pass the Parameter List, as we pass parameter list in
    : RUN_PRODUCT built-in.
    : even though we can pass like
    : report=xyz.rep&destype=screen ....
    : If there is '&' in the paramtere value , how should we take
    : care of this. If any one knows solution, please let me know
    : Thanks in advance
    : Regards
    : Surendra.
    Hi Surendra,
    Run Reports using Run_product tool by passing all the parameters
    reqd. for your report and save it as a file in *.pdf format(
    recommended) then call the saved report in WeB.Show_document
    which will call your saved report .
    Ex:
    DECLARE
    pl_id ParamList;
    BEGIN
    pl_id:=Get_parameter_list('mtetgdata');
    IF NOT Id_Null(pl_id) then
    Destroy_Parameter_list(Pl_id);
    END IF;
    Pl_id:=CREATE_PARAMETER_LIST('mtetgdata');
    ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    ADD_PARAMETER
    (pl_id,'DESTYPE',TEXT_PARAMETER,:REP_LAUNCH.DESTYPE);
    ADD_PARAMETER(pl_id,'DESFORMAT',TEXT_PARAMETER,'PDF');
    ADD_PARAMETER
    (pl_id,'P_RECV_129',TEXT_PARAMETER,:REP_LAUNCH.RECV_129);
    ADD_PARAMETER(pl_id,'DESNAME',TEXT_PARAMETER,'J:
    \WEBFORMS\RepTemp\ACHD_129.pdf');
    ADD_PARAMETER(pl_id,'P_START_DATE',TEXT_PARAMETER,TO_CHAR
    (:REP_LAUNCH.START_DATE,'DD-MON-RRRR'));
    RUN_PRODUCT(REPORTS,'J:
    \WebForms\REPORTS\ACHD_129.rdf',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl
    _id,NULL);
    WEB.SHOW_DOCUMENT
    ('http://xdb.oraweb.net:8889/Webforms/RepTemp/ACHD_129.pdf','_sel
    f');
    end;
    I hope this will solve your problem
    Rao Guduru
    null

  • Reports 9i Printing from Forms with WEB.SHOW_DOCUMENT

    I want to print a Report from Forms via WEB.SHOW_DOCUMENT directly to the printer and it works fine.
    But every time i print it from my web application a new browser-windows opens and shows a message "Printed successfully" or something like that. If I start the printjob again nothing happens - if I press the Browser-Refresh-Button in the new Browser-Windows with the Message ("Printed Successfully") it prints.
    So now I have 2 questions:
    a) How can I disable the "Printed successfully"-Message
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    I hope I hava explained my problem clearly. 4
    Here ist the complet WEB.SHOW_DOCUMENT-Command I fire in Forms when a Button is pressed:
    WEB.SHOW_DOCUMENT('http://mymachine:8888/reports/rwservlet?report=testreport.rdf&destype=printer&desname=\\NTS32\VZ_D3&desformat=html&userid='|| sUser ||'/'|| sPW ||'@'|| sDB,'_blank');      
    Many thanx for your help!
    Regards
    Marc

    Hello,
    for the problem:
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    may be it just a setting in your Browser ?
    For Internet Explorer :
    go to I.E General Options screen. click on settings button and choose
    "Every visit to the page " option.
    Regards

  • Connection Dialog Box Pops Up When a Report is Called From Forms

    Hi ,
    Some times when calling a report from forms using RUN_PRODUCT, a connection dialog box is popped up. We are using forms6i (Version 6.0.8.8.0) client-server.This behavior occurred on a specific pc while many other pc work fine.
    I found a relevant document in metalink (docid:156232.1 https://metalink.oracle.com/metalink/plsql/f?p=130:14:4126992859688402901::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,156232.1,1,1,1,helvetica ) saying that the database user must have the ALTER_SESSION privilege.In out case user has that privilege through CONNECT role.
    Any suggestions??
    Thanks in advance

    You can try these steps in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Calling Reports on Web from Forms 6

    Hi
    The problem I have when I am calling Reports from Forms is, if I am calling 3 reports from the Forms the first report called is never shown in the browser while all the others are shown in the previewer.
    Is there any property setting I am missing! Please Help!
    Thanks,
    null

    hello,
    please check the DESTYPE and DESFORMAT settings of the report that does not show up. if you do not pass these settings in you parameter-list the report uses the default values set in the report definition. if these are set to DESTYPE=FILE or PRINTER then the report never shows up.
    regards,
    the oracle reports team

  • Forms not running from Forms Builder

    Hia
    I am trying to run forms module developed in Forms 10g (10.1.2.0.2) by clicking on Run button (Green Traffic Light Icon) through Forms Builder. It then opens IE browser but doesn't display anything in the browser. All it displays is text 'ORACLE FORMS'. Also, funnily enough, in the address bar it shows the URL as http://127.0.0.1:1330/ and some long character junk string after that. e.g. http://127.0.0.1:1330/23939sdsfsldjwerlerwelj
    I am wondering where does the Forms Builder picks up this IP address 127.0.0.1 as it is not the IP address of my PC.
    However, if I run the same form by opening IE and entering the URL as http://hostname:8889/forms/frmservlet? , it is running the form perfectly.
    I have also entered the same URL in Application Server URL by going into menu
    Edit -> Preferences -> Runtime but still it doesn't help.
    Any thoughts what's wrong with my Forms 10g ?
    Cheers
    Mayur

    I am wondering where does the Forms Builder picks up this IP address 127.0.0.1 as it is not the IP address of my PC.It's your IP address of your Pc.
    Check in your hosts file C:\Windows\System32\Drivers\Etc and see if 127.0.0.1
    127.0.0.1      localhost.localdomain localhost
    This will have the effect of
    # redirecting any requests to that host to your own computer

  • Running Reports 6.0 from Forms 6.0

    Hi
    I have a bunch of reports built with Developer 6.0. Please
    suggest me how do I give one clean form to the user to run
    multiple reports from it.
    Sheetal
    null

    Sheetal (guest) wrote:
    : Hi
    : I have a bunch of reports built with Developer 6.0. Please
    : suggest me how do I give one clean form to the user to run
    : multiple reports from it.
    : Sheetal
    Hi Sheetal,
    1. Develop a simple Form with Buttons.
    2. Name the Buttons with your Report Name.
    3. Call your report from Buttons(Use Run_Product)
    Good Luck
    Senthil.
    null

  • Crystal Report not running from Addon in the Front End.

    Dear All ,
    There is a Crystal report , .rpt File inbuilt in the Add-on .
    This report runs well from the Source Code .
    But i am facing problem , since it is not Opening at the Front End after registration of the Add0n.
    Suggest what to do ?
    Thanks
    Ashish

    Dear Rahul ,
    In my system , there is a Addon , which has some crystal Report file inbuilt .
    Which run on the Button Click event in the Form at the Front End (SAP GUI).
    When we debug the Source Code and pass the event . . Report Open with no hurdle.
    But the Same thing when we do at the From END of SAP , then it is not Returning any Report.
    Thanks
    Ashish

Maybe you are looking for

  • Delivery document is completed,but post goods issue.

    dear : devlivery docuemnt is set  completed by  Manually closing completed deliveries(programme:SHP_DELIVERY_COMPLETE),but it cann't post goods issue .so stock is exist . how can i consume the stock ? please help me analyse it . best regards.

  • Safari Freezing & Quitting Soon After Opening

    Safari has not been working properly for me on my laptop ever since I started using my college's wireless connection. Everything has been working fine, but Safari doesn't work anywhere now. It may have something to do with the wireless connection, bu

  • Infoobject Error

    Hi All, I have new BI system . i installed infoobjects for masterdata first and loaded. but when i tried to load material masterdata it showed me error records in PSA about length . So, i go to OMSL (T-CODE) and gave length 18 and save. now i have lo

  • Facing problem in using webutil

    hello, i have oracle developer suite 10g (9.0.4), which have not webutil capabilities, i download the webutil 1.0.6, and manually made all the required chages,but facing problem in using all the fuctions, firstly it return value or string exception (

  • Encoded emails doesn't work into library objects

    I use extensions like ultimailto or superemail to encode emails in order to avoid spam. However they don't work when you put those links into library object. They work if you put the code alone in the page. I wonder why and how to make those work in