Error while caling report through form

Hi,
could someone help with my reports. I am using report 2.5 (old version)
I have created a form that calls my report
Plese find below command that I execute in my pushbutton
DECLARE
pl_id ParamList;
BEGIN
pl_id := Get_Parameter_List('tempdata');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List(pl_id);
END IF;
Add_Parameter(pl_id, 'MAXIMIZE', 'TEXT_PARAMETER', 'YES');
Run_Product(REPORTS,'d:\cadv\Reports\D_Boking.RDF', SYNCHRONOUS,
RUNTIME, FILESYSTEM,PL_ID,NULL);
end;
I get an error FRM-40735 When Button Pressed trigger raised unhandled exception ORA-06502
If I remove add_parameter from my script it works fine.
Basicaly I want to maximize my report when it is called from form
thanks
saaz

Hi again!
declare
pl_id ParamList := Get_Parameter_List( 'tempdata' );
begin
IF
  NOT Id_Null( pl_id )
THEN
  Destroy_Parameter_List( pl_id );
END IF;
pl_id := create_parameter_list ( 'tempdata' );
Add_Parameter( pl_id, 'MAXIMIZE', TEXT_PARAMETER, 'YES' );
Run_Product( REPORTS,'d:\cadv\Reports\D_Boking.RDF', SYNCHRONOUS, RUNTIME, FILESYSTEM, PL_ID, NULL );
end;Regards

