Rep-3002 while calling report from form in character mode on web environment

When I call a report by using run_product from a form , i get rep-3002. my report is in character mode. if i change it to bitmap that works fine. but my requirement is of character mode on web environment.
please help.

Hello,
If you are running in WinNT/2000 environment, the NT/2000 user which runs the Report Server service must have a printer defined. In the control panel, look at the properties for the Report Server to see what user it runs as. Log in as that user and make sure a default printer is defined.
Regards,
The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Getting rep-3002 when calling report from form on web

    i am getting rep-3002 when i call report from a form on web environment. Report is in character mode. It is coming proper if i change it to bitmap. but my requirement is of character mode. pl. give some solution.

    Hello,
    If you are running in WinNT/2000 environment, the NT/2000 user which runs the Report Server service must have a printer defined. In the control panel, look at the properties for the Report Server to see what user it runs as. Log in as that user and make sure a default printer is defined.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Parameter form display while calling reports from form

    Dear All,
    I am running reports from form using run_report_object. I do not want to see parameter form while running the report. How do I do that.
    Thanks in Advance
    Gaurav Shah

    Hi, try to set paramform=NO in your parameter list
    Daniel

  • Error REP-3002 when call report from WebForm

    Hi,
    i run form (6.0) on Form Server (IAS9i) to call report (6.0) to print receipt on local printer using RUN_PRODUCT command (PARAMFORM=NO, DESTYPE=PRINTER) and got Error Message "REP-3002 Error initializing printer. Please make sure a printer is installed." but on Client-Server it's OK.
    the objective is just want to direct print report to printer (do not show parameter form)
    anyone know how to solve this problem ?
    Hunsa
    null

    Hi,
    i've changed to use RUN_REPORT_OBJECT as your advice and followed the instructions in "Oracle Reports Remote Printing Utility - An Oracle Technical White Paper December 2000". i tested orarrp by created the HTML file follow the steps in page 5 of the paper, it worked.
    then i modified existed form, set report object property like this :
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE, FILE);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'test.rrpa');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'Rep60_NTSERVER2');
    note : i'm not sure that i set the right value for REPORT_SERVER property, i got this value from TNSNAMES.ORA file.
    then call the report with this statement :
    :GLOBAL.ReportHandle := RUN_REPORT_OBJECT(report_id);
    it showed the same error message :
    "REP-3002 Error initializing printer. Please make sure a printer is installed."
    i think i set something wrong, but i don't know where. could you help me ?
    Hunsa

  • Page fault error while calling reports from forms

    dear friends.
    when a report is called from forms, just before opening up of background engine the application gets hanged with page fault. One has to forcibly shut down the application before loggin again.
    The error mesage generated from log file is
    Fatal NI connect error 12203, connecting to:
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle80)(ARGV0=oracle80orcl)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=orcl)(CID=(PR OGRAM=C:\ORAWIN95\BIN\RWRBE60.EXE)(HOST=SOUMYADIP)(USER=Soumya))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 8.0.5.0.0 - Production
    Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.0.4.0.0 - Production
    Time: 06-MAY-00 14:03:32
    Tracing not turned on.
    Tns error struct:
    nr err code: 12203
    TNS-12203: TNS:unable to connect to destination
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 102
    TNS-00102: Keyword-Value binding operation error
    nt secondary err code: 0
    nt OS err code: 0
    After closing if we run the report next time it runs, but after 3/4 attempts the above error again occurs.
    Please Help
    Prashant

    I'm getting this also. I thought it was
    due to my use of DATA PARAMETER. I've
    logged TARS on this and have yet to hear
    back from Oracle.
    Maybe if enough of us get the error Oracle
    will give some guidance on this one.

  • Progress bar while calling reports from Forms

    I have got a form (FORMS 6i) which calls a report (Reports 6i). This call results in the invocation
    of a reports engine which might take time (may be more than a minute) in bringing up the desired report. Is there any way i can show a progress bar to the user (like in any Windows application) that the report is getting generated? Because the user is currently confused on whether the report is really generated or not while waiting for the report.
    Thanks in advance
    PRS

    I have got a form (FORMS 6i) which calls a report (Reports 6i). This call results in the invocation
    of a reports engine which might take time (may be more than a minute) in bringing up the desired report. Is there any way i can show a progress bar to the user (like in any Windows application) that the report is getting generated? Because the user is currently confused on whether the report is really generated or not while waiting for the report.
    Thanks in advance
    PRS

  • FRM-41214 while calling Report from Forms DS9i

    Hi !
    I am getting FRM-41214 'Unable to run Report' when i run a report using Run_report_object in Developer Suite 9i. I have checked the Report server which is up and running. Any suggestion for troubleshooting.
    Take care
    Imran

    This is Note:260451.1, you can try it:
    Newly created Key in cgicmd.dat file returns the following error when called with rwservlet:
    REP-50003: Bad command line
    Changes
    New key created in cgicmd.dat file.
    Cause
    Used tabs to add space after ":" and before first parameter.
    Fix
    1. Edit the cgicmd.dat file.
    2. Remove the tab after ":" and before first parameter.
    3. Use spaces to separate ":" from first parameter.
    Note: Remember that multiple keys in this file MUST be separated by an EXTRA empty line.
    This is documented in cgicmd.dat sample as rule 1.

  • REP 110 & REP 0110 .calling reports from Form 10g(10.1.2.0.2)

    Hi All,
    We are migrating form from Oracle form 6i to Oracle 10g(10.1.2.0.2). I am calling reports from forms
    using Web.Show_Docment(). When we run reports in report builder 10g it works fine.
    But when we try to run reports from Forms 10g it throws error which is given below.
    We want to run reports from UNIX. After using this url to submit report we get error REP 110 and REP 0110
    URL
    http://GEM:7777/reports/rwservlet?server=rep_server&report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    ERROR
    REP-110: File '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2' not found.
    REP-0110: Unable to open file '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2'.
    I will really appreciate your help.
    Thanks
    Sandy

    Hello,
    You are mixing 2 separators in the URL : & and +
    Use only one separator in the URL :
    Example :
    http://GEM:7777/reports/rwservlet?server=rep_server+report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    Regards

  • Calling Report from Form Error ORA-06508

    Dear all,
    I want migrate from Fom6i to Oracle Developer Suite 10g (10.1).
    Folder Form = C:\APLIORA\IRS\FORM
    Folder Report = C:\APLIORA\IRS\REPORT
    I have modified file DEFAULT.ENV
    FORMS_PATH=C:\APLIORA\IRS\FORM;C:\APLIORA\IRS\REPORT
    i do not have problem call a form from form.
    but when i call report from form show error ORA-06508 : PL/SQL : could not find program unit being called ; -6508
    my procedure is
    PROCEDURE Call_Report IS
         list_id ParamList;
    BEGIN
    list_id := Get_Parameter_List('input_params');
    IF NOT Id_Null(list_id) THEN
    Destroy_Parameter_List(list_id);
    END IF;
    list_id := Create_Parameter_List('input_params');
    Add_Parameter(list_id,'MAXIMIZE',TEXT_PARAMETER,'YES');
    Add_Parameter(list_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'YES');
    RP2RRO.RP2RRO_RUN_PRODUCT(REPORTS,'TESTREPORT.REP',SYNCHRONOUS,RUNTIME,FILESYSTEM,list_id,null);
    END ;
    Do I miss something ?
    Can any one help ?
    Thanks

    Hi,
    Thank you for your replay.
    The problem have solved.
    This my step :
    1. Install Windows XP SP2 and Form 10.1.2.0.2 on new pc.
    2. Install Jinit version 1.3.1.28.
    3. Create report server
    3. Compile form, report and pll
    4. call report from from with this procedure :
    PROCEDURE Call_Report (vFILENAME varchar2) IS
    report_id                Report_Object;
    ReportServerJob VARCHAR2(100);
    vc_rep_status      VARCHAR2(100);
    repsvr                          varchar2(21) := 'myserv';
    userid                         VARCHAR2(100);
    pass                          VARCHAR2(100);
    Host                    VARCHAR2(100);
    BEGIN
    userid          := Get_Application_Property(USERNAME) ;
    pass          := Get_Application_Property(PASSWORD) ;
    Host          := Get_Application_Property(CONNECT_STRING) ;
    report_id:= find_report_object('REPORT');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,vFILENAME||'.jsp');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,repsvr);
    ReportServerJob:=run_report_object(report_id);
    vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
    WHILE vc_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED', null)
    LOOP
    vc_rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
    END LOOP;
    IF vc_rep_status='FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||vFILENAME||'.jsp'||'&userid='||userid||'/'||pass||'@'||Host||'&destype=CACHE&desformat=PDF&paramform=yes','_blank');
    ELSE
    message ('Report failed with error message '|| vc_rep_status);
    END IF;
    END;
    Ok, but i have another strange error. I will post new thread.
    Thank you and regards
    Teguh S

  • Calling Report From Form To Many Destinations

    Hi
    I am calling reports from forms using SET_REPORT_OBJECT_PROPERTY and then run_report_object.
    I dont know the destination until runtime of the report which is ok as I can pass this in via my procedure, but if that destination is many ie mail and file what is the best way to distribute the report?
    I could call my procedure for each destination but that seems a bit unefficient since the report would be created many times, is there another way?

    what about adding a drop-down-list near your report-button where you can choose the destination?
    when you click the report-button you simply read the value selected in the drop-down-list and send it to your reports-server too.

  • FRM-92101 error while running report from form

    HI All,
    I am getting the form error FRM-92101 while running report from form menu.My code is given below:
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT47');
    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
    WEB.SHOW_DOCUMENT('http://192.168.0.21:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    Clear_message;
    END;
    Clear_message;
    --Arif                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi Arif
    Please see this note on MOS/Metalink for some common causes of this error:
    Known Causes of FRM-92101 Error In Forms [ID 604633.1]
    thanks,
    AMN

  • Call report from form 10g (10.1.2.0.2)

    hi
    i using win 2003 and db 10g and dev10g ( 10.1.2.0.2)
    and i want to call report from my form as following code :
    DECLARE
    dir varchar2(200);
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    dir:=co$win.get_current_directory ;
    repid := find_report_object('CGNV$OFG_REPORT');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,dir||'\rep.jsp');
    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,'HTML');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rws');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=yes');
    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' --or rep_status is null
    THEN
    WEB.SHOW_DOCUMENT('http://hamid:8889/reports/rwservlet/getjobid'||
    substr(v_rep, instr(v_rep,'_',-1)+1)||'?server=rws','_blank');
    ELSE
    message(ER_RP);
    END IF;
    END;
    but i get error :
    frm-41213: unable to connect to the report server rws
    plz help me

    hi
    i using win 2003 and db 10g and dev10g ( 10.1.2.0.2)
    and i want to call report from my form as following code :
    DECLARE
    dir varchar2(200);
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    dir:=co$win.get_current_directory ;
    repid := find_report_object('CGNV$OFG_REPORT');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,dir||'\rep.jsp');
    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,'HTML');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rws');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=yes');
    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' --or rep_status is null
    THEN
    WEB.SHOW_DOCUMENT('http://hamid:8889/reports/rwservlet/getjobid'||
    substr(v_rep, instr(v_rep,'_',-1)+1)||'?server=rws','_blank');
    ELSE
    message(ER_RP);
    END IF;
    END;
    but i get error :
    frm-41213: unable to connect to the report server rws
    plz help me

  • Calling report from form. Need PDF output

    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

    Thanks for the response. The first part worked. I am able to get the output in PDF format. In the 2nd part where I want to open acrobat and display the output, I am having some trouble with the code. When I compile, it says
    win_api_environment.read_registry must be declared. Is there some package I need to attach?
    Also, in the After reports trigger, how do I pass vFile (I am assuming this is the PDF file name)?
    Thanks
    The first thing you'll want to do is pass parameters to the report IE DESTYPE, DESNAME and DESFORMAT where these could be FILE, 'c:\temp\report' and PDF.
    Then, you can try this piece of code I wrote (with some help from other people at Metalink and here) sometime back. Now, I call it from forms, but in your case, you'd have to run it in the after report trigger. Since with RUN_PRODUCT you don't know when the report is finished, if you did it from the form, it wouldn't work correctly.
    PROCEDURE OPEN_PDF(vFile IN VARCHAR2)
    IS
    vcServerApp varchar2(40);
    vcServerTag varchar2(600);
    vcCommand varchar2(2000);
    iArgPos pls_integer;
    dummy NUMBER;
    BEGIN
    -- 1 get the Server App for .PDF files
    vcServerApp := win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.PDF','',true);
    -- 2 get the executable
    vcServerTag := 'HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\'||
    vcServerApp||'\SHELL\OPEN\COMMAND';
    vcCommand:= win_api_environment.read_registry(vcServerTag,'',true);
    -- 3 Sort out how to specify the Filename
    iArgPos:= instr(vcCommand,'%1');
    if iArgPos = 0 then --no substitution Var on the command line
    vcCommand := vcCommand||' '||vFile;
    else
    vcCommand := substr(vcCommand,1,(iArgPos-1))||
    vFile||substr(vcCommand,(iArgPos+2));
    end if;
    -- 4 Run using Winexec (or Host if preferred).
    win_api_shell.winexec(vcCommand);
    EXCEPTION
    when no_data_found then
    abortt('Acrobat Reader was not found! Please consult with your help desk to install it and try again.','N');
    END;
    Chad
    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

  • Calling report from form in Web environment

    Hi,
    We are in the process of migrating our C/S appication (developed in Developer2k) to intranet using OAS. My question :
    a) Is there any other way to call report from a form other than web.show_document?
    b) When a report is called from the report server(using web.show_document), a log-in screen comes up unless the login and password is passed as parameter. Only problem with this is the password shows in the URL. Is there any other way to make the call so that the login & password does not show and the user won't have to login a second time to run the report?
    Any reply would be appreciated..Thanks

    1. Yes you can use run_product package procedure to call reports on web, Oracle documentation says that run_product command will run in web env.
    2. Yes you can hide username & password from user, it depends on which method you are using to call reports, if you are using web cgi then add username & password in file "cgicmd.dat" and "oascmd.dat" for web catridge or in cartridge parameter setting you will find this files in directory "\orant\report60\server\".
    Darshan Desai
    [email protected]
    null

  • FRM-41219 - Cannot able to call reports from form generated in Designer

    Hi
    I'm trying to call a report from form whit a button generated in Designer 10.1.2.0.2
    But I'm getting error : FRM-41219 Invalid report id
    I'm tying with a menu but I'm getting the same error.
    Please help me

    Note 1056653.6
    FRM-41219 Cannot Find Report: Invalid ID
    Problem Description:
    You are getting error: FRM-41219 Cannot Find Report: Invalid ID
    Problem Explanation:
    The code is using find_report_object and passing a report name to the function.
    The statements are as follows:
    DECLARE
    repid REPORT_OBJECT;
    BEGIN
    repid := FIND_REPORT_OBJECT('report1');
    END;
    Solution Explanation:
    The error message frm-41219 is a new error code which corresponds to the
    Oracle Developer forms/report integration.
    This message essentially means that the report cannot be found. Specifying the
    correct name of a report object found in the forms object navigator (not the
    actual name of the rdf file) usually resolves the problem.

Maybe you are looking for

  • Combining single transaction between session bean & application client

    Hi All, The following transaction exception was encountered when trying to combine a EmployeeSessionBean.create(Employee) method in an application client: Application Client output SEVERE: null javax.transaction.SystemException: org.omg.CORBA.UNKNOWN

  • Goods reciept and Goods issue

    Hi Gurus, I am working on an interface where I will be getting an input file and I need to write a process that allows goods issue and goods reciept. My input file for <b>GI</b> contains the following information Material No.            Plant      St

  • Count selected files, insert appropriate number within filename?

    Hi all. Appreciate any help you can provide. I need a script that you can run on a selection of files within a folder and insert the appropriate number of the file, inside the file after the photo ID number. For example I have a group of photos that

  • Issue in modifying OIM Email Def content

    Hi, I am facing an issue that ,when i try to change the content of my email notifications,it is getting changed.But after some time or days,the changes are not getting reflected.Is this a bug with OIM?.

  • Error on webi schedules on HPUX environment - XI 3.1

    Getting this error when scheduling a webi report: Error Message: Could not save the document to the repository for the following reason: [repo_proxy 30] DocumentFacade::uploadBlob - Query execute has failed : Error occurred while attempting to reconn