How Do You Debug Oracle Report Calls From Forms On The App Server?

I am working on a system which uses oracle forms and reports 10g.
In our system we call, we are calling oracle reports from oracle forms. How do we debug the form code when the form and report both are running on the application server in production.
To my knowledge, this can not be done when the form is running locally since there is only OC4J forms services locally.
I understand one views error messages through the jinitiator console but how does one turn on this facility? How do you determine what line the error occurred?
I am looking for step by step instructions as answer to this issue.
Please be specific. Please write in good English.

Good afternoon,
If you have the developer suite installed on your PC, run the report from your form and then follow this tree from the start button on your PC:
Developer Suite Home =>
Reports Developer =>
Oracle Application Server Report Services =>
Reports Queue Manager
Select View => Past Jobs and then find your report in the list, double-click the report entry and you'll see the error message that was generated by the Report Server when you tried to run the report.
Good luck,
Don.

Similar Messages

  • How would I display paper report, called from forms?

    I want to call reports 9i, from forms 9i, and display the paper report on the screen. How would I do this? So far I have gotten forms to call the report and give me a status back of FINISHED, but I don't see anything displayed on my screen.
    Thank you.

    Hi,
    you use the Forms Web.Show_Document() built-in for this. Please read http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

  • How to display the output of a reports called from forms in the same window

    Hi all.
    I have installed Forms / Reports 11g Rel2 developer only installation on my windows 7 box.
    I can successfully call a reports from forms using RUN_REPORT_OBJECT and WEB_SHOW.document, but the report is opened in a new window.
    I'd like to open it in the same widow, in a new tab, similar to ctrl-t and make a call.
    How is that possible?.
    I'm using Chrome 25.0. Could this be done through browser settings?.
    Thanks in advance ...!
    Edited by: myluism on 14-mar-2013 6:09

    Don't know for Chrome, so Google for it.
    One more thing, though. what is the 2nd parameter in web.show_document? Is it '_blank'? If not, try that.

  • 4.5 to 6i migration or report calling from forms in XE???

    Hi Friends,
    I really appreciate your helping tendency. Let me explain the whole scenario.
    My application basically consists of
    Forms [32 Bit] Version 5.0.6.8.0 (Production)
    Report Builder 3.0.5.8.0
    Oracle Enterprise Edition Release 9.2.0.1.0 - Production
    Now we migrated our database into Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production. After the migration all the existing forms and report individually were running without any problem. But there was a huge problem. Whenever I tried to call any report from any form the report engine appeared and then stopped responding. So report calling from forms was not possible after the database migration. I was suggested by someone from OTN forum to migrate my forms and reports into 6i. I have started doing the migration using ifcmp60. WIth forms 6i, reports can be called from forms. But I am facing problem in every other steps. There are many things are not working after the migration though the migration log shows no error. For example, COMMIT_FORM, EXECUTE_QUERY (for detail table), LOV, TOOL.GETVAR lots of things are not working.
    My application has 200 forms and 250 reports.
    Please help and advise on:
    How to call reports from form when the database is XE Or
    How to overcome the stated migration problem
    Rgds,
    Luther

    Dear Mark:
    I have two choices. I can either migrate to 6i or I can go with the existing 4.5. If I go with 4.5 ......the reports are not being called from forms. This problem is happening after I changed the database from 9i to XE. Please advise what to do so that I can keep my forms in 4.5, database in XE and can call reports from forms.
    Rgds,
    Luther

  • UCCX 8.0 SNMP notification to report failover from active to the standby server?

    Does any know the UCCX 8.0 SNMP notification to report failover from active to the standby server?  (The specific notification.)
    ftp://ftp.cisco.com/pub/mibs/v2/CISCO-VOICE-APPS-MIB.my
    I see this in the MIB.
    cvaModuleStart NOTIFICATION-TYPE
      OBJECTS   { cvaAlarmSeverity, cvaModuleName }
      STATUS    current
      DESCRIPTION
            "A cvaModuleStart notification signifies that an
            application module or subsystem has successfully
            started and transitioned into in-service state. 
            This notification is working in conjunction with
            the cvaModuleStop notification to notify the start
            and stop status of a particular application module."
      ::= {ciscoVoiceAppsMIBNotifications 1}

    Attached are two files:
    cad-ecc-viewer.html
    This is a template HTML document which dictates how the pop up will look and what data fields are available.
    cad-ecc-viewer.vbs
    This is the Windows Scripting Host file which you run from a CDA workflow, and you pass it the values of the call data, it then launches an instance of IE and loads the above template.
    By default the code is setup to use the following data from the call, but can be modified to work with more, less, or different data:
    Customer Name
    Customer Status (like Premium, or Platinum)
    Customer Number (like an account number)
    Customer Phone Number
    So when you specify the VBS file to run in CDA you need to pass those variables in that order.
    The CDA should expect the VBS file on the root of C:\ by default, and the VBS file expects the HTML Template on the root of C:\ also.
    I have only tested this on UCCX 7x and IE 8x.  Use the code as a guide to your own solution, that suites your business requirements.
    EDIT: I see that this does not work on my Win7/IE9 system, so I will spend some time updating the code for Win7/IE9 and I'll let you know how it goes.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • How to display a Report 9i from Forms if the Report has a Parameter Form?

    Hi,
    could some one please post me a code sample to show how to call a (paper layout, RDF) Report from Forms if I would like it to display the Report's parameter form first?
    Thank you in advance.
    Tamas Szecsy
    I used the following code segment do achieve the job, but I get "REP-546: Warning: The value of restricted LOV parameter P_ALAL is not among the selectable values" message, even though I would like to specify the P_ALAL value on the report's parameter Form.
    declare
    paramlist_id ParamList;
    tmp_riport_name varchar2(200);
    report_id          report_object;
    report_job_id varchar2(200);
    tmp_id number;
    begin
    -- init
    tmp_riport_name := null;
              -- parameter list
    paramlist_id := get_parameter_list('mytmp_params');
    if not id_null(paramlist_id) then
    destroy_parameter_list(paramlist_id);
    end if;
    paramlist_id := Create_Parameter_List('mytmp_params');
    add_parameter( paramlist_id, 'PARAMFORM', TEXT_PARAMETER, 'YES' );
              -- call report
    report_id := find_report_object( 'DUMMY' );
    if report_id.id is null then
         return;
    end if;
    -- display
    set_report_object_property( report_id, report_execution_mode, runtime );
    set_report_object_property( report_id, report_comm_mode, synchronous );
    set_report_object_property( report_id, report_destype, 'preview' );
    set_report_object_property( report_id, report_desformat, 'PDF' );
    set_report_object_property( report_id, report_server, 'rep_geoias' );
         set_report_object_property( report_id, report_filename, :ALAP_REPORTS_NAME||'.rep' );
    report_job_id := run_report_object( report_id, paramlist_id );
    tmp_id := to_number(substr( report_job_id, length(name_in('rep_geoias'))+2 ));
    web.show_document( '/reports/rwservlet/getjobid'||tmp_id||'?server=rep_geoias', '_blank' );
    END;

    I think you specified report object name incorrect.
    in command line:
    repid := FIND_REPORT_OBJECT('REPORT1');
    Report1 must be name of report object in Form Builder.
    However to call report from Oracle Form you must do more work. For example:
    - Create report server name
    - Adding some code to set property for report object base on report server you created.
    Cheer!

  • Report call from forms and 1017

    Hi,
    we have a web application and and it's first screen is the login screen where user can change their password or when grace time comes we force the user to change their password etc. Password changes successfully, no issue and user goes inside the application. But here is the problem. When user clicks the report after chagning the password then report doesn't work, can't connect to database and audit trail shows 1017 so obviously when they click 3 times their account gets locked because in profile it's set to 3 failed attempts. When user close the application and re login again and then click the report, it works fine. I'm suspecting the new changed password doesn't pass to the report? i would really appreciate for your help, suggestions, advise. how do i make sure that the new changed password should be passed to the report?. We're running against 11g database and sec_case_sensitive_logon is set to false.
    Thanks
    RM

    Thank you for replying.
    Forms and Report Version:
    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Report Builder 10.1.2.3.0
    ORACLE Server Release 10.1.0.5.0
    We have a common procedure in the forms Obj Libarary which is called from WHEN-BUTTON-PRESSED trigger.
    Here is the common procedure:
    PROCEDURE EP_RUN_REPORT
                             (     as_in_rep_name      IN     VARCHAR2,
                                  as_in_plist               IN     PARAMLIST,
                                  ab_in_printer          IN     VARCHAR2     DEFAULT NULL
    IS
         ls_rep_id           REPORT_OBJECT;
         ls_job_id               VARCHAR2(300);
         ls_status           VARCHAR2(20);
         ls_url                    VARCHAR2(120);
         ls_rep_server     VARCHAR2(100);
    BEGIN
         TOOL_ENV.GETVAR( 'REP_SERVER' ,ls_rep_server );
         IF ls_rep_server IS NULL THEN
           pkg_alert.ep_alert('E','ERROR GETTING ENVIRONMENT VARIABLE');
           RAISE FORM_TRIGGER_FAILURE;
         END IF;
         ls_rep_id := FIND_REPORT_OBJECT (as_in_rep_name);
         IF ab_in_printer     IS NULL THEN
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESTYPE, CACHE );
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESFORMAT, 'PDF');     
         ELSE
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESTYPE, PRINTER );
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESNAME, ab_in_printer);
         END IF;
         SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_SERVER,  ls_rep_server );      
         SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_OTHER, 'PARAMFORM=NO');
         ls_job_id := RUN_REPORT_OBJECT (ls_rep_id, as_in_plist);     
         ls_status := REPORT_OBJECT_STATUS(ls_job_id);
         WHILE ls_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
              ls_status := REPORT_OBJECT_STATUS     (ls_job_id);
         END LOOP;
         IF ls_status = 'FINISHED' THEN
              IF ab_in_printer     IS NULL THEN
                   TOOL_ENV.GETVAR('URL',ls_url);
                   IF ls_url IS NULL THEN
                     pkg_alert.ep_alert('E','ERROR GETTING ENVIRONMENT VARIABLE');
                     RAISE FORM_TRIGGER_FAILURE;
                   END IF;
                   WEB.SHOW_DOCUMENT(     ls_url ||
                                                                     'reports/rwservlet/getjobid'||
                                                                     SUBSTR(ls_job_id, INSTR(ls_job_id,'_',-1)+1)||
                                                                     '?'||'server='||ls_rep_server,
                                                                     '_blank');
                   ELSE
                        NULL;
                   END IF;
         ELSE     
           pkg_alert.ep_alert('E','ERROR WHILE GENERATING REPORT');
           RAISE FORM_TRIGGER_FAILURE;
         END IF;
    END;Is there any other option beside giving the message?
    thanks again.
    RM

  • Report Called from FORMS having Printing Problem

    Hi all
    Guys i have a report problem in reports 6i.
    I am calling a report from my FORM 6i directly to printer (a dot matrix printer).
    I have set
    Add_Parameter(pl_id,'DesType',TEXT_PARAMETER,'printer');     
    The report is actually a confirmation report and i have given its layout height equal to 3.7 . But when i send it to printer it ejects the paper equal to 11 (equal to height of a portarait report).
    How can manage this ejection from Form or Report Side.
    NOTE : This problem occurs even if print the report from report preview(means not printed directlty from FORM).
    Kindly help me with this if any.
    I need it urgent.
    Thanx.

    Hello All
    The furthur detail to my previous problem is given as follows:
    I am getting problem
    with the Oracle reports. I have a dot matrix printer (Epson LQ-300, which is a
    tractor feed printer). While printing a report which is always not more than half a
    page, the printer does not stop after printing the report(the half page). It stops at
    the end of the page. I mean that half the page is printed and the rest half is blank.
    I want that the printer should print only at half a page. On the blank half it should
    print another copy of same report.
    Regards,
    Qaiser Qayyum Malik.

  • 11g reports calling from forms issue

    Hi,
    I am have installed the Oracle fusionware 11.1.4 version in windows XP ser2.
    I have configured the forms,reports server components and developer components.
    Forms are working fine. However i am getting the error while calling reports from the Forms.
    I am trying to convert the 6i forms and reports.
    The report calling code run_product is not worked, so i am changed the code to web.show_document.
    While running the form to call the report am getting the following error.
    REP-51019: System user authentication is missing.
    REP-50171: Authentication failed.
    Code is written in the form as shown below....
    v_show_document :='http://localhost:9002/reports/rwservlet?report='||:parameter.p_report_id||'.rep'||'&desformat=PDF&
    destype=cache&userid=SALIS/SALIS@SALIS&buffer_records=NO&debug_messages=NO&array=YES &query_only=NO&quiet=NO&RENDER=YES'||'&p_fromdate='||:CB_DUMMY.FROM_DATE||'&p_todate='||:cb_dummy.TO_DATE||'&lv_where='||lv_where||'&REPORT_ID='||:parameter.p_report_id||'&PARAMFORM=NO';
    web.show_document(v_show_document,'_blank');

    Check if you have SSO enabled:
    http://download.oracle.com/docs/cd/B14099_11/bi.1012/b14048/pbr_sso.htm#i1008966
    (this is the link for 10g but it may be the same for 11g. Look for the 11g link if this doesn't work for you).
    The report calling code run_product is not workedThat only works for Forms 6i. You should use run_report_object.

  • How to run a ProC* report called in forms6i on the WEB

    Hi all,
    We have few Proc* reports which are called in our previous version of oracle forms4.5. But we have now moved to forms6i and we want to run same ProC* reports on the web using forms6i.
    I don't have a clue how to do it..
    Have anyone done something similar to my requirement or is there any reference manual to look in.
    Thanks..
    regds
    Lasily THomas

    Thanks frank for the reply..
    We use the follwing code to call Pro*C report in forms4.5
    PROCEDURE RUN_HOST IS
    cursor DOCKET_CUR is
    select NVL(DELIVERY_DOCKET_TYPE,'A')
    from CLIENT
    where CODE = :PARAMS.CLIENT_CODE;
    p_report_id wms_report_log.report_id%TYPE;
    p_program wms_report_log.program%TYPE;
    p_select_args wms_report_log.select_args%TYPE;
    ret boolean;
    delivery_docket_type varchar2(1);
    BEGIN
    check_order;
    open DOCKET_CUR ;
    fetch DOCKET_CUR into delivery_docket_type;
    if DOCKET_CUR%notfound then
    delivery_docket_type := 'A';
    end if;
    close DOCKET_CUR;
    p_program := 'mr803';
    p_select_args :=
    'CLIENT="' || :params.client_code || '" ' ||
    'ORDER_NO="' || :params.order_no || '" ' ||
    'DOCKET_TYPE="' || delivery_docket_type || '" ' ||
    'PRINT_SUB="' || nvl(:params.print_sub_orders,'N') || '" ' ||
    'REPRINT="' || 'Y' || '"';
    ret := wms_report_init(p_program, p_select_args,
    :params.printer_name, :params.background_mode,
    p_report_id);
    if (ret = FALSE) then
    raise form_trigger_failure;
    end if;
    -- if no report_id was set then user must of cancelled
    if p_report_id is null then
    return;
    end if;
    :system.message_level := 10;
    commit;
    :system.message_level := 0;
    ret := wms_run_report('../proc/'||p_program, p_report_id, :params.background_mode);
    if (ret = FALSE) then
    raise form_trigger_failure;
    end if;
    END;
    Frank, can u please briefly explain what do u mean by
    physical
    directory for Web access and use Web.show_document()
    in Forms on the Web to download the Reports output to
    the client.Im very new to forms6i..
    regds
    Lasily THomas

  • Report call from FORMS

    Hi
    Can we apply both below methods to call paper layout or web lay out
    1. WEB.SHOW_DOCUMENT()
    2. RUN_REPORT_OBJECT()
    Or else web lay out reports call only from one of them?
    Rgds
    Shabar

    Hello,
    For Paper Layout , you can use both Forms Builtins :
    WEB.SHOW_DOCUMENT()
    RUN_REPORT_OBJECT()
    For Web Layout , only WEB.SHOW_DOCUMENT() can be used .
    Regards

  • App Server 10g2 - PDF Reports called from Forms go to a background window

    Hi all
    We have Application Server 10g2 in use, mainly for legacy forms and reports. We also have the Secure Java Web.Show_Document bean (frmrwinteg.jar) installed. Since the application of the October 2008 CPU when a form calls a PDF report, it will pop in the background and leave the Internet Explorer window with the form at the front. We have not changed any configuration settings which could affect this.
    Is there a way to go back to the old behaviour, that of having the report appear in the foreground instead of behind internet explorer? We'd appreciate any tips on this. Thanks.

    Well I am not sure if this is the original question. Here is what SebastienL mentioned originally:
    Is there a way to go back to the old behaviour, that of having the report appear in the foreground instead of behind internet explorer?He also mentioned this:
    Before, the PDF window would open in front of IE, like any new window should. Now it opens in the background and IE stays in front.And it seems to be happening not just for him but for all users (on multiple client machines) as he mentioned this:
    This occured overnight after a CPU patch to everyone who uses the system.If I am interpreting it correctly (and I don't claim to be correct in my interpretation), the issue is not about having to open PDF in the same IE window as the Forms. I am guessing SebastienL is looking to have PDF document appear in foreground (on top of Forms IE window) vs. it showing up in background (behind the Forms IE window).
    Did I get it right SebastienL?
    It does sound very much client configuration issue but I doubt (if my above assumptions are correct). Let me dig around and see if I can find something.
    Thanks
    Shail

  • How do you open raw files (NEF from Nikon) in the edit workspace on Elements 8

    how do I get raw NEF files (from Nikon) to open in the edit workspace of elements 8?  I have windows 7 , and when I try to open NEF raw files from the viewer, it says cannot recognize the file type.
    Thanks!

    What is your camera model? Every camera has its own raw format and the raw converter must be updated to work with it. If your camera model was new in the past couple of years PSE 8 won't be able to open those files directly.

  • How to Debug ABAP Webservice - called from Form

    Hi All,
    Need to debug a web service (RFC-enabled function module in basis 640). Is it possible? We are calling the web service from an adobe interactive form and need to see what is being passed to the web service.
    (Note: Form is being used in offline mode)
    Please let me know if you can think of a way to do this.
    HTTP-enabled break-point did not work for me.
    Regards,
    Akshay

    Hi,
    If you have defined the Logon Procedure with your SAP Logon ID in the WebService that was created then by placing the External Debugger in the RFC Enabled Function Module you can trigger the Break Point.
    Regards
    Pradeep Goli

  • How do you completely erase recently calls from your Mac Book Pro

    I am trying to erase numbers from my most recent on my iMessage on my Mac Book Pro.  Its memorizing the number and I don't want it to.

    Oh, that means you've had a kernel panic. Just restart the computer. You don't have to disconnect the other computer if it's on an Ethernet connection.

Maybe you are looking for

  • Facing problem in iplanet pre populate adapter in OIM 11g r2

    We have deafult iplanet prepop adapter as iPlanet PP String. the default fields, i.e First Name, Last Name, email is getting populated from user form to process form. But we have a number of other attributes as well whose values need to be pre popula

  • Template installer (plug-in missing) .. Plz urgent

    Dear All, I the browser when I navigate in "SAP NetWeaver Administrator" -> "Deploy and Change" -> Template Installer, I get the error message "Cannot start plug-in".  I am using Netweaver2004s with sps15. Regards Farooq

  • Cisco Prime Server Specifications

    Would anyone happen to know a good server build would be to run Cisco Prime Infrastructure for 5k in network devices.  I can only find VM information and not physcial hardware specifications in regards to this.

  • Embed flash player in Java Swing or SWT UI?

    Is it possible to embed the Flash player in a Java Swing or SWT UI? Thanks in advance for your help?

  • Contact Sheet II.

    No matter what I do, the file extension names (i.e. jpg) show up in the contact sheet. Any way to eliminate them? I'm creating a grid for a gallery show and having the filename extensions added to the title of each image is cheesy.