Similar Messages

  • ERROR WHILE RUNNING REPORT THROUGH FORMS.....!

    hi all,
    ive designed one form in Forms 9i...I'm tryin to run report through a Push button .....report is running well in paper layout through report builder 9i...The problem I'm facing is dat when i pressed button it is giving me error initially as FRM-41214 cannot run report and after that FRM-40735 When button pressed unhandled exception ora-06502.....What could go wrong??... Ive started OC4J instance ....created report object in object nevigator as well and defined basic properties for diff.parameters HTMLCSS,CACHE..etc.,mentioned report path in complete i.e.c:\reports\genbill.rdf ...Can anybody help me out ??? Thnx.!
    -----------------------CODE ON BUTTON----------------------------------
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT5');
    v_rep := RUN_REPORT_OBJECT(repid);
    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
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('<HOSTNAME>:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=myrepserver','_blank');
    ELSE
    message('Error when running report');
    END IF;
    PAUSE;
    END;

    When a report terminates with an error, REPORT_OBJECT_STATUS returns the value "TERMINATED_WITH_ERROR", which is 21 bytes of data, but rep_status is defined as 20 bytes. The 6502 error is due to the data not fitting the variable.
    I recommend wrapping the REPORT_OBJECT_STATUS function with a SUBSTR that limits the data returned to 20 bytes, which will ensure the results fit.
    For example:
    rep_status := SUBSTR(REPORT_OBJECT_STATUS(v_rep), 1, 20);

  • Getting error while calling reports through form

    Hi I want to call a report from a form i put the following code on when-button-pressed but i am getting the following error.I can generate and run the reports.The object REPORTS is created under forms report object
    FRM-41211: Integration error: SSL Failure running another report
    DECLARE
    repid REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    BEGIN
    repid := find_report_object('REPORTS');
    set_report_object_property(repid,report_other,'p1=15 p2=19 paramform=yes');
    v_rep := RUN_REPORT_OBJECT(repid);
    END;
    rgds
    shyam

    Hi
    I can able to run the reports from the browser there was a syntax error, but not able to call from a form
    I am getting error but i can run another forms without any problem
    FRM-92101: There Was a failure in the FormsServer during startup
    oracle.forms.net.connectionexception:forms session aborted:unable to communicate with the runtime process
    rgds
    rosh

  • FRM-92101 error while running report from form

    HI All,
    I am getting the form error FRM-92101 while running report from form menu.My code is given below:
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT47');
    v_rep := RUN_REPORT_OBJECT(repid);
    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('http://192.168.0.21:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    Clear_message;
    END;
    Clear_message;
    --Arif                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi Arif
    Please see this note on MOS/Metalink for some common causes of this error:
    Known Causes of FRM-92101 Error In Forms [ID 604633.1]
    thanks,
    AMN

  • ERROR WHILE SENDING REPORT THROUGH EMAIL .....

    DEAR ALL
    i have one problem . i am trying to send my report through e-mail.i am working with forms 5.0 and report 3.0 . i am calling report from form.when a client click on the button a report will be generated and this will be send to a specific person in a specific format either in html or pdf.
    but when i click on button it initialize the report and gives the error
    rep-4201 : error occured while initialize the mail subsystem.
    rep-4220 : there is a problem with the mail subsystem.
    if anyone of u have the solution for this please send to me.it will be very much helpfull if you send me the code.
    thanks in adv.
    D prasad.
    null

    well you will have to configure a default mail client on your machine. you can do this by going to control panel->mail in windows os.
    you might also need a .dll file mapi*.dll something. you will need this .dll file in your client machine.
    best of luck

  • Error while running report from Form. i am using Forms 10g.

    dear all,
    here is a problem when running the report from a fom. gives the pollowing error.
    REP-110: Unable to open file 'f:\oracle\accano\gl\coa_list.rdf'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'f:\oracle\accano\gl\coa_list.rdf'.
    i am using Forms 10g.
    thanks
    Muhammad Nadeem

    See metalink doc id 215469.1
    The purpose of this document is to:
    - provide information on how to resolve the REP-110 error.
    - give hints on how to troubleshoot problem.
    - include a comprehensive summary of various scenarios which may
    result in a REP-110 error

  • Error while generating Report through XL Reporter.

    Hello..
    I am using microsoft excel 2003.I have installed XL Reporter 2005SP1. While i am trying to generate report throgh excel reporter i get the following error.
    Security setting in microsoft excel prohibit XL Reporter from running.
    For more information click Help.
    I also tried by making security level low in microsoft excel -->Tools > Macros> Security.But still problem there.
    Thanks,
    Arpit

    Hi Arpit,
    As well as setting the macro security to Medium or lower, you need to tick the options 'Trust all installed add-ins and templates' and 'Trust access to Visual Basic Projects'. These options appear at the bottom of the Trusted Publishers tab in the Macro Security window.
    Hope this helps,
    Owen

  • Page fault error while calling reports from forms

    dear friends.
    when a report is called from forms, just before opening up of background engine the application gets hanged with page fault. One has to forcibly shut down the application before loggin again.
    The error mesage generated from log file is
    Fatal NI connect error 12203, connecting to:
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle80)(ARGV0=oracle80orcl)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=orcl)(CID=(PR OGRAM=C:\ORAWIN95\BIN\RWRBE60.EXE)(HOST=SOUMYADIP)(USER=Soumya))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 8.0.5.0.0 - Production
    Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.0.4.0.0 - Production
    Time: 06-MAY-00 14:03:32
    Tracing not turned on.
    Tns error struct:
    nr err code: 12203
    TNS-12203: TNS:unable to connect to destination
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 102
    TNS-00102: Keyword-Value binding operation error
    nt secondary err code: 0
    nt OS err code: 0
    After closing if we run the report next time it runs, but after 3/4 attempts the above error again occurs.
    Please Help
    Prashant

    I'm getting this also. I thought it was
    due to my use of DATA PARAMETER. I've
    logged TARS on this and have yet to hear
    back from Oracle.
    Maybe if enough of us get the error Oracle
    will give some guidance on this one.

  • Error while running report 10g

    DECLARE
         repid REPORT_OBJECT;
         v_rep VARCHAR2(1000);
    rep_status VARCHAR2(2000);
    BEGIN      
         repid := find_report_object('REPORT2');      
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    set_report_object_property(repid, report_comm_mode, 1);
    set_report_object_property(repid, report_destype, cache);
    set_report_object_property(repid, report_desformat, 'PDF');
    set_report_object_property(repid, report_server, 'myserver');
    v_rep := run_report_object(repid);
    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;
    message(rep_status);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document('http://localhost:8889/reports/rwservlet/showjobid' || substr(v_rep, instr(v_rep, '_', -1) + 1)
    || '?server = myserver');
    ELSE
    message('error while running reports-object ' || error_text);
    message(' ');
    clear_message;
    END IF;
    EXCEPTION
         WHEN OTHERS THEN
    message('error while running reports-object' || error_text );
    END;
    I have been trying the whole 5 days running this report but it is giving me error, i am making simple report which select all data and display from emp table, please help. Error I am getting is unable to run the report and Terminated_Report.

    Hi,
    Check this link...How to call a report in Forms 10g ?
    Hope this works...
    Hamid

  • Error while processing payment through F110

    Hello
    I am getting the following error while processing payment through F110
    > Payment method selection for items due now to the amount of EUR          287.32-
    > Payment method "Q" is being checked
    > Bank details are being checked
    >     Customer/vendor bank details are being checked
    >   System reads house banks and checks if they are allowed
    > Our bank BBVA is being checked
    > Bank different from the specified bank CAIXA in master record or items
    >   House bank is selected ...
    > No permitted payment method exists
    Information re. customer 220912 / paying company code ES4 ...
    ... payment not possible because of reported error
    I have created one payment method "Q" & in ranking order only House bank given as BBVA. I m not able to under stand where to make correction to make this resolved

    Check if different House bank is assigned in Customer Master record - Co code - Payment transactions.

  • 500 Internal Server Error while calling Reports 10g

    I am using standalone forms and report services. I am getting intermittently 500 Internal Server Error while calling Reports 10g.

    500 Internal error is a generic error and it could be due to multiple reasons like misconfiguration or the dearth of the resources.

  • Error while generating report in RAR

    Hello,
    We are getting error while generating reports in RAR.
    RAR runs sucessfully, can see there are risk, but we cannot dowload those file, usally we use to get zip file.
    or cannot see details ,
    gives error cannt be displayed.
    Thanks,
    DK

    Hello,
    we had same issues, this happed because the disk was full.
    Please check with your basis team if the disk is full.
    Thanks,
    Prasant

  • Failed to commit objects to server. Error while publishing reports from BW

    Hi,
    I am getting below error while publishing reports from BW to BO.
    "0000000001 Unable to commit the changes to Enterprise. Reason: Failed to commit objects to server : #Duplicate object name in the same folder."
    Anyone having any solution for this. Thanks in advance.

    Hi Amit
    It would be great if you could add a little info about how you solved this issue. Others might run into similar situations - I just did:-(
    Thank you:-)

  • Error while displaying report

    I am getting following error while displaying report in sap business one-
    <b>Internal error (-101) occured [Message 131-183]</b>
    I tried resintalling sap but it did not solved the problem.The reports are getting displayed on other pc's but not on my pc.

    Hi Yogesh,
           I haven't installed any patch on my client machine.
                                                                                    Regards,
                                                                                    Dilip Kumbhar

  • Getting a bad bind variable error while compiling a custom form in R12

    Hi,
    I am getting a bad bind variable error while compiling a custom form.
    I tried setting the forms_path variable and I am still getting the error. Can anyone please suggest what can be done?
    DECLARE
    BEGIN
    IF :parameter.p_line_ship_to = 'T'
    THEN
    IF :SYSTEM.cursor_item = 'LINE.SHIP_TO'
    THEN
    :parameter.lov_num_param1 := :line.ship_to_customer_id;
    oe_lines.ship_to ('WHEN-VALIDATE-ITEM');
    :parameter.lov_num_param1 := :line.ship_to_customer_id;
    END IF;
    :parameter.p_line_ship_to := 'F';
    END IF;
    END;
    I am getting this error:
    Bad bind variable 'parameter.p_line_ship_to'

    The Parameter is not defined in the form.. But, this form is already been compiled and deployed.. I have to make some changes to the form and tried to compile it, when i am getting this error. Is it possible that the parameter would be defined in some other form or can this error be due to some other reasons?
    Thanks in Advance.

