System hang after when try to run report from a form

Hi all,
I was able to run the report by using the run_report command from form builder to call a report with any problem. However, when I attached in my application, the form is being call out but when try to click on the print button from the form, the screen is stuck or hung without showing anything.
Below is part of the code that will call the report to print within the form.
declare
     PL_ID PARAMLIST;
     printername VARCHAR2(50);
begin     
     PL_ID := GET_PARAMETER_LIST('WEIGHMENT');
IF NOT ID_NULL(PL_ID) THEN
DESTROY_PARAMETER_LIST(PL_ID);
END IF;
PL_ID := CREATE_PARAMETER_LIST('WEIGHMENT');
printername := '"'||'ZDesigner GK420d, USB001'||'"';
Add_Parameter(pl_id, 'DESNAME', TEXT_PARAMETER, printername);
Add_Parameter(pl_id, 'DESTYPE', TEXT_PARAMETER, 'PRINTER');
RUN_PRODUCT( REPORTS, 'ACT_INV_ITM_LBL.rep', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL );
Thanks.
Lim

i got it
just make report out of SSO by the steps
If you don't want to use Single Sign-On:
Edit $ORACLE_HOME\reports\conf\rwservlet.properties
Change #SINGLESIGNON=YES to SINGLESIGNON=NO
Log in to the Enterprise Manager website at http://<server_name>:18100
Navigate to the Report server page. Click on the "Edit Configuration File" link.
Delete the section that reads
<security id="rwSec" class="oracle.reports.server.RWSecurity">
<!--property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/-->
<property name="oidEntity" value="reportsApp_apps10_85643151B9D911DCAF4E278FF4D47F77"/>
</security>
Press “OK” and let EMWebsite restart the reports server. or restart all
and it will work ...

