Graphics from Forms or Reports

When I am running graphics from forms or reports either using the chart wizard or by run_product built-in, I am getting error message OG-01603: UNABLE TO CREATE PL/SQL DEVELOPMENT ENVIRONMENT CONTEXT
I am using Developer 6i.
Please help me out.
Thanks
Zulqarnain

I have tested on my pc it is perfectly working.
Please check before installations..
Is there any other oracle product is running in the same machine?
1. Are you installing Dev 6i in a machine where Oracle database(8.0 or 8i) is installed?
2.First shutdown the database. Stop the oracle services running.
3. Then start installing Dev 6i in a different oracle home.

Similar Messages

  • Passing date parameter from forms to report

    Hi,
    I'm using forms and reports 6i.
    I want to pass one date parameter from forms to reports.
    Using
    Add_Parameter(pl_id,'P_FROM_DATE',TEXT_PARAMETER,:FROM_DT);
    giving me error REP-0091- Invalid value for parameter 'P_FROM_DATE'
    This i think is because report expects date and here it is converted as varchar.
    Please help

    Hi Divya,
    Even I use this kind of statement
    Add_Parameter(pl_id,'P_FROM_DATE',TEXT_PARAMETER,:FROM_DT);and works fine for me.
    This i think is because report expects date and here it is converted as varchar
    Correct.
    Open the report in the builder and under Data Model -> User Parameters, Go to the Property Inspector of P_FROM_DATE. Under Parameter, set Datatype as Character instead of Date.
    Hope this should work. and tell me if it works(coz it wokred for me).

  • How to send more than one parameter from FORM to REPORT?

    Dear all,
    i can send one parameter from FORM to REPORT. but when i send more than one parameter it gives error: frm 41214 unable to run report.
    here is the code i think the error is in the following line of procedure:
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_date_from='||v_date_from||'p_date_to='||v_date_to);
    where to place the parameters and is there any space is required?
    Thanks
    Muhammad Nadeem

    Dear Saeed Iqbal,
    thanks for you reply.
    dear i am using Form 10g run_product is not supported in this version.
    i am using RUN_REPORT_OBJECT.
    PROCEDURE rep_gl_ledger IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(50);
    v_date_from date;
    v_date_to date;
    v_detail_id_from varchar2(100);
    v_detail_id_to varchar2(100);
    v_voucher_type varchar2(100);
    --req_no char(17);
    BEGIN
    v_date_from :=      :ledger_para.p_date_from;
    v_date_to :=      :ledger_para.p_date_to;
    v_detail_id_from :=      :ledger_para.p_detail_id_from;
    v_detail_id_to :=      :ledger_para.p_detail_id_to;
    v_voucher_type :=      :ledger_para.p_voucher_type;
    repid := find_report_object('gl_ledger');
    --repid := find_report_object('REPORT80');
    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,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_online_FRHome');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_date_from='||v_date_from||'p_date_to='||v_date_to);
    --SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no');
    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://'||:GLOBAL.G_IP||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?','_blank');
    ELSE
         message('Error when running report');
    END IF;
    END;
    Regards:
    Muhammad Nadeem

  • How to refresh or close graphics from forms

    I call two graphics from forms, through pl/sql. There are
    parameters in the forms to tune the graphics. But trying to
    refresh the graphics results in access violation and the
    graphics becomes a 'zombie'. Why is it possible ? How to avoid
    it ?
    null

    Hi,
    I am a newbie in taskflow development world.
    Having gone through the above answer, I am not sure on how it fits in my problem domain. I created a taskflow with few iinput parameter to it. Actually it's a polling application that displays a poll on the basis of poll id provided by user through taskflow input parameter. A new requirement came up to show a list of polls and user may click on a poll from the list and that poll should get displayed.
    I have done the showing list of poll part, but when user clicks on a particular poll, even though I am setting the poll ID of the selected poll to the appropriate parameter, it's not being taken. While doing some R&D on this, I found there are two attributes called Refresh and RefreshCondition for taskflow refreshing. Initially the value of Refresh was set to 'always' which I modified to 'ifNeeded' and 'deferred', one at a time and it did not work. I have also tried binding a boolean variable to 'RefreshCondition' attribute, but while debugging, I have found, that the boolean variable is read only once while the taskflow is getting initiated, no matter what the value of 'Refresh' is.
    I did not get much time to explore the meaning and applicability of 'Refresh' and 'RefreshCondition' attributes, but have a feeling that these are the ones that I have to tweak a little to get my work done. Can someone please help me on this?
    Thank you,
    Kanchan Upadhyay

  • Forms 6i - Types of parameters, which can be passed from forms to reports?

    Hello all,
    Can somebody tell me about
    Types of parameters, which can be passed from forms to reports?
    plzz

    Please ask this question in the appropriate forum for [url http://forums.oracle.com/forums/forum.jspa?forumID=82]Oracle Forms.
    Regards,
    Rob.

  • How to pass parameters from Forms to Reports

    dear all,
    i'm running a report from a form using run_product(), now i want
    to pass a parameter from a form to report, say i want to display
    all the employees of deptno=10, so what parameter should i give
    in run_product() and what modifications should i make in the
    report???
    thanks and regards
    Tariq.

    Yeah,
    You can pass parameters to from form to report using
    Parameter list. E.g. You want to display all employees of Dept
    10.
    1. Create report with one user paramter say p_dept
    2. Now Using Parameter list and Run Product you can call report,
    see following procedure.
    /* This Procedure passes department number as a paramter to
    Report and displays Report.
    Author - Mr. Adinath R. Kamode
    Parameter - Deptname (p_dept)
    PROCEDURE CALL_REPORT (V_DEPT IN NUMBER)
              V_PLIST          PARAMLIST;               -
    - Parameter List and Name
              V_PLISTNAME           VARCHAR2
    (30) := 'RPTLIST';
    BEGIN
    -- Check existance of Parameter List
              V_PLIST := GET_PARAMETER_LIST(V_PLISTNAME);
              IF ID_NULL (V_PLIST) THEN
                   V_PLIST := CREATE_PARAMETER_LIST
    (V_PLISTNAME);
                   IF ID_NULL (V_PLIST) THEN
                             MESSAGE('Error in
    creating parameter list.');
                             MESSAGE('.');
                             RAISE
    FORM_TRIGGER_FAILURE;
                   END IF;
    -- Add parameter data , name must be same as in Report
         ADD_PARAMETER(V_PLIST,'P_DEPT',TEXT_PARAMETER,TO_CHAR
    (V_DEPT));     
    -- Don't display parameter Form
         ADD_PARAMETER(V_PLIST,'PARAMFORM',TEXT_PARAMETER,'NO');
    RUN_PRODUCT
    (REPORTS,'DEPT.RDF',ASYNCHRONOUS,RUNTIME,FILESYSTEM,V_PLIST,NULL)
    ELSE
              DESTROY_PARAMETER_LIST(V_PLIST);
    END IF;
    END;
    Adi

  • VERY URGENT!! How to Pass a "% " symbol from form to Report

    Hi
    I am using oracle 10g and passing a symbol "%" as a parameter to the report from a form. But it shows error as follows:
    REP-52006: Failed to decode the specified URL PARAMETER1=%.
    But it is working when it runs in the Report directly.
    Then Why we can't pass the symbol "%" to the report from form.
    Please reply me as soon as possible. IT IS VERY URGENT !!

    Hi,
    Try using a lexical parameter(&parm_1) for a string of values or a bind parameter(:parm_1) for a single value
    Thanks,
    Kimosabe

  • From form calling report to result to pdf file

    Dear All,
    Usually, when we call a report from form, it calls to preview. Now, I would like to autometically call the report and upon execute, the pdf file will be created. Can anybody tell me how to do that.
    p/s: I do not want the preview becasue this report is a complicated report and it takes quite some time to process. So I would like my user to get the pdf directly instead of going though the preview.
    Thanks

    DECLARE     
    pl_id ParamList;
    Begin
    pl_id := Create_Parameter_List('Reports_Parameters');
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'FILE');
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,'C:\aRep1.Pdf');
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'PDF');
    RUN_PRODUCT REPORTS,'C:\Rep1',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_ID);
    Destroy_Parameter_List(pl_id);
    End;

  • Error While Passing Parameter from Form to Report

    I am using Dev 9ids. And i am compiling every forms from form 5 to form 9i. and report too.
    Most of reports are running.
    in some i am getting problem where i do pass more than 5,6 parameters.
    for e.g in one case say
    set_report_object_property(rep_id,REPORT_OTHER,'comp_code='||:global.vc_comp_code||' inv='||inv||' invoice_no='||inv_no||' invoice_date='||inv_dt||' vc_name='||cust_name||' Paramform=no');
    this will not run and give error FRM-41214
    when i exclude vc_name or shorten the value of cust_name report run fine.
    length of cust_name and in report vc_name is proper.
    I also need to pass more parameters to report.
    I do think there might be parameter size in any of report system files to be increased.
    Pls help me out how to rectify this problem.
    thanks in advance.
    raj

    You are not getting the result in the report because you have chosen the button event as Query.
    Edit the form, for the Execute button, choose the button event Custom and use the same pl/sql code that you have used before.
    If the event is Query, then the session object does not have value of A_EMPNO at the point where you have written your code. The session object is populated after the Query event has taken place.

  • Passing where clause with spaces from forms to reports

    Hi,
    Has anybody passed where clause as lexical parameter with spaces from forms to preports..
    I have seen people mention that, we can replace the spaces with special characters and then replace it again in the before trigger report..does anyone have a working example of that??
    Thanks.

    i solved the issue..
    i had written the procedure in the before report
    trigger instead of writing it in the before parameter
    form trigger..
    it works perfecto now..
    Thanks.We had removed the spaces and used commas to delimit each item.
    So you are saying spaces are not a problem in 10g?

  • Passing parameters from FORM to REPORT

    Hello All,
    How to pass parameters from a FORM to a REPORT in Oracle Application Server Portal.

    Vamsi, Are u capturing the imputs for these parameters in the form??
    If u are capturing them in the form, then u need to add them to a parameter list (TEXT_PARAMETER) and while calling the report u can send it as a parameter in the RUN_PRODUCT call.
    Pls check the syntax for adding parameters and calling report from form in the form builder help.

  • Passing Queries from forms to reports

    Hi to all,
    I am facing a problem in forms and report 6i. A report is having two queries namely Q1 and Q2 with data link (join) on two columns. At report level it is working fine but when i am passing Q1 and Q2 from a form it is doing a cartesian join means if Q1 returns 5 rows and Q2 returns 10 rows then the output is like 1st row from Q1 and 10 rows from Q2, 2nd row from Q1 and 10 rows from Q2 and so on.
    Then data link (join) set at report level is not working.
    Please give the solution for the above problem.
    And is there is any way to pass data link using forms.
    Thanks

    Hi,
    I don't have 10g right now, so can't test it...
    Isn't it possible to just put the params you won't show to your users 'behind' other objects on the param form?
    Strange behaviour anyway, in 6i Reports does not seem to care wether the params are on the form or not.
    Rgds,
    Guido

  • Passing Parameters from Forms to Reports

    I created a report and a form. Create a param list. I'm trying to pass the parameters to the report when I'm doing run_product. The report comes up with the parameter screen.
    My problem is, as I am passing all the values what I need from the form, my report query should automatically query against these parameters and bring me the result.
    For example form is passing dept 49. My report should not display a parameter form asking me to type the dept number. It should take dept 49 in it's where clause for the query and return the result set.
    Can any one give me some suggestions ASAP. Very urgent.
    Thanks in advance.
    Asha

    ugandhar,
    please start looking at Run_Report_Object as using Run_Product to run Reports is desupported in Forms9i
    Frank

  • Oracle forms 10g Parameter passing from forms to reports

    Hello Room,
    Please let me know what is wrong with this code. It is not passing parameter at all to the reports 10g parameter form from forms 10g, no matter what. I tried to delete the parameter from reports parameter form, I also tried to enable/disable restricted values from reports, I tried to hide the parameter from reports, but it is just not doing it.
    DECLARE
    pl_id PARAMLIST;
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status varchar2(20);
    report_job_id VARCHAR2(100);
    fill varchar2(100);
    reportname varchar2(200);
    ab varchar2(200);
    cursor c200 is select CONAME,LOCATIONMASTER.LOCNAME FROM USERCODETL,MULCOMP,LOCATIONMASTER
    WHERE MULCOMP.CO=USERCODETL.CO
    AND USERCODETL.USERID = SUBSTR(AB,1,50) AND USERCODETL.LOCCD = LOCATIONMASTER.LOCCD;
    begin
         AB := GET_APPLICATION_PROPERTY(USERNAME);
    OPEN C200;
    FETCH C200 INTO :block4.coname,:block4.locname;
    CLOSE C200;
    synchronize;
    pl_id:=GET_PARAMETER_LIST('paramlist');
    IF NOT ID_NULL(pl_id) THEN
    DESTROY_PARAMETER_LIST(pl_id);
    END IF;
    pl_id:=CREATE_PARAMETER_LIST('paramlist');
    Add_Parameter(pl_id, 'vcompany', TEXT_PARAMETER, :block4.coname);
         Add_Parameter(pl_id, 'vlocname', TEXT_PARAMETER, :block4.locname);
    repid := find_report_object('testreport');
    fill := GET_REPORT_OBJECT_PROPERTY(repid, report_server);
    reportname := GET_REPORT_OBJECT_PROPERTY(repid, report_filename);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repsrv');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no'||'vcompany='||:block4.coname||'vlocname='||:block4.locname);
    v_rep := RUN_REPORT_OBJECT(repid,pl_id);
    WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||reportname||'&desformat=pdf&destype=cache&userid=scott/tiger@servernew&paramform=yes');
    END;
    Please help. Thank you in advance.

    Hello Inol,
    Greetings !
    There seems to be a syntax error when I run your code:-
    REP-52251: Cannot get output of job ID 272 you requested on Fri Apr 08 02:37:25 GMT 2011.<P>REP-51026: No output for job 272
    when I run then command:-
    http://local-pc:8889/reports/rwservlet/showjobs
    Terminated with error: <br>REP-159: Syntax error on command line.
    Is there a error on your statement ?
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) ||'?server=repsrv );
    it should be
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) ||'?server=repsrv ' );
    then only it is getting compiled properly. A single quote in the end !
    And finally I changed this line
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_1='||:SP_USERCODE 'p_my_second_parameter='||:block.my_second_parameter);
    to this line
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_1='||:SP_USERCODE|| *'p*mysecond_parameter='||:block.my_second_parameter);
    as it is giving error where highlighted in bold Is it necessary to change and add a concatenation there ?_
    But... But... even though I compile it properly the code is getting executed and it is giving the above error. Please note the same.
    Also please tell me what should be the status of the following things in report builder 10g.
    1. Shall I remove the parameters vcompany and vlocname from the parameter form and keep it just in parameters of report , There is a third parameter which I want the user to input while running the report other than these 2 parameters ?
    2. Shall I restrict the parameter to predetermined values ?
    3. Shall I hide the first column of the parameter in report builder.
    I have also tried to simulate the execution parameters from batch to runtime and comm mode to synchronous and asynchronous and vice versa. I have also given command rwserver server = repsrv on my pc and also server pc. please let me know about this also whether I need to give this command every time ? I mean for every booting ?
    As this problem is faced by many people. I think it should work across the fly as given by you or rather corrected by you. I would also like to know is there any patch available for the same released by oracle, as I have read somewhere in the forum here which I cannot locate the thread now. I do not mind paying for support if I find the need ?
    Please help me further. Thank you.

  • Data migration from Forms to Reports

    Hello,
    Does anyone know how to migrate numerous data from Oracle forms to reports, without using parameter lists or parameters, and also withour the use of temporary tables since my platform is 8.0.6 and forms 4.5?
    Thanks for any replies

    hi daniel,
    you could write your data from forms into a text file. seperate
    the values using for example a comma (or something else).
    use the text datasource in reports 9i to query directly from
    this file.
    find more information here:
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/textPDS/index.html
    regards,
    christian

Maybe you are looking for

  • Hierarchy authorization pbm in BI7.0 with Front end of BW3.5

    Hello All, We have a problem regarding authorizations for the hierarchies in BW7.0 We have migrated from BW3.1 to BW7.0. Authorization are OK in our BW3.1 server, the authorization on hierrachy work well. Current Issue (in BI7.0) : An authorization o

  • Too much time in stop method - IE locks up

    I have a problem where IE & Java Console are occasionally locking up when going from one page with an applet to another. I managed to narrow it down to a specific test case: The basics are: On a button press: Applet 1 calls getAppletContext().showDoc

  • Training and Events Workflow - Approval

    Hi, Whenever a course booking(request) is done we need to have it approved before finally booked. It looks like the course is always booked (not requested) if the employee has authorization for booking. Despite this, I've managed to trigger the workf

  • Attaching a pdf file in the backend

    Hi All, I have the following requirement. I have a certain Backend table and I am using a FM to send all the data from it to the middleware and then to the client. Now I need to pass a pdf (or an image) file from the backend to the client. Like one c

  • My ipod touch sees all my cloud music but my laptop does not. HELP!

    My ipod touch sees all my cloud music but my laptop does not. HELP! Gotta be user error and I am the user!