How run abc.rep report in 10g forms

How run *.rep reports in oracle 10g forms

HI
use this code
DECLARE
pl_id ParamList;
code varchar2(9);
date1 date ;
date2 date;
     us varchar2(20);
     pas varchar2(10);
     ser varchar2(10);
BEGIN
us := get_application_property(username);
pas := get_application_property(password);
ser := get_application_property(connect_string);
Web.Show_Document('/reports/rwservlet?&report=E:\VU\REPORTS\GRN_ITEMWISE.rdf&userid='||us||'/'||pas||'@'||ser||'&destype=cache
&item='||:item_code||'&date1='||:sdate||'&date2='||:edate||'&desformat='||:report_type||'&paramform=no','_blank');
end;
Rizwan Shafiq
www.rizwanshafiq.blogspot.com

Similar Messages

  • How to run the 9I report from the forms menue 9i

    how to run the 9I report from the forms menue 9i.
    Shehzad Latif

    Hi,
    1. create a Reports Object node in Forms. If you use teh same object node name then you can write generic code that works in all Forms
    2. Get the whitepaper about Forms/reports integrtion
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

  • Run Character mode reports in Menu/forms.

    Hi,
    we are using ora-dev-suite 10g and trying to Run Character mode reports in Menu/forms and output ascii text or pdf files generated and saved in local/client PC's.
    report when run through report builder, it is ok.
    But we are not able to run these reports through menus/forms. can we run these reports using background report engine on a click of button.
    pl.guide us.
    thanks.

    Hello,
    You can put a variable in your default.env file like SERVER_URL http://<yourserver>:<yourport> and then retrieve it in forms with the tool_env.getvar package
    declare v_server_url  varchar2(100);
    begin
    tool_env.getvar(SERVER_URL,v_server_url);
    /* then launch your report */
    web.show_document(v_server_url||'/reports/rwservlet?yourparameters.....');
    end;So if you deploy your form in server 1 or 2 you only have to change the value in the default.env file according to the server you use.
    Hope this helps.
    Regards
    Jean-Yves

  • How to Show BI report in adf form ?

    How to show bi Report in adf form ?
    (i dont show dashboard in adf form

    Hi,
    check this : http://husaindalal.blogspot.com/2009/11/integrating-bi-publisher-standalone.html
    there are some other helpful links as well:
    http://brendenanstey.blogspot.com/2007/01/adf-faces-and-xml-publisher-success.html
    http://technology.amis.nl/blog/2296/building-a-report-in-xml-publisher
    http://technology.amis.nl/blog/1597/xml-publisher-display-input-parameter-sqllims
    ~Abhijit

  • How to invoke crystal reports from Oracle forms 11g R2 along with passing p

    How to invoke crystal reports from Oracle forms 11g R2 along with passing parameter to it.
    how to pass parameters to crystal report, please help.

    how to pass parameters to crystal report, please help.This would entirely depend on crystal reports and you might find informations on crystal reports related communities more likely...I for one have seen crystal reports the last time about 12 years ago. And even back then I simply acknowledged it's existence instead of working with it.
    Maybe crystal reports can be invoked via a URL call which would make it simple as you'd need simply build an URL and show the report using web.show_document. But that's pure speculation. Also you might not be the first with this requirement, so the solution to your problem might be right under your nose and just a little google search away ;)
    cheers

  • How to run an XML Report from Oracle Forms 10G

    Hello Friends,
    I am in need of showing a xml report output through a button press trigger in Oracle Forms10G.
    I have designed the report in XML Publisher and the report looks fine.I found few scripts useful in running the Oracle Report from Oracle forms10G like Run_Report_Object.But I am not aware of any script that could run a XML report and show the output directly from a Form.
    All I want is to run a XML report from an Oracle Form with a button press trigger and show the output in an html version.
    Can this be achieved?
    If so, Kindly advise as this is an immediate work.
    Regards,
    Badrul.

    Hi,
    If I am not wrong the XML publisher is same as BI publisher ...
    There is one document which explains how to integrate using web service
    You want to check this
    http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v22.pdf
    or you can also try web.show_document ..

  • How to show web layout reports from 10g forms

    Hi all ! When I try to open a report file with extension .jsp from a Form using web.show document() or run_report_object() only paper layout is showing on the screen so how I display a web layout from a form with proper documentation or design. Again why only data is showing on the screen without line,ractangle and other documentation but when I run the same report from report builder It is showing all on the screen.Please help how to resolve this. Please provide some proper code or way to solve this.
    Thanks & regards
    Sanjit

    Well,
    Web layout means that in place of (or in addition to) the paper layout, you get the report designed in JSP code. So all the frames, repeating frames etc will be expressed in JSP code using the Oracle Reports custom tags. Since it is code-based, you can insert your HTML or Java code in here to customize the output. You can in fact start with the HTML template, open it in reports builder, and start inserting the data using Reports custom JSP tags. In web layout, there are no "page breaks". So your report will be a JSP file, and can be deployed along with your J2EE application.
    and see http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    Regards

  • How to convert oracle report in html form into excel form?

    Hi friends !! I m trying to convert oracle 10g report into excel form.Its coming in excel form but not with all formats.How to solve the problem?

    Hello,
    Please give us more information what kind of report(s). Sample example etc.,
    Sri

  • 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!

  • **How to call a report from a form by passing a specfic value?????

    Hi Expert,
    I want to call a report from a form.My problem scenario like, a user is login to his account and there is a option called ADMIT CARD(Push Button).Now when he pressed the button a report will generate.I want that when he pressed the button the user id of the user will passed to the report and the report will generate corresponding to his details which was stored in the database.This scenario is like any online admit card.
    Suppose I want a details report of employee whose employee_id=100.How could I pass this value(employee id) to report which will generate a report details.
    Thanks,
    TAPAN
    Message was edited by:
    user630863

    Thanks for replying.
    Actually I am a beginner.I think that I have to use RUN_REPORT_OBJECT built-in.But I cannot understand the parameterlist.Can u plz give me any example or code then I am very thankful.
    Suppose I want a details report of employee whose employee_id=100.How could I pass this value(employee id) to report which will generate a report details.
    Thanks,
    TAPAN

  • How to print BIP reports from Oracle Forms?

    Hi all,
    I have a question in regards to printing BIP reports from Oracle Forms... We are aiming for a server installation of BIP with integration to Oracle Forms using SSO to handle security. We use Forms built-in web.show_document to render and view the report in PDF/Excel etc... We would like to by pass the viewing and print some of these reports directly to the printer.
    Any idea/suggestions how we can go about this?
    Thanks in advance for your time.
    Yahya

    Yahya,
    via HTTP it's not possible to send a report directly to the printer. You had to go via the Scheduler, which is able to do that. With the WebService API you can call a report with the Scheduler and Execute Immediate.
    Regards
    Rainer

  • How to call a report in a form

    dear sir
    I am new to form and report 9i
    I am calling a report from a form
    by using run_report_object
    I am not geting properly
    please help me

    Respected Sir,
    I just write the message i am geting
    FRM - 41219 : cannot find report : invalid id
    I am having my exact codes as follows
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := find_report_object('e:\payroll\PAYSLIP2');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html'); -- PDF, HTMLCSS ...
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_edpsanat');
    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('http://edpsanat:8888/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_edpsanat','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;
    Pease look into Sir
    many many thanks
    regards
    s k swain

  • How to Develope Charts in Oracle 10G Forms

    hi
    i want to design charts in 10G forms DS. but i could not find chart builder in 10G.
    please help me how to design charts in 10G Forms.
    thanks.

    You would probably use a Java Bean for this. See otn.oracle.com/products/forms and under teh 9i sample code is a graphing bean demo which is part of the downloadable demos.
    Regards
    Grant Ronald
    Forms Product Management

  • How to Enable Performance Collector in 10g forms ?

    Hi,
    I'm using 10g forms to collect performance data. I have followed the steps as said by Oracle by following this document "perf_collect.pdf". Though the document talks about Oracle forms 6i, I assume the same will work in Oracle 10g forms.
    I have tried the below approach.
    ===========================================
    The code added to the HTML file is as follows:-
    <html> <head> ORACLE FORMS.</head>
    <body onload="document.pform.submit();" >
    <form name="pform" action="http://chn-U100S77.CVNS.corp.covansys.com:8889/forms90/f90servlet/temp.html" method="POST">
    <input type="hidden" name="form" value="D:\DevSuiteHome\forms90\server\myapps\MODULE2.fmx">
    <input type="hidden" name="userid" value="SCOTT/TIGER@ppaprod">
    <input type="hidden" name="obr" value="yes">
    <input type="hidden" name="buffer_records" value="YES">
    <input type="hidden" name="debug_messages" value="YES">
    <input type="hidden" name="array" value="YES">
    <PARAM NAME=“serverArgs” value = "module=module2.fmx userid=scott record=all log=C:\perf_”>
    </form> </body></html>
    =============================
    I have change the following parameters in "formsweb" configuration file.
    # Sub argument for otherparams
    record=all
    ==============================
    Any early reply is highly appreciated.

    Hi,
    Thanks, it creates XML file right now..
    I have created tables etc. i was trying to write the same to an oracle table.
    =========================================
    D:\>java oracle.forms.diagnostics.Xlate datafile=d:\devsuitehome\forms90\trace\f
    orms\forms_1524.trc URL=10.3.144.249:1521:ppaprod UserName=system Password=system CollectionId=2
    Invalid Parameter: URL
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/forms/registry
    /MessageManager
    at oracle.forms.diagnostics.Xlate.printUsage(Unknown Source)
    at oracle.forms.diagnostics.Xlate.readArgs(Unknown Source)
    at oracle.forms.diagnostics.Xlate.<init>(Unknown Source)
    at oracle.forms.diagnostics.Xlate.main(Unknown Source)
    =============================================
    I gave hostname and IP address in the output parameter, it reports the sames error.

  • How to run Net Configuration Assistant on 10g Forms and Reports server

    I have a Windows 2000 server with Forms and Reports Services installed from AS 10g v. 9.0.4 (just the Forms and Reports install). According to the OUI, Net Configuration Assistant 9.0.4 is also installed. However I cannot figure out how to run the Net CA. There is no shorcut that I can find. Can anyone help?

    Thanks for the reply Frank. I have looked all through the Start menu but see no "Configuration and Migration". I assume it's because I only installed the Forms and Reports option, so I only have Forms Services, Reports Services, and the Universal Installer. No big deal - I've already setup tnsnames manually. I just like to use the Net Assistant when I can.

Maybe you are looking for

  • Task not coming as link in UWL

    Hi all, I have configured some of the tasks in my UWL .Now when the workflow is triggered that tasks are coming to my UWL but they are not coming as link. Nothing is happening when I am double clicking on that task. Is this related to configuration t

  • How to change image in jsp in a web application

    I had created a web application in which I have given the option to change the image in a jsp, and I am saving that image in a folder. The image is saved during the run time.But I am not getting that changed image. If I restart my server the image is

  • I am using iphone 5 and i didn't get notifications of whatapp,facebook,wechat

    i am using iphone 5 and i didn't get notifications of whatapp,facebook,wechat give me solution i also upgrad to ios7 but problem contui...

  • Documaker Studio - Check Box

    Hi, Is there any way to put Check Box to the document created in Documaker Studio (12.1)? I look through documentation and found only field format: m - Accepts an X or a space (used for a check box) But not any reference how to insert check box to th

  • Content of Ini-File with config-data sometimes deleted?

    Hello, i have a simple vi attached where i read config-data from a file. Sometimes it happens that the content is lost. I am not sure why, but perhaps there a errors in the vi. I wonder about the last vi "Close Config Data" there is an onput-paramete