Similar Messages

  • Can not run Reports from a Form

    Hello,
    First: I'm completely new to Oracle, even my english is not very good - i'm sorry for that.
    Problem:
    I want to run a report from a Form using the Report Server.
    If i use:
    WEB.SHOW_DOCUMENT('http://tfischer:8888/reports/rwservlet?report=C:\Oracle-Projekte\testbericht.rdf&USERID=user/password@oraapp&SERVER=SrvShadow&DESFORMAT=html&DESTYPE=cache', '_blank') - everything works well.
    But if i use:
    repid := FIND_REPORT_OBJECT('REPORT_NAME');
    v_rep := RUN_REPORT_OBJECT(repid); - always following Error-Message appears:
    "FRM41213: Anmeldung bei Report-Server SrvShadow nicht möglich" (english: registration on Report-Server SrvShadow not possible)
    I am using:
    Windows 2000
    Oracle DS9i
    Oracle DB92 (Personal edition)
    Can somebody help me, please?
    If you need more information, to help me, please ask.

    Hi,
    Try using
    SET_REPORT_OBJECT_PROPERTY
    (repid,REPORT_SERVER,"YOURSERVERNAME");
    before
    v_rep := RUN_REPORT_OBJECT;
    If you are testing the report on your PC using reports services on your PC then you may need to initiailize the reprots server using
    rwserver server="YOURSERVERNAME" install
    at command prompt.
    Hope this helps.
    -Jayshree

  • Login screen when try to run report

    hi all
    i am using application server and forms 10g rel 2
    when i make a form runs a report in the development machine every thing is ok when i try to run it on the server i got a login screen
    which have this string
    http://apps10:7777/sso/jsp/login.jsp? ...............
    but the url i typed in WEB.SHOW_DOCUMENT is
    ('http://apps10:7778/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_apps10_oracleas2','_blank');
    any ideas ??

    i got it
    just make report out of SSO by the steps
    If you don't want to use Single Sign-On:
    Edit $ORACLE_HOME\reports\conf\rwservlet.properties
    Change #SINGLESIGNON=YES to SINGLESIGNON=NO
    Log in to the Enterprise Manager website at http://<server_name>:18100
    Navigate to the Report server page. Click on the "Edit Configuration File" link.
    Delete the section that reads
    <security id="rwSec" class="oracle.reports.server.RWSecurity">
    <!--property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/-->
    <property name="oidEntity" value="reportsApp_apps10_85643151B9D911DCAF4E278FF4D47F77"/>
    </security>
    Press “OK” and let EMWebsite restart the reports server. or restart all
    and it will work ...

  • Getting Database Logon Prompt when trying to run report from Infoview

    I have a user who has 2 Crystal reports loaded in InfoView.  The reports are similar except for the parameters.  When scheduling one of the reports, she is being prompted with the database logon information everytime she tries to enter the parameters.  But on the other, she isn't.  All she is prompted with is the parameters of the report.  Which setting in InfoView or CMC controls the database logon prompt? We are on BOE 11.5.
    Thanks,
    Maureen

    Dynamic Parameters. You'll want to get all your report designers up on this topic.
    When you create a dynamic parameter in a Crystal Report, and then publish it to the Enterprise, you are creating a Business View, with all it's underlying necessary layers. Dynamic Parameters exist to be able to use the same LOV (a list of current customers) from a database for more than one report. These dynamic parameter LOVs act like a mini report that runs against the database and gets the current values for selection, then the selection(s) are used to run the overall report.
    So I create a report, and in it I create a dynamic Customer LOV. When I save it, the Enterprise creates a Data Connection (DC), Data Foundation (DF), Business Element (BE), Business View (BV), and the list of values is built on the Prompt Group. So, my Business View Manager, Repository Explorer will show (in the default Dynamic Cascading Prompts folder):
    Customer_DC
    Customer_DF
    Customer_BE
    Customer_BV
    Customer - Prompt Group
    Customer (the LOV)
    The idea is that next time I create a report and need a customer parameter, I select the existing dynamic group. If the report designer is unaware of this, and next time they create a new report that needs a customer LOV, they creates a new dynamic LOV "Customer", when saved to the Enterprise, it repeats the above. Since repository objects must have unique names, you will now have additional items something like:
    Customer 2_DC
    Customer 2_DF
    Customer 2_BE
    Customer 2_BV
    Customer 2 - Prompt Group
    Customer 2 (the LOV)
    So you can see how that folder will get filled with duplicates pretty quickly. Which ones were created and used in which reports? Have to open the report in Crystal Reports, open the parameter for Edit and verify the LOV name (_2, _3, _4, etc). If you do in fact discover there are dupes, you can change it to a single one for all reports using a dynamic LOV, re-save them to the Enterprise, then delete the dupes in the BVM.
    You've already discovered how to use the BVM to update the data connection to include/save the database credentials. The only other common issue is sometimes the LOV rights need to be changed in order to allow users to "Edit" the LOV (select different values in the LOV). You'd have to run the report as an end user, not the admin account or the report designer account to verify that works.
    Another item of note is that these dynamic LOVs are run by the Report Application Server (RAS), regardless of which viewer you are using.
    The Business View Manager administration guide has more information on the subject.

  • OAS in Unix: URL not found when run report from Form???? please help

    Hi,
    We have succesfully install OAS with Form Server and Report Server in
    Unix. We able to run Form and Report direct from browser. But we having
    problem to run Report from direct Form within the browser. The message from
    the browser was 'The requested URL was not found'. We use run_product to run
    report from form. Below is the statement:-
    Run_Product(REPORTS, 'A10001', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,
    NULL);
    Does anyone have an idea??
    Thanks in advance.
    null

    please check env. variables
    1. FORMS60_MAPPING
    2. FORMS60_OUTOUT
    FORMS60_MAPPING should point to vartual directory on your forms webserver
    FORMS60_OUTPUT should point to physical
    directory path of vartual directory
    FORMS60_MAPPING
    regards
    Darshan
    [email protected]
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by leong([email protected]):
    Hi,
    We have succesfully install OAS with Form Server and Report Server in
    Unix. We able to run Form and Report direct from browser. But we having
    problem to run Report from direct Form within the browser. The message from
    the browser was 'The requested URL was not found'. We use run_product to run
    report from form. Below is the statement:-
    Run_Product(REPORTS, 'A10001', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,
    NULL);
    Does anyone have an idea??
    Thanks in advance.
    <HR></BLOCKQUOTE>
    null

  • Run a Report from a Forms Menu

    I have a brain teaser,
    I am trying to run a report from a forms menu item. Here
    is my menu item code:
    RUN_PRODUCT(REPORTS,
    'C:\Documents and Settings\Bradley\My Documents\A_THESIS\Reports\AUCTION_EVENT_REPORT',SYNCHRONOUS,RUNTIME,FILESYSTEM,'',NULL);
    When I call on the menu item it works for a while and then a Reports Background Engine error message says:
    REP-0110: Unable to open file 'C:\Documents and Settings\Bradley\My Documents\A_THESIS\Reports\AUCTION_EVENT_REPORT'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file
    Any ideas?
    Any help appreciated,
    Bradley

    Frank,
    I tried it at C:\AUCTION_EVENT_RPT with the same result.
    Do you ever run Reports from a form? If so how do you do it?
    Bradley

  • Firefox 3.6 when I open a SWF file, a wrong mouse click, it show a recursive open window until the PC resource is used up or the system hang up, I try to reinstall firefox but not solved.

    Windows XP SP3, flash player 10.2, Shockwave 11.5.9.240 , when I open a SWF file with firefox 3.6.15, it shows some options to choose action and I made a wrong click. The firefox nightmare is a "open recursive windows" until the system hang. When I use Internet Explorer 8 to open it, it is fine, Try to uninstall firefox and reinstall it, but in vain, how can I restore it?

    You don't have the Shockwave Flash Player installed for Firefox. You may have the ActiveX version installed for IE, but Firefox needs the Plugin version. And Shockwave 11.5.9.240 that is installed for Firefox isn't the same thing.
    1.Download the Flash setup file from here: <br />
    [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe Adobe Flash - Plugin version]. <br />
    ''Or maybe get the previous '''r102''' version from here. IMO, there's problems with the latest version of Flash.'' <br />
    http://kb2.adobe.com/cps/142/tn_14266.html <br />
    Save it to your Desktop.<br />
    2. Close Firefox using File > Exit <br />
    then check the Task Manager > Processes tab to make sure '''firefox.exe''' is closed, <br />
    {XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC = Processes tab}
    3. Then run the Flash setup file from your Desktop.
    * On Vista and Windows 7 you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). <br />
    See this: <br />
    [http://vistasupport.mvps.org/run_as_administrator.htm]

  • I have just upgraded from Elements/Premiere elements 11 to version 12. I am running on a PC with Windows 7. When I try to run video from the existing catalogue or video newly imported I get a window stating "....system does not have the required compresso

    I have just upgraded from Elements/Premiere elements 11 to version 12. I am running on a PC with Windows 7. When I try to run video from the existing catalogue or video newly imported I get a window stating "....system does not have the required compressor/decompressor (codec) installed" Where has it gone? Where do I get a new one? I am getting REALLY REALLY fed up with trying to find an answer!!!!!!!!

    Try to disable hardware acceleration in Firefox.
    *Firefox > Preferences > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • When run report from form(6i) on the web,error FRM-921000

    While I was trying to run report from form (6i)on the web,it will give me this error
    message FRM-921000 and hang.
    But when I try to call form using form,I do
    not have the problem.
    May I know ehat is the cause?
    Anybody encounter this before?
    Thanks
    null

    I am running Forms 6i on the web and attempting to call me report via RUN_REPORT_OBJECT. I am getting the same error as Jenny FRM-92100. I need to pass a parameter list so I don't think I can use WEB.SHOW_DOCUMENT. Any ideas???
    Thanks,
    Jenny N.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Joseph Schwertner ([email protected]):
    Dear Jenny,
    I am running reports from Forms 6i on the WEB. I did not encounter your problem. Nevertheless I would like to share the following with you.
    RUN_PRODUCT doesn't work for calling reports ON THE WEB. Instead using RUN_PRODUCT do the following:
    1. Install Oracle Reports Server
    2. For WEB calls of reports use WEB.SHOW_DOCUMENT
    3. Learn how to pass parameters to the reports. It is a litlle bit strange, but it is explaint excellent in the documentation to the Reports Server.
    I hope this will help you.
    Joseph Schwertner
    <HR></BLOCKQUOTE>
    null

  • MBP "System Profile" error when try read "Logs" and long time blue screen

    MBP "System Profile" error when try to read "Logs" and it takes long time blue screen at startup.
    This happened all time when I open the "System Profiler" application and then select the option "Log", then the system crashed again over and over. The system was reinstalled clean but the error occurs again, without any third party application installed.
    Here is the error:
    Sun Jun 22 20:13:47 2008
    panic(cpu 0 caller 0x001A8CD4): Kernel trap at 0x007efc12, type 14=page fault, registers:
    CR0: 0x80010033, CR2: 0x00000000, CR3: 0x013ab000, CR4: 0x00000660
    EAX: 0x00000000, EBX: 0x045ce1e0, ECX: 0x05782c64, EDX: 0x00010001
    CR2: 0x00000000, EBP: 0x344d3ca8, ESI: 0x046ad5c0, EDI: 0x046a8040
    EFL: 0x00010206, EIP: 0x007efc12, CS: 0x00000008, DS: 0x00010010
    Error code: 0x00000000
    Backtrace, Format - Frame : Return Address (4 potential args on stack)
    0x344d3ab8 : 0x12b0fa (0x459294 0x344d3aec 0x133243 0x0)
    0x344d3b08 : 0x1a8cd4 (0x4627fc 0x7efc12 0xe 0x461fac)
    0x344d3be8 : 0x19ede5 (0x344d3c00 0x206 0x344d3ca8 0x7efc12)
    0x344d3bf8 : 0x7efc12 (0xe 0x48 0x10 0x3e0010)
    0x344d3ca8 : 0x3ef261 (0x45ce1e0 0x46a2c40 0x49a7a4 0x0)
    0x344d3ce8 : 0x40abe6 (0x46a8040 0x46a2c40 0x344d3d28 0x3eeac0)
    0x344d3d08 : 0x40e4fb (0x46aec00 0x46a2c40 0x46aec04 0x46aec00)
    0x344d3d28 : 0x43ab14 (0x46aec00 0x46a2c40 0x600000 0x19c8d1)
    0x344d3d78 : 0x18801e (0x46aec00 0x4a5e5ac 0x4a5e5c0 0x11d975)
    0x344d3db8 : 0x12d17e (0x450adac 0x4a5e590 0x0 0x0)
    0x344d3df8 : 0x126257 (0x450ad00 0x0 0x18 0x344d3ee4)
    0x344d3f08 : 0x1973dd (0x344d3f44 0x0 0x0 0x0)
    0x344d3fc8 : 0x19f3b3 (0x479fee0 0x0 0x10 0x0)
    No mapping exists for frame pointer
    Backtrace terminated-invalid frame pointer 0xbffff1c8
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.IOFireWireIP(1.7.1)@0x7ea000->0x7f2fff
    dependency: com.apple.iokit.IOFireWireFamily(3.4.4)@0x6ed000
    dependency: com.apple.iokit.IONetworkingFamily(1.6.0)@0x5d1000
    BSD process name corresponding to current thread: ioreg
    Mac OS version:
    9D34
    Kernel version:
    Darwin Kernel Version 9.3.0: Fri May 23 00:49:16 PDT 2008; root:xnu-1228.5.18~1/RELEASE_I386
    System model name: MacBookPro3,1 (Mac-F4238BC8)
    This is the System Config:
    Model: MacBookPro3,1, BootROM MBP31.0070.B07, 2 processors, Intel Core 2 Duo, 2.4 GHz, 2 GB
    Graphics: GeForce 8600M GT, GeForce 8600M GT, spdisplayspciedevice, 256 MB
    Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
    Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
    AirPort: spairportwireless_card_type_airportextreme (0x168C, 0x87), 1.3.5
    Bluetooth: Version 2.1.0f17, 2 service, 1 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    PCI Card: pci168c,24, sppci_othernetwork, PCI Slot 5
    Serial ATA Device: FUJITSU MHW2160BHPL, 149.05 GB
    Parallel ATA Device: HL-DT-ST DVDRW GSA-S10N
    USB Device: Built-in iSight, Apple Inc., high_speed, 500 mA
    USB Device: Bluetooth USB Host Controller, Apple, Inc., full_speed, 500 mA
    USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, full_speed, 500 mA
    USB Device: IR Receiver, Apple Computer, Inc., low_speed, 500 mA

    Hello @larrycarol99,
    I understand that after upgrading your computer when you plug in an ethernet cord you get a hardware malfunction error. I am providing you with a Microsoft Support document: Hardware Malfunction Results in System Error Message that explains what causes that error and provides steps on fixing it. I am also including a link to the Compaq Presario 5300US Desktop PC Drivers page, which unfortunately does not have any drivers for your computer running Windows Vista.
    I hope this helps. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Internal server error when running report from form

    i am getting the following error when I run a report from a form using 9i:
    java.lang.NumberFormatException: mgb_5
    this is my code:
    DECLARE
    repid REPORT_OBJECT;
    vc_rep VARCHAR2(20);
    vc_URL VARCHAR2(100);
    vc_rep_job VARCHAR2(10);
    BEGIN
    repid := find_report_object('rep2');
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'C:\uni\mdt\cw1\rep2.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, CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'htmlcss');
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER,'rep_mgb');
    vc_rep := RUN_REPORT_OBJECT(repid);
    vc_rep_job := substr(vc_rep,instr(vc_rep,'_')+1);
    vc_URL := '/reports/rwservlet/getjobid' ||vc_rep_job||'?server='||get_report_object_property (repid,report_server);
    web.show_document(vc_url, '_blank');
    END;

    Michael,
    print out "vc_rep_job" to a message or alert to see if this contains a valid number. If this shows as a valid number try to manually type the access URL into a browser URL field. If this shows then you have a hidden character within your URL.
    The PLSQL code looks okay.
    Frank

  • Primavera crashes when i try to run it from Citrix. OS is Server 2008

    When i try to run Primavera from Citrix , choose databse and enter user name and password , it crashed and give following error
    Problem Event Name: APPCRASH 
    Application Name: PM.exe 
    Application Version: 7.0.3.3036
       Application Timestamp: 2a425e19
      Fault Module Name: StackHash_1703
       Fault Module Version: 0.0.0.0 
    Fault Module Timestamp: 00000000
       Exception Code: c0000005 
    Exception Offset: 059ab530  
    OS Version: 6.0.6002.2.2.0.18.10 
    Locale ID: 1033
      Additional Information 1: 1703
       Additional Information 2: 2264db07e74365624c50317d7b856ae9 
    Additional Information 3: 1344 
    Additional Information 4: 875fa2ef9d2bdca96466e8af55d1ae6e
    I am able to run Primavera correctly when i Remote login to server and run it froms it desktop
    But the exe crashes when run from Citrix. Dbconfig runs fine. Only problem when i start PM.exe.
    Can any one help what may be the reason.

    Hello,
    I have seen such error with the DEP (Data Execution Protection) that was blocking it. Do you log in into your Citrix with the same  Windows User as remote? Are the permissions to application folders correctly set?
    Regards
    Daniel

  • Error File missing when try to run iTunes on windows. No more info. Uninstalled following support instructions and reinstalled - same message while reinstalling.

    Error "File missing" when try to run iTunes on windows. No more info. Uninstalled following support instructions and reinstalled - same message while reinstalling.

    Hi there slklug43,
    You may find the troubleshooting steps in the article below helpful.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    -Griff W. 

  • Specific Error Message When I Try To Run Safari From Win XP Pro

    This is the error message that I get when I try to run Safari from my Win XP Pro computer.
    *Visual Studio Just In Time Debugger*
    *An unhandled Win32 exception occurred in Safari.exe [1288]. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.*
    *Check the documentation index for ‘Just-in-time debugging, errors’ for more information.*
    I used to have Visual Studio on this computer but I do not anymore. I don't understand why I'm getting this error message everytime I try and run Safari web browser.

    I also have the same problem except that instead of it being a 1288, its a 7412.
    @RNTiger, sry this post is of no help, lol

  • FRM-41213 When calling report from a form using RUN_REPORT_OBJECT

    Hi,
    I get an error frm-41214:unable to connect to the report server when i am trying to call a report from a form using RUN_REPORT_OBJECT.
    My code is as follows:
    I have created a simple report using employee table such tht when i give the department number as parameter it should get the corresponding details along with that i also have highlited the system parameters:
    DESFORMAT
    DESNAME
    DESTYPE
    also other user parameters as
    p_action
    p_servername
    p_user_connect
    and in the before parameter form trigger the following code:
    function BeforePForm return boolean is
    vc_parameter_form VARCHAR2(4000);
    vc_hidden_runtime_values VARCHAR2(1000);
    vc_report_name VARCHAR2(100);
    begin
    IF (:P_ACTION = '_action_') THEN
         vc_hidden_runtime_values := '_hidden_';
    ELSE
         srw.get_report_name(vc_report_name);
              vc_hidden_runtime_values:='report='||vc_report_name||'&destype='||:destype||'&desformat='
    ||:desformat||'&userid='||:p_user_connect||'&server='||:p_servername;
    END IF;
    vc_parameter_form:='<html><body bgcolor="#ffffff"><form method=post action="'
    ||:P_ACTION||'">'||'<input name="hidden_run_parameters" type=hidden value="'
    ||vc_hidden_runtime_values||'">'||'<center><p><table border=0 cellspacing=0 cellpadding=0><tr><td>'
    ||'<input type=submit></td><td width=15><td><input type=reset></td>'||'</tr></table><p><hr><p>';
                        srw.set_before_form_html(srw.text_escape,vc_parameter_form);
    return (TRUE);
    end;
    After this i created a form with department table as my datablock:
    I created a report object in the form with name REPORT6.
    -Created a procedure in the form with the following code
    PROCEDURE RUN_REPORT_OBJECT_PROC(report_id REPORT_OBJECT,reportserver VARCHAR2,runformat VARCHAR2) IS
    report_message VARCHAR2(100);
    rep_status VARCHAR2(100);
    vc_user_name VARCHAR2(100);
    vc_user_password VARCHAR2(100);
    vc_user_connect VARCHAR2(100);
    vc_connect VARCHAR2(300);
    BEGIN
    vc_user_name:=get_application_property(username);
    vc_user_password:=get_application_property(password);
    vc_user_connect:=get_application_property(connect_string);
    vc_connect:=vc_user_name||'/'||vc_user_password||'@'||vc_user_connect;
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,runformat);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,reportserver);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'p_deptno='
    ||:Dept.Deptno
    ||' paramform=yes P_USER_CONNECT='
    ||vc_connect||' P_SERVERNAME='||reportserver
    ||' P_ACTION=http://iitv-1:8888/reports/rwservlet?');
    report_message:=run_report_object(report_id);
    rep_status := report_object_status(report_message);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
    rep_status := report_object_status(report_message);
    END LOOP /* Wait for Report to be finished */;
    IF rep_status='FINISHED' then
    web.show_document('http://iitv-1:8888/reports/rwservlet/getjobid'||
    substr(report_message,instr(report_message,'_',-1)+1)||'?server'
    ||reportserver,'_blank');
    ELSE
    message (rep_status||' Report output aborted');
    END IF;
    END;
    I created a press button and in the when_button_pressed trigger i added the following code:
    declare
         repid REPORT_OBJECT;
         repserver VARCHAR2(100);
         runformat VARCHAR2(10);
    BEGIN
         repid := find_report_object('REPORT6');
         repserver := 'rep_iitv-1';
         runformat := 'HTML';
         run_report_object_proc(repid,repserver,runformat);
         END;
    Then tried to run the form but i got this error frm-41213 unable to connect to the report server.
    Any one please help me.

    Run_report_object can't work with forms9i
    Regards
    Vikas Singhal