Maybe you are looking for

  • Multiple computers with iPod

    Hello, I'm new to the forum, hope you folks can holp out. I am planning to purchase a new iPod video. I want to sync it with tunes and photos here at home on my iMac. In a few months I will be going overseas for at least a year and will be getting a

  • Imac Superdrive not recognizing inserted media, runs disc for a minute then spits it out.

    2009 intel 24 inch Intel Imac either does not recognize cd or dvd I put in it and spits it out after spinning it around for a minute, or it swallows disc and I have to force shut down to get disc out. Other times it is able to read disc. Any ideas?

  • IDCS3 Print Booklet - Image across first and last page

    Does anyone know how I could place an image to be wrapped around the cover of a booklet? No problem on inside pages because they show as two page spreads but the first and last pages don't display as a two page spread.

  • Promote synonyms to top in SharePoint search results

    i have deployed a thesaurus file to my SharePoint 2013 environment.I need to promote the synonyms in search results. eg: if my thesaurus file contains "IE,Internet Explorer" if i am searching 'ie' i need to promote the results containing "Internet Ex

  • BAPI_BUS2054_CREATE_MULTI - error CNIF_PI - 076

    Hi, I'm using BAPI BAPI_BUS2054_CREATE_MULTI to create new WBS elements and sudenly it has started to trow me errors CNIF_PI(076) and CNIF_PI(074). Can anyone help me? thanks Juraj