Call 10g Report From Menu(.mmb)

Hi All,
I want to call a Simple 10g paper layout report from Menu.. How can I do this..
I have searched a lot and didn't find any exact answer
TIA

Well m using this simple code to call my paper layout report and I have mentioned it in the report node but it gives me the error
frm-41213 unable connect report server
DECLARE
report_id Report_Object;
ReportServerJob VARCHAR2(254);
BEGIN
report_id := find_report_object('emp');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'PDF');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'Rep60_zubairit'); /*my report server name*/
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'p_deptno='||:Deptno||' paramform=no');
ReportServerJob := run_report_object(report_id);
END;
didnt get what the actual problem is..do i need to make any changes in reports folder located in developer folder??
TIA

Similar Messages

  • Call oracle reports from MENU in oracle ebs

    is it possible in oracle ERP EBS R12
    how to call oracle reports from menu [any screen] in oracle ebs erp r12??
    please help

    you may do a few things from menus and by adding buttons, but this is not really standard.
    You may add button on the form or web page that after a certain action or event. You'll have to do personalization / extension and everything is present in oracle for normal report submission.
    Why this is not done thru normal submission ?

  • Can we call 10g Report from Form-6i???

    Hi buddies.....Can we call a report developed in 10g reports from a 6i Form using Run_Report_Object???

    Hi,
    you can run the reports in 6i. There won't be any problem. I have checked with the RDF file.
    I don't know whether the REP file which is generated in 10g can be opened in 6i or not.
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Call 10g report from 4.5 form

    Hi everyone,
    Can anyone please tell me, how can i call a 10g report from a 4.5 form? Which are the implications on both sides?
    thanks in advance,
    MC
    Please, can anyone help me?

    All of these suggestions are limited because of the forms engine and plsql engine within forms. You will have to try them. And none of these configurations are supported by oracle.
    Use the old run_product. You will have to install reports runtime on every client
    RUN_PRODUCT(product, document, commmode, execmode, location,
    list, display);Try to make a call to a package in the database that calls utl_http, which makes a call to your reports server via a url.
    Maybe an OLE or VBX call out to IE?
    All of these are stabs in the dark.
    Try upgrading forms!!!

  • Calling 10g Report from 6i Form

    A 6i client-server form has a call to a 10g report in the form of a URL.
    The HOST command calls Internet Explorer and with the URL appended. This, however, keeps the form locked until IE is closed.
    Is there a way around this or a better way to call a URL from 6i Forms?
    Thank you.

    Found an example. It seems to work fine.
    I believe this is replaced in Forms 10g by web.show_document though.
    win_api_shell.winexec(vcCommand, WIN_API.SW_SHOWNORMAL, FALSE);

  • Calling 10g reports from ADF_BC Application

    Dear All;
    Good day to you;
    I have an ADF_BC application, and at the same time i have 10g reports compiled and placed on forms and reports server,
    i want to call reports from my application as needed, i can put a hyperlink with the link to the report, and it is working fine,
    but i want to know how to change the link to be dynamic, since the application is deployed on 1 application server, and the rerports on the other
    in addition i need, to know how to send parameters
    i am unable to change the properties of a hyperlink in the code, and i do not want to change it in scriplet
    any idea, or tutorials will be most helpful
    thank you
    regards
    halim

    Hello John;
    Thank you for your reply;
    Yes i am using JSF, i am working on JDEV 10.1.3.30, i deployed my application to srvanweb2 a server we have, where the application server port is 7777,
    and i have deployed my reports to srvanweb2 with port being 7778,
    Report: http://srvanweb2:7778/reports/rwservlet?cmdkey=user_string&report=hrempr007.rdf&destype=cache&desformat=pdf
    Application: http://srvanweb2:7777
    my problem is, if i want to embed the link to the report as a common HTML hyperlink it would work, but if i want to set the value for this hyerplink dynamically to be able to add parameters on run time i would have to do it on the scriptlet level, and i can not do it in a bean, since i can not call the hyperlink set value, or even the get value, so my question what should i use to create a link which will change in a bean as you said and be able to call a differnet instance which is srvanweb2:7778, and send parameter
    regards
    Halim

  • Calling Crystal Reports From Menu

    Can I crystal Report sitting on a NT machine thru menu item which is deployed as an applet on my browser ???

    Can I crystal Report sitting on a NT machine thru menu item which is deployed as an applet on my browser ???

  • Calling Report from Menu (Oracle Forms 10g)

    We have the applications in Forms6i & Reports 6i (Client Server) and migrating to Forms 10g and Reports 10g. We have the menu, from that menu we are calling all the forms and Reports. For especially Reports earlier we user RUN_PRODUCT but now 10g it is not working. How can call the report using RUN_REPORT_OBJECT
    Important things we have some dynamic parameters (input) to the each report. That means when i called the report from the menu i need to get first parameter form to take the parameters and then can be run the report.

    Here is the code to call report from menu in 10g
    DECLARE
    pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep varchar2(100);
    v_server VARCHAR2(100);
    rep_status varchar2(100);
    v_host VARCHAR2(100);
    BEGIN
         select rep_server into v_server from reports_data;
         select machine into v_host from reports_data;
    pl_id := Get_Parameter_List('tmpdata');
         IF NOT Id_Null(pl_id) THEN
         Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('tmpdata');           
    Add_Parameter(pl_id,'P_C_CODE',TEXT_PARAMETER,:GLOBAL.COMPANY);
    Add_Parameter(pl_id,'P_B_CODE',TEXT_PARAMETER,:GLOBAL.BRANCH);
         repid := find_report_object('REPORTOBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,getpath||'E_VOUCHER_ENTRY.RDF');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_server);
              v_rep := RUN_REPORT_OBJECT(repid, pl_id);
              rep_status := REPORT_OBJECT_STATUS(v_rep);
              WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
                   LOOP
                        rep_status := report_object_status(v_rep);
                             message('Running');
                   END LOOP;
              IF rep_status = 'FINISHED' or rep_status is NULL THEN
                   --Display report in the browser
                   WEB.SHOW_DOCUMENT('http://'||v_host||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_server,'_blank');
              ELSE
                   null;
         END IF;
    END;

  • HOW TO HIDE USERID PARAMETER, WHEN CALL REPORT FROM MENU USING FORM 10G

    good morning colegas
    i'm from panama
    when i call a report from a oracle forms menu, its send a user, pass and bd in the url, i need to hide this parameter userid,
    cuando llamo un reporte desde forms, se envia el usuario, pass y bd en el url nesesito ocultar estos parametros del url, le agradeceria si alguno tiene algun eejmplo q me de, de como ocultar estos parametros
    i'm using oracle forms y report 10g
    this is my msn [email protected]
    slds desde panama

    this document show us, only when i call a report from a forms, but not from a menu!
    but to hide these parameters, i need to create a bean in a block a way and the menus do not allow me to create these objects
    you done this before?
    you have a example?
    slds desde panama

  • Calling Report from Menu (Oracle Forms 11g)

    I'm trying to call a report from a menu item in a menu (that is attached to a form) in Oracle Forms 11g directly and I'm having some difficulty. I know how to call a report from a form and everything works perfectly.
    But since in a menu there is no item called "Report" to attach like there is in Forms, I followed on route which is to attach the "rp2rro" PL/SQL library on the menu file (mmb) and I also even did it on the form itself. Then when you convert a menu using the Forms Migration Assistant, it will comment out statements like "ADD_PARAMETER" and replace with calls to packaged procedures/functions from the package "rp2rro". I set all the parameters
    RP2RRO.SETOTHERS('PARAMFORM=YES');
    RP2RRO.SETDESTYPE('CACHE');
    RP2RRO.SETDESFORMAT('PDF');
    RP2RRO.SETCOMMUNICATIONMODE(SYNCHRONOUS);
    then made the call to the report:
    RP2RRO.RUN_PRODUCT(REPORTS, 'MYREPORT', SYNCHRONOUS, RUNTIME, FILESYSTEM, param_list_id, NULL);
    but all i get is the error "FRM-41219: Cannot find report: invalid ID."
    The Oracle documentation for integration reports in forms is for when you execute the report within a form not a menu item (that is attached to a form). Any clues?
    My environment is:
    Oracle (Database, Fusion Middleware) 11g - Red Hat Enterprise Linux 5
    Web Browser - Internet Explorer 7 on Windows XP Professional
    Thanks,

    Francois Degrelle wrote:
    Hello,
    One option is to use the Web.Show_Document() built-in, with the complete Report Server URL inside. Of course, you can hide some information (connection string for instance) by calling a section of the /reports/conf/cgicmd.dat configuration file.
    FrancoisI tried it using the code below
    DECLARE
    c_relative_path CONSTANT VARCHAR2(50) := '/reports/rwservlet/?server=';
    c_rep_srv_name CONSTANT VARCHAR2(50) := 'rep_wls_reports_calgf3_asinst_1';
    c_rep_name CONSTANT VARCHAR2(30) := 'copy_detail.rdf';
    c_desformat CONSTANT VARCHAR2(10) := 'htmlcss';
    c_destype CONSTANT VARCHAR2(10) := 'cache';
    v_username VARCHAR2(100);
    v_password VARCHAR2(100);
    v_db_instance VARCHAR2(40);
    v_connect_string VARCHAR2(300);
    v_rep_srv_params VARCHAR2(200);
    v_rep_url VARCHAR2(400);
    BEGIN
    v_username := LOWER(get_application_property(username));
    v_password := LOWER(get_application_property(password));
    v_db_instance := LOWER(get_application_property(connect_string));
    v_connect_string := v_username || '/' || v_password || '@' || v_db_instance;
    v_rep_srv_params := '&report=' || c_rep_name ||
    '&desformat=' || c_desformat ||
    '&destype=' || c_destype ||
    '&userid=' || v_connect_string ||
    '&paramform=yes';
    v_rep_url := c_relative_path || c_rep_srv_name || v_rep_srv_params;
    web.show_document(v_rep_url, '_blank');
    END;
    and I get a new tab in the browser opening up (which is good at least) with the Oracle Reports Services page saying:
    Error
    No such Web command ().
    Now I've tried putting a URL of a Oracle's website (http://www.oracle.com) and that works perfectly. Another question is, where would the default directory be if I wanted to say call an HTML file? Would it be in the directory of FORMS_PATH where all my fmb, fmx, rdf, pll, etc...files are stored?
    Thanks,

  • Call Oracle Reports from  Forms ver 9i or 10g

    Hi,
    Can somebody guide me, how to call Oracle Reports from the Oracle form 9i,
    Run_product is no more available into 9i & 10g, Run_report_object is not working with out put type "Screen" or "preview".
    What is the best way to call the reports from the form ??? pls help...
    Thanks in avdance.
    Jitesh ([email protected])

    You can use RUN_REPORT_OBJECT with CACHE type, and WEB.SHOW_DOCUMENT to view the document on the screen.
    In the Forms help you should find examples.
    If you have access to Metalink, have a look at Note:207396.1.

  • How do I call a 10g report from a jsp page securly?

    How can I call a report from a jsp page securly? We are migrating from 10g forms to J2EE, and we want to keep using our reports. In forms we were able to do this using a cookie. How can I pass a users credentials to reports without the user having to connect to the database? Single Sign-on isn't an option either.
    Thanks,
    Jim

    Hi Jim,
    If you want to pass the user credentials to the report dynamically, then SSO (Single Sign-On) is the only option I can think of.
    If the user credentials can be hard-coded, then the following 2 solutions are possible:
    1. Use cgicmd.dat file, and write the user credentials in the file.
    2. In your report JSP itself, you could write the following:
    <rw:report id="report" parameters="userid=scott/tiger@mydb">
    Navneet.

  • How to call a report from a menu ?

    I am converting 6i client/server forms to 9i.
    I have a menu that has an option on it to run a report for each menu item selected using RUN_PRODUCT.
    9i is making this obsolete, so how can I call a report from a menu (not a form) now then ?
    In a form it is fine cos I just use the Report Object - a menu does not have this facility.
    Thanks in advance.

    Hi,
    so here is how this should be done:
    1. Create a Reports node in the Forms module that uses the menu (you don't have to create one Reports Object for each report that you want to run)
    2. From the menu, before calling Run_Report_Object() use Set_Report_Object_Property() to set the phsical file name of the Reports that should be executed. This is kind of best practice and does not have a performance hit.
    There is a bug filed against Forms to extend the menu files with a reports Object node. This could require a change to teh file structure which is why we looking for Forms 10i to implement this. (If it turns out that we can have it without recompiling the menu modules then it may go into a patch set - however this seems unlikely from my point of view)
    Fran

  • Calling a Report from Form in 10g

    Hi all,
    I am very new to Oracle Form builder, I wana to call a report from a Form.
    we are using Oracle 10g Developer suit.
    Can any body please help me regarding on this?
    Regards
    Tanmaya Pradhan(Tam)

    ..or
    Take a look at
    Re: Run Report10g  Through form 10g

  • Calling a report from a report (10g)

    Hi
    I am using DeveloperSuite 10g and Application Server 9.0.4 - I am trying to call a report from another report.
    I believe I am correct in thinking that as buttons don't exist in reports any more I have to use a hyperlink containing the URL to the reports service with appropriate parameters to invoke the required report.
    My problem is that when I click on the hyperlink I do not see the called report, but get an html screen saying "Oracle Report Status - Successfully run".
    My hyperlink is formed like this:
    /reports/rwservlet?module=reportb.rdf
    Is there an additional parameter I must pass to get the report to display on the client browser window?
    Thanks

    Hi,
    Can someone let me know as to what the maximum length of the URL string that could be formed? I believe in IE browser a maximum of 64,000 characters can only be formed. If I need to pass many parameters and the length of the values passed exceeds the default length in IE, the rest of the values will not be captured in the report server.
    Please let me know on how to proceed with this problem.

Maybe you are looking for

  • Game Center keeps crashing our games. How do we uninstall and reinstall "Game Center" on iPad2

    Hi there, we use an iPad2 running iOS version 4.3.3 (8J2 - whatever that means), and we keep running into a persistent problem which is that games keep crashing after a few minutes. I am fairly certain this is somehow connected to how they interact w

  • Gui_download - not work

    hi everyone, i have a test program and there i use gui_upload/download and its work fine. when i use those function in the main program it not work. so i tried to use read dataset....and its not work in both cases. (test prog and not in the main prog

  • The Itunes preview for the ipad sync state shows outdated view

    Most of my ipad transactions occur directly on the device and I rarely sync with itunes on my computer.  Once in a blue moon I will plug it in to do some manually manging of apps and large files like movies.  This time when plugging in the device the

  • Read txt files in DoJa?

    I don't know if this is the right place to post this, but I haven't found any DoJa topic neither have I found good DoJa forums. So I thought I post it here. My problem is: I'm trying to read and write .txt files in DoJa. I've wrote this script in JCr

  • Named Destinations not Working in PDF

    We have book files that contain several chapters and a glossary. We created numerous named destinations (specify named destination/jump to named destination) throughout the FM files. If we check the links in the FM files, they work fine (i.e. the lin