Maybe you are looking for

  • Project Manager can´t see my .lso files

    Hello logicusers, I am new at the forum and this is my first trouble: Project Manager can´t see my .lso files. I would like to start using PM but it seems to be difficult without seeing .lso files in the navigator window. I´ve read the books, I´ve ch

  • Use condition for assigning query to data provider with Javascript

    Hi gurus, I want to assign a query dynamically to a data provider when the user activated a Tab Panel in a Web Template (BI7). I can do that easily with the standard function SET_DATA_PROVIDER_PARAMETERS but this action is do each time of the activat

  • Strange Problem using tomahawk and JSF 1.1

    Hi, my JSF Project (Tomcat 5.5.17 as Server; jre 1.6) works fine until I add the tomahawk .jar (1.1.3) to the lib folfder. When I add the jar file I get the following exception: SCHWERWIEGEND: Exception sending context initialized event to listener i

  • Error output for users

    Hi. The code that is being run is : message 'check loads' type 'E'. I want it to not send out the message "check loads", but to display the information in the particular table fields and also log it.  What would be the syntax to post the data for a p

  • Slow mountain lion download

    Anyone else having trouble downloading from the app store? I'm in the UK and have nothing but trouble with app store downloads. 4.37gb taking 7hrs on a 100mb connection. Downloaded starcraft from Blizzard in 20mins... 4gb... Apple need to sort this o