Help:Building a oracle Report in Forms 6i Using dev60cgi - rwcgi60 utility

Hello All
I'm developing a form for EMP details .There is a button in the form named 'view PDF', which is used to print the EMP fields in the form(empno,name,job,etc..,). I need to run and render a PDF report(to print EMP fields) using dev60cgi - rwcgi60 utility..
My scenario is
i'm having a button(view pdf) in the form i'm creating, when i click the button then it opens a new browser window and displays the report(pdf)., how to do this
I have no idea about this utility and and don't know how to achieve this. help me to develop this report
Thanks
user2233

Hi,
You want this report to run in oracle application. Then you have to develop a report using oracle reports and register the report. While defining a concurrent program you have option to select the output format, select pdf format there.
When user requests using submit request form they can see the output in PDF format.
Regards
Yoonas

Similar Messages

  • Urgentpls : How to find the Oracle reports and forms version in Unix prompt

    Hi,
    How to find the Oracle reports and forms version in Unix prompt.
    Please give the steps
    Thanks

    I need to check the version of Oracle forms and reportsExample :$ frmcmp.sh -h | head -1
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    $ rwrun.sh 2>/dev/null | head -2 | tail -1
    Report Builder: Release 10.1.2.0.2 - Production on Wed Mar 10 11:17:55 2010
    $

  • How can i convert oracle report in excel format using 8i

    hi,
    I want to convert oracle report in excel format using 6i reports. please give the solution with emp table.
    millons of thanks in advance.

    You'll have to use the destype DELIMITEDDATA to render your Report in CSV format. Then set the mime type to Excel. I don't know the exact syntax, so please do a search in metalink for "reports excel" for examples and more info.
    Regards,
    Martin Malmstrom

  • Oracle report runs correctly via report builder but call report via form with parameters skips one of the plsql formula

    Hello everybody,
    I created a oracle report i.e Bank Book having banks transactions receipts and payments and opening balance w.e.f 01-jul-2014. parameters are bank code, from_date and to_date. opening balance calculates (return ope from table bankinfo +total receipts-total payments). reports runs correctly via report builder. balances are ok. but the problem is when i run this report via oracle form opening balance return only ope from table bankinfo and skips total receipts-total payments.....
    i dont think so why this happend at all. some body help me...
    thanks
    Abdul Salam

    Hi ,
    This community is to discuss Oracle Application Server specific issues, you can post this query in for better response:
    Oracle Reports (MOSC)
    Regards,
    Prakash.

  • Help forum for oracle report builder

    Dear all;
    I have searched all over the oracle website but I cant find a forum for oracle report builder. All help is appreciated.

    Try this forum:
    Reports

  • I am unable to get order by column name in oracle report parameter form

    i created query like following in query builder
    SELECT CASE_NO, COURT_ID, CASE_TYPE,
    INITCAP(PLAINTIFF) PLAINTIFF,INITCAP( DEFENDENT) DEFENDENT,
    INITCAP(COUNSEL) COUNSEL, START_DATE, PREVIOUS_HEARING_DATE,
    NEXT_HEARING_DATE,INITCAP( DESCRIPTION) DESCRIPTION,
    INITCAP(RELIEF) RELIEF,INITCAP(EXTENT) EXTENT,
    DECREE_DATE,INITCAP(STATUS) STATUS,INITCAP( LOCATION) LOCATION,
    LEGAL_FILE_NO, MSNO
    FROM L_CASE_MASTER_MAIN
    WHERE to_char(NEXT_HEARING_DATE,'DD-MON-YYYY')=:P_NHD ORDER BY :P_COL
    and i created parameter form for these two bind variables :P_NHD,:P_COL
    in,:P_COL i wrote lov as Select trim(COLUMN_NAME) from user_tab_columns where table_name='L_CASE_MASTER_MAIN'  to get all the columns.
    in parameter form i am able to get all the columns but when i am generating report it is not giving results as per my ordered column.
    kindly let me know the solution
    Report Version :Oracle Reports 11g
    Db Version:Oracle  11g

    Hi,
    Ordering the column first takes place from the Data Model Itself.
    Please Check your column ordering in the report data model. If it is not ordered in a right way then Rearrange it.
    Remove your order by in query...
    If any issues... let me know
    Regards,
    Soofi

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

  • Plz help in calling of reports from Form in browser

    Hi!
    I am using 9iAS(1.0.2.2.1) + 8.1.7 database on the same machine with Win NT4.When i invoke report from my system's main form(oracle form6i) using parameter list as Run_Product(reports,'..\iReports\glrxx13.rep',synchronous,RUNTIME,FILESYSTEM,pl_id,null); against a when-button-pressed trigger error raised
    "Error:0110 Unable to open the report '..\iReports\glrxx13.rep"
    "Error:...Error while opening or saving a ducument '..\iReports\glrxx13.rep".
    My Reports are in folder "iReports" which i put in the 9iAS's report60 folder & also in the report60 folder too. I dont know more about virtual dirves mapping & environment variables setting i.e what & where these should be put.
    Kindly help!
    Many thanks

    hello,
    their are only two ways of passing the report-name: only the name or the complete path (where path is the PHYSICAL path of the file).
    the easiest way is, if you add all directories where you have RDFs in that you want to run, to the REPORTS60_PATH of your server environment. then you can simply use REPx.RDF and it will be run as long as it is somewhere along the reports path.
    regards,
    the oracle reports team

  • Problem in running oracle report from form 10g Version 10.1.2.0.2

    Hi All,
    I am facing problem while running the report from forms 10g getting FRM-41219
    For this i am using the following procedure :
    PROCEDURE RUN_REPORT IS
    L_RUN_TEXT VARCHAR2 (2000);
    L_USRID VARCHAR2 (100);
    L_PASSWD VARCHAR2 (100);
    L_DESNAME VARCHAR2 (100);
    FILE_OUT_PUT VARCHAR2(200);
    REP_STATUS VARCHAR2(20);
    REP_NAME VARCHAR2(50);
    PL_ID PARAMLIST;
    REP_URL VARCHAR2(2000);
    V_REP VARCHAR2(200);
    BEGIN
    display_me('RUN_REPORT');
    -- CALL THE FOLLOWING FUNCTION, IN WHICH USER CAN WRITE HIS OWN CODE.
    -- THE PROCEDURE CAN BE MADE LOCAL TO THE SPECIFIC FORM AND WRITE THE CODE.
    -- IT SHOULD RETURN 'Y', IF YOU WANT TO PROCEED WITH THIS RUN_REPORT
    -- PROCEDURE.
    IF NVL (RUN_REPORT1, 'Y') = 'N' THEN
    RETURN;
    END IF;
    COMMIT_FORM;
    IF (GET_APPLICATION_PROPERTY (OPERATING_SYSTEM)) = 'UNIX' THEN
    L_DESNAME := 'LP';
    ELSE
    L_DESNAME := NAME_IN ('REPORT_TITLE.F_FILE_NAME');
    display_me(L_DESNAME);
    END IF ;
    /* SETTING THE REPORT OBJECT PROPERTIES */
    /* G_PRAM1 IS THE NAME OF REPORT ****/
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_SERVER,'172.18.76.34');
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_FILENAME,:GLOBAL.G_PARAM1||'.REP');
    display_me(':GLOBAL.G_PARAM1 '||:GLOBAL.G_PARAM1);
    PL_ID := GET_PARAMETER_LIST ('REP_PARA');
    IF NOT ID_NULL (PL_ID) THEN
    DESTROY_PARAMETER_LIST ('REP_PARA');
    END IF;
    PL_ID := CREATE_PARAMETER_LIST('REP_PARA');
    ADD_PARAMETER (PL_ID, 'DESTYPE' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.RAG_DESTINATION') );
    ADD_PARAMETER (PL_ID, 'DESNAME' , TEXT_PARAMETER, L_DESNAME);
    ADD_PARAMETER (PL_ID, 'COPIES' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.F_NO_COPY') );
    ADD_PARAMETER (PL_ID, 'ORIENTATION', TEXT_PARAMETER, 'LANDSCAPE');
    ADD_PARAMETER (PL_ID, 'MODE' , TEXT_PARAMETER, 'BITMAP');
    ADD_PARAMETER (PL_ID, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
    ADD_PARAMETER (PL_ID, 'PARAM' , TEXT_PARAMETER, NAME_IN ('IBP_REPORT_PARAMETER.F_REP_SEQ') );
    ADD_PARAMETER (PL_ID, 'P_COMP_CODE' ,TEXT_PARAMETER,:GLOBAL.G_COMP_CODE);
    display_me(':GLOBAL.G_COMP_CODE '||:GLOBAL.G_COMP_CODE);
    REP_NAME := :GLOBAL.G_PARAM1||'.REP';
    display_me('REP_NAME'||REP_NAME);
    V_REP := RUN_REPORT_OBJECT('REPOBJ');
    display_me('V_REP '||V_REP);
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    display_me('REP_STATUS'||REP_STATUS);
         WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    END LOOP;
    IF REP_STATUS = 'FINISHED' THEN
    REP_URL:='/REPORTS/RWSERVLET/GETJOBID'||SUBSTR(V_REP,INSTR(V_REP,'_',-1)+1)||'?'||'SERVER=172.18.76.34';
    display_me('REP_URL '||REP_URL);
    WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
    ELSE
    MESSAGE('ERROR WHEN RUNNING REPORT');
    END IF;
    END;
    Which is called on a button , can any body share there idea to help out
    Warm Regards
    Ashutosh

    Yes, I have replace the userid with scott/tiger@orcl with i6menu/i6menu@vbs and also replace the OAS server's name as you have suggested.
    declare
         REP_URL varchar2(2000);
    begin
    REP_URL:= '/reports/rwservlet?userid=i6menu/i6menu@vbs&report=testrep_10g.rdf&desformat=pdf&destype=cache&paramform=no';
    WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
    end;
    I had the 2nd code also but both r not working on my machine ......... !!
    I have made the following setting on my machine:
    1. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->FORMS_PATH ->
    Values is : D:\vision_soft\VSS\exe
    2. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->REPORTS_PATH ->
    Values is : D:\vision_soft\VSS\exe
    3. Entry made in the DevSuiteHome_1\forms\server ->default.env
    FORMS_PATH=D:\vision_soft\VSS\exe
    4. Entry made in the DevSuiteHome_1\reports\confr ->rwservlet.properties
    #SERVER= rep10
    As my forms is working well & but the report are not able to call.
    Could you please let me know is there is any other mandatory setting required for the report 10g.
    Regards,
    Ashutosh

  • Migration steps in oracle reports and forms

    Hi,
    I want to migrate oracle reports and oracle forms from its curent versions to 10G.
    current versions:
    Oracle Report : 2.5
    Oracle Forms : 4.5
    any help would be appreciated.....
    Thanks,
    Ganesh

    Hi,
    there is the forms upgrade center on OTN. There is a lot of information about upgrading of forms. ou can find it here: http://www.oracle.com/technology/products/forms/htdocs/upgrade/index.html.
    The way is (to my knowledge), go from 4.5 to 6i and then to 10g.
    On the page you also find a link for Oracle Reports.
    If you have more questions, I think you should ask your questions in the Forms Forum: Forms or in the Reports Forum: Reports There are the experts on the topic.
    Herald ten Dam
    http://htendam.wordpress.com

  • How to work Oracle report in Forms

    Hi Everyone.
    I am new to Oracle Forms and reports.
    I just created i Oracle report based on emp table and saved as stud_rept.rdf and imported in forms under reports object namely 'REPORT2' in object Navigator and changed their properties as
    file name: G:\Projects\emp_report.rdf
    Execution mode : runtime
    communication mode: synchronous
    datasourceblock : null
    report destination type:screen
    then i created one datablock based on emp table, created one button then written a trigger code under when_button_pressed as
    DECLARE
         repid REPORT_OBJECT;
         v_rep VARCHAR2(100);
         rep_status VARCHAR2(20);
    BEGIN
         repid := FIND_REPORT_OBJECT('REPORT2');
         v_rep := RUN_REPORT_OBJECT(repid);
    END;
    when i click the button in browser i'm getting error as
    frm-41211 integration error: SSL failure running another product
    can any1 tell me how to run a report in Oracle Forms? i am new to this one..

    Hi denis..
    thanks for your reply..
    I added Report server property to 'REPORT2'. i am getting the runtime error as
    FRM-41213 Unable to connect to the report server 'REPORT2'.
    can u pls tell me how to solve this?

  • Help needed in Oracle Reports

    I am creating an Oracle Report.Now there is one Repeatating Frame in the Report.
    This Frame`s header title is also appearing on last page when there is no record for it ...
    Please help how to Stop this to display at last page when their is no record in it.....

    Hi,
    First of all you are in the wrong forum. The report forum is
    Reports
    and for you problem it heppens because sometimes the detail records covers the complete page and for total or summary fields header/group frame goes to the next page. For this thing you can do one thing. There is Page Protect property in the header frame keep it YES and then try.
    -Ammad

  • Create an Oracle Reports Parameter form application in HTMLDB

    I am investigating whether I can satisfy following requirement using HTMLDB and if yes, then what are the steps to be followed.
    The idea is simple. Store Oracle Reports name, parameter names, default values etc. in a table and write an application which will display a list of reports on your left, on clicking a report, use the param names stored in the table to display a form to accept values for each parameter and the submit button calls a URL pointing to the Oracle Reports Server.
    This can be done easily using Oracle Forms but I am investigating if this can be done using HTMLDB since it's 100% thin client.
    Any comments, hints etc. appreciated.
    Thanks,
    Manish

    Thanks.
    I had already seen the how-to article but my requirement was a little different since each Param Name, Value will be stored in seperate record. If a report has 4 parameters, then the table will have 4 records, one for each parameter. Here's a sample table structure that I am using.
    rep_name varchar2(100)
    ,param_name varchar2(100)
    ,sort_order integer
    ,param_len varchar2(100)
    ,param_data_type varchar2(100)
    ,param_required varchar2(1) default 'N'
    ,param_description varchar2(100)
    ,default_value varchar2(1000)
    ,lov_sql varchar2(1000)
    I was in fact able to achieve what I want by using a Tabular Form with the parameter description display only and default value updateable and it's submit button can be redirected to the reports URL with form fields substitution. I will use cgicmd.dat to map username/password so that it's not visible in the url.
    My additional questions:
    1. As per the table structure above, I have a lov_sql text field. Is it possible to create an LOV on the tabular form using this lov_sql?
    2. Above the tabular form, I want to display a drop-down-list with a list of reports. When a user selects a list-item, I want to refresh the page with it's tabular form showing parameters for that report. Kind of parameterizing the Form display. Is this possible? If not what are the alternatives?
    Thanks,
    Manish

  • Oracle Reports Parameter Form trouble on SuSE Linux

    I have the report compiled on AIX 5.2, everything's fine, the same source file I compiled on SuSE Linux 8.0, the format of parameter form is totally screwed up. I compared the HTML source of those 2 parameter forms, and found the code generated by Oracle Reports.
    on AIX 5.2:
    <!-- Created by Oracle Reports 08:27 Tue Jul 12 08:27:03 AM, 2005 -->
    <table border=0 cellspacing=0 cellpadding=0 width=379>
    <tr><td width=8><td width=9><td width=59><td width=9><td width=33><td width=22><td width=17><td width=119><td width=33><td width=45><td width=21><td width=1><td width=3>
    <tr><td colspan=13 height=19>....
    on Linux:
    <!-- Created by Oracle Reports 08:23 Tue Jul 12 08:23:50 AM, 2005 -->
    <table border=0 cellspacing=0 cellpadding=0 width=4>
    <tr><td width=1><td width=1><td width=1><td width=1>
    <tr><td colspan=4 height=0>...
    As you can see the setting width=4 in the table tag on Linux squeeze up the table a lot.
    Where do I configure to prevent this happened?
    thanks,
    Jess

    Thanks.
    I had already seen the how-to article but my requirement was a little different since each Param Name, Value will be stored in seperate record. If a report has 4 parameters, then the table will have 4 records, one for each parameter. Here's a sample table structure that I am using.
    rep_name varchar2(100)
    ,param_name varchar2(100)
    ,sort_order integer
    ,param_len varchar2(100)
    ,param_data_type varchar2(100)
    ,param_required varchar2(1) default 'N'
    ,param_description varchar2(100)
    ,default_value varchar2(1000)
    ,lov_sql varchar2(1000)
    I was in fact able to achieve what I want by using a Tabular Form with the parameter description display only and default value updateable and it's submit button can be redirected to the reports URL with form fields substitution. I will use cgicmd.dat to map username/password so that it's not visible in the url.
    My additional questions:
    1. As per the table structure above, I have a lov_sql text field. Is it possible to create an LOV on the tabular form using this lov_sql?
    2. Above the tabular form, I want to display a drop-down-list with a list of reports. When a user selects a list-item, I want to refresh the page with it's tabular form showing parameters for that report. Kind of parameterizing the Form display. Is this possible? If not what are the alternatives?
    Thanks,
    Manish

  • Oracle report and form 6i

    Hi,
    I have oracle 9i and operating system is windows xp,would you please guide me ,from which site i can download oracle report tool 6i.
    thank you

    Try here:
    http://www.oracle.com/technology/software/products/ids/index.html

Maybe you are looking for

  • Is there any way to transfer non-itunes store music to your iTunes?

    I kind of killed my macbook, and it had to go to mac support and in order to make it happy and shiny again they had to wipe all of its memory. Now, I've restored the song purchased on itunes to my itunes, but 1. The iTunes/MacBook doesn't seem to be

  • Conditional Formula in Customer Statements

    Hi Experts, I would like to be able to show various different office addresses in the header of my customer statements. The addresses are dependent on GroupCode of the BP.  ALL the statements are printed by the same user, so I cannot use different st

  • Last Purchase Price & Last evaluated Price

    hello experts, i just wanna know what is the difference in between Last Purchase Price and Last evaluated price. our company uses FIFO. what is the effect in goods issue if i will use last Purchase Price or Last evaluated price. Thanks in advance. FI

  • Need help in dbms_output package

    Hi, I am using dbms_output package in my sql, while displaying the content its not coming in one line. Could you please help me out here. DBMS_OUTPUT.PUT_LINE ('Its testing for around '||l_run_time||' minutes in this step, but average test time for t

  • Strange load performance...

    Hi, folks! My SWF-files don´t seem to load the way i want after publication. I usually build in a kind of loading bar to show loading process while loading, it should be visible right away, till the main movie starts playing. But the browser seems to