REP-159 Error

Hi
I am running report through form on 9iAS and passing more than one run time parameter. using Paramer list by RUN_REPORT_OBJECT(report_id, Parameter_List) yields REP-159 error. When passed paramet through SET_REPORT_OBJECT_PROPERTY(paraform=NO p_date=JUN-2006 p_remarks=Trial Run) yields REP-159 error. It is due to blank between p_remarks character string. The remarks parameter will contain some of the blanks. How to solve this issue?
Why does this happen??
Thanks
Sanjay

Hello,
If you want to pass a parameter containing a space, you have to protect this parameter with simple or double quotes :
Example :
SET_REPORT_OBJECT_PROPERTY(paraform=NO p_date=JUN-2006 p_remarks="Trial Run")
Regards

Similar Messages

  • REP-159, hyphens in the path

    This URL doesn't work, we get an error message:
    http://192.168.22.6:8888/reports/rwservlet?server=ReportsServer+report=/project/data/axirs3137.jsp+FMT_FILE=/project/spool/7--I/a31375764.dat+desformat=pdf+destype=file+desname=/project/spool/7--I/a31375764.pdf
    REP-159: A syntax error exists on the command line.
    REP-0155: The value for keyword DESNAME is invalid.
    REP-0631: The string must be no longer than 256 characters.
    Problem: the hyphens in the path, *7--I*
    Some tests...
    - without hyphens: OK
    - 1 hyphen: OK
    - single quotes: not OK
    - double quotes: not OK
    - escape sequence, for example 7%2D%2DI, not OK
    - backslash, for example 7\-\iI, not OK
    Other suggestions?

    More tests...
    - fmt_file with double hyphens, OK
    - desname with double hyphens, not OK

  • Report 6i/Webdb -Not able to display the report in the browser - rep- 3002 error.

    Would someone tell what I missed, I have set up the following:
    1) a report using report builder on NT
    2) my database is in Unix
    3) my report server is started in NT
    4) I run webdb listener for the following code: http://myweb.com/cgi/rwcgi60.exe?server=repserver+report=myreport+userid=usid/pw/connect_string+destype=cache+desformat=html. Then, I receive this message:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Report Job has terminated with error.
    Reports Server Replies:
    REP-3002: Error initializing printer. Please make sure a printer is installed.
    Why is it thinking I want to use the printer whereas I want to display the report in the browser?. Any help would be appreciated.
    null

    It sounds like that your Web CGI did not configure right. To test if your CGI configuration is correct, type:
    http://hostname:port/cgi-bin/rwcgi60exe?
    If you get a help screen, then you should be able to bring up your report.
    Regards,
    Xiaoling

  • REP-770 Error while executing the report.

    Hi,
    I am trying to run a report in Application Server 10g. I am executing this report from a form.
    When I try to run the report using the 'rdf', I get the error
    "Terminated with error: <br>REP-770: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL."
    But if I run the report as 'rep' then the report works fine. Now after this if I run the report as 'rdf', it works fine again.
    Just to summarise - The problem occurs if I first try to run the report as rdf. But the problem disappears if I run the report as rep first before running it as rdf.
    Could someone help me solve this issue.
    Thanks
    Aruna

    Hi Aruna,
    I can see 2 bugs logged on Reports 9.0.4.1 (that means 10g patch 1) that report a similar problem:
    BUG 4050488 - JSP REPORTS CONTAINING REF CURSOR ASKS FOR COMPILATION EVERYTIME WITH WEB LAOUT
    and
    BUG 4040844 - REF CURSOR QUERY REP-737 ORA-1247 RUNNING ON LINUX
    Another bug reported on 10g has been fixed in upcoming Reports version 10.1.2:
    BUG 3324576 - SRW.APPLY_DEFINITION IN PGM UNIT FAILS USING .REP FILE WITH REP-1457 ERROR
    They are published bugs. See if you are hitting the same issue. Though I don't think that these bugs reported REP-1247 only the FIRST time you run the report.
    Secondly, when I said "compile on the same platform on which you are going to run", I meant this - if you are going to run the report on OracleAS installed on Win 2000, you must compile the report in Reports Builder on Win 2000. Similarly, if you are going to run the report on OracleAS installed on Linux, you must compile the report in Reports Builder on Linux, before running it.
    Navneet.

  • Reports Builder Error - REP 1070 Error while opening or saving document

    Hi,
    I tried opening an rdf file in Reports Builder 10g and 6i. I get the REP 1070 error.
    Kindly suggest a solution for this.
    Thanks,
    Anand

    Hi,
    Edit the system registry and assign REPORTS_PATH then your problem will be cleared.

  • REP-3002: Error initializing printer

    Hello,
    This is my configuraton:
    Computer 1 : nt4, sp3, installed: Oracledatabase 7.3.4
    Computer 2 : nt4, sp3, installed: Oracle WebDb, forms 6i, formserver 6i and reports 6i.
    Services WebDb and Listener are running.
    I've connected an HP LaserJet III to the parallel port of computer 2. In the printer
    control panel of NT4, this printer is set as the 'default' printer.
    'myform.fmx' is a simple form.
    The code consists only of a 'when-button-pressed' trigger as follows:
    declare
    pl paramlist;Ln varchar(15) :='Elsa';
    BEGIN
    pl :=get_parameter_list(Ln);
    if not id_null(pl) then destroy_parameter_list(pl);end if;
    pl :=create_parameter_list('Elsa');
    add_parameter(pl,'DESTYPE', text_parameter,'PRINTER');
    run_product(REPORTS,'C:\ORANT\REPORT60\myrep.rep',1,BATCH,FILESYSTEM,pl);
    destroy_parameter_list(pl);
    END;
    'myrep.rep' is a simple report, consisting of:
    select user from dual;
    generated by the wizard.
    When I run the form in preview for the web in formbuilder 6i, then it works very well,
    it prints my report.
    But when I run it from the cgi 'ifcgi60.exe' by the command
    start -> programs -> oracle forms 6i -> run a form on the web
    it returns
    http://pent2.easyware.be/dev60cgi/ifcgi60.exe?
    form=myform.fmx&userid=&otherparams=useSDI=yes&
    lookAndFeel=generic&colorScheme=teal
    then the error returned in the webbrowser is
    'REP-3002: Error initializing printer. Please make sure a printer is installed.'
    if parameter 'DESTYPE' is set to 'SCREEN' then it works very well, I can print by clicking the print icon.
    Please can someone help me.
    Best Regards,
    Carl Willems.
    [email protected]

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by aapmens ():
    Hello,
    This is my configuraton:
    Computer 1 : nt4, sp3, installed: Oracledatabase 7.3.4
    Computer 2 : nt4, sp3, installed: Oracle WebDb, forms 6i 6.0.8.8.0, formserver 6i and reports 6i 6.0.8.8.3.
    Services WebDb and Listener are running.
    I've connected an HP LaserJet III to the parallel port of computer 2. In the printer
    control panel of NT4, this printer is set as the 'default' printer.
    'myform.fmx' is a simple form.
    The code consists only of a 'when-button-pressed' trigger as follows:
    declare
    pl paramlist;Ln varchar(15) :='Elsa';
    BEGIN
    pl :=get_parameter_list(Ln);
    if not id_null(pl) then destroy_parameter_list(pl);end if;
    pl :=create_parameter_list('Elsa');
    add_parameter(pl,'DESTYPE', text_parameter,'PRINTER');
    run_product(REPORTS,'C:\ORANT\REPORT60\myrep.rep',1,BATCH,FILESYSTEM,pl);
    destroy_parameter_list(pl);
    END;
    'myrep.rep' is a simple report, consisting of:
    select user from dual;
    generated by the wizard.
    When I run the form in preview for the web in formbuilder 6i, then it works very well,
    it prints my report.
    But when I run it from the cgi 'ifcgi60.exe' by the command
    start -> programs -> oracle forms 6i -> run a form on the web
    it returns
    http://pent2.easyware.be/dev60cgi/ifcgi60.exe?
    form=myform.fmx&userid=&otherparams=useSDI=yes&
    lookAndFeel=generic&colorScheme=teal
    then the error returned in the webbrowser is
    'REP-3002: Error initializing printer. Please make sure a printer is installed.'
    if parameter 'DESTYPE' is set to 'SCREEN' then it works very well, I can print by clicking the print icon.
    Please can someone help me.
    Best Regards,
    Carl Willems.
    [email protected]<HR></BLOCKQUOTE>
    null

  • Parameter Form not calling the Main report - Gives REP-0110, REP-1070, REP-0110 error

    I am using run_report_object to call a report in which the user has to input some paramters. I have followed the instructions as in the Oracle White paper document on Forms/Reports integration.
    The paramter report does come up but when I hit the submit button, I get an error
    REP-0110: Unable to open file 'rclug005'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'rclug005
    I've checked the privileges and everything's fine on that front. Also, I can get to open the report with the web.show document built-in with paramform setting = No.
    I am guessing something's wrong with the html constructed in the parameter form which is,
    <form method=post action="http://myserver/dev60cgi/RWCGI60.EXE?">
    <input name="hidden_run_parameters" type=hidden value="server=myserver &report=rclug005&destype=Cache&desformat=html&userid=uid/pwd@test">
    In the Report Before Form trigger, I've copied the foll. html code from the Oracle White paper,
    vc_parameter_form :=
    '<html><body bgclor="ffffff"><form method=post action="'||:p_action||'">'||
    '<input name="hidden_run_parameters" type=hidden
    value= "'||vc_hidden_runtime_values||'">'||'<center><p>
    <table border=0 cellspacing=0 cellpadding=0><tr><td>
    <input type=submit></td><td> width=15
    <td><input type=reset></td></tr></table><p><hr></p>';
    I've set the :p_action parameter to a value of http://myserver/dev60cgi/RWCGI60.EXE?
    Also, In the end of the report before form trigger I added this
    srw.set_before_form_html(srw.text_escape, vc_parameter_form);
    Any help/tips is appreciated & Thanks.

    Thanks Danny,
    I am building the variable exactly as in the White paper in the "before form" trigger using exactly the same values give there.
    vc_hidden_runtime_values := 'server='||:p_servername||'&report='||vc_report_name||'.rep&destype='||:destype||'&desformat='||:desformat||'&userid='||:p_userinfo;
    My report has some extra parameters too it expects. So do I have to include the names of those parameters too in the string above?
    For example, in my report a user parameter is named 'print_date', which I do see and populate with value in the parameter form, then do I have to build that in the vc_hidden_runtime_values string above.
    I am using Report 6.0.8.11.3 on 9iAS.

  • Reports: REP-0177 & REP-3000 errors :-( (RH 6.2.2 HA 1.0)

    Hi Folks, hi Oracle,
    we have some serious problems here with Oracle Reports 6i Patch 6 which is running under Red Hat HA (Red Hat 6.2.2 High Aviability Server 1.0, based on Zoot)
    Because HA installs without X i have installed all needed X-packes to get a X11 system, and it runs fine.
    Then i set up request for a reports from the console i get the following message:
    [oracle@webserver1-do bin]$ ./rwcli60 REPORT=xxxx.rdf USERID=xxxxx/xxxxx@xxxx SERVER=xxxxx DESTYPE=SYSOUT DESFORMAT=PDF benu_id=x masszeile=xxx
    REP-0177: Error while running in remote server
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    If i change the DISPLAY to a faked adress, i become the 111-errors (cant connect to X11-Socket), so i think the repserver connects to X but have some other problems with X.
    If i change DISPLAY to an another Linux-Server with fully installed X11 & KDE, the report runs fine.
    And all the same if the call the report over apache.
    I have read the Bug-Info about Bug 1108326, but i have the same, if i change the format to HTML.
    Any suggestions?
    H.-C.G|rsoy
    null

    hello,
    be aware, that you have to set the display in the environtment of the server (meaning the startup-script of the server).
    regards,
    the oracle reports team

  • REP-0081 error when emailing report output

    I am using RUN_REPORT_OBJECT to execute a report from a form. I have the report set up as a Report object in the form. The report runs fine to screen or to file, but I am getting an error when attempting to email report in batch mode:
    REP-0081: Error during file I/O operation.
    REP-0110: Unable to open file 'mpa02448.pdf'.
    scaba 14
    Execution Mode = Batch
    Report Destination = Mail
    Report Destination Name = [email protected]
    Report Destination Format = PDF
    I am able to send email to the same address via UTL_SMTP directly from the form, so it is not an email handler problem.
    Any ideas?

    I have verified the latest patches.
    Addresses are indeed in Windows address book.
    As far as verifying permissions on the file, the file does not exist. It would appear that the error is generated when creating the PDF file, before emailing occurs. Again, however, I do not have problems writing to file directly.
    Is there a default directory used when emailing report for file creation? Perhaps the permissions on that directory need to be changed. Please advise.

  • REP-51018 + REP-50004 Errors (Urgent)

    Hello,
    I am working under Oracle 9i iDS on Windows XP Pro.
    When I invoke my WebReports from WebForms, I see my Parameter Form that Pops-Up in a new Browser window.
    When I hit, the "Submit Query" button, I am prompted to enter the username/password/database information.
    I also get a message like:
    REP-51018: Need Database User Authentication
    I enter the required parameters even though they are already defined by the application code. Then I get an error like:
    REP-50004: No Report specified on the command line.
    1) Why do I get these errors ?
    When I relauch my WebReport from WebForms, it works fine and I can get a WebReports from the WebForms.
    2) What is going on ?
    PT
    PS: I created a generic function called RUN_REPORT_OBJECT_PROC that uses the run_report_object() and web.Show_document built-ins as indicated in:
    http://www.oracle.com/technology/products/forms/pdf/10g/frmrepparamform.pdf
    PS2: I increased the SESSIONS parameter in the init.ora file and set its value to 9999, but still cannot resolve the issue.
    PS3: I get the same REP-51018 error under Forms/Report Services 10g on my Linux box.

    Hello,
    I used the generic RUN_REPORT_OBJECT_PROC presented in the white paper. The generic procedure makes calls to the run_report_object and the web.show_document built-ins.
    The only modification that I have done to this generic function is to add the SYNCHRONIZE keyword before the call to web.show_document built in as was suggested by a technical note on Metalink.
    The RUN_REPORT_OBJECT_PROC also makes a call to the ENCODE function which I have also added.
    In addition in my WebReports, I added the 3 user parameters: P_ACTIONS, P_SERVER_NAME and P_USER_CONNECT as well as added code to the BeforePForm trigger as indicated in the white paper.
    All very straight forward stuff.
    On Oracle 9i iDS running under Windows XP Pro, I can generate the Parameter Form then get the REP-51018 followed by the REP-50004 errors when pressing the "Submit" button. If I come back and press the "Reset" button on my Parameter form, I can generate the corresponding WebReport without errors.
    These errors occur only the first time that I try to call a WebReport using a Parameter Form from a WebForm.
    On the Forms/Reports 10g running on my LinuxServer under iAS, the right hand side Fields for my Parameter Form Parameters are missing, for parameters of type Character + I cannot call-up my WebReports.
    YOur feedback is appreciated......
    PT
    PS: I tried to make modifications to the rwservlet.conf and the repsrv.conf and the rep_Linux2005.conf files without success.

  • Rep-1340 error for date type

    I want to transfore forms date directly to report. then i use run_report_object function. But in forms i use datetime type replace of default date type. then the item can show time. then i revoke the report.rep-1340 error get. Who have better solution. thanks a lot.

    Hi ...
    pass thedate by a parameter list
    but transform the date into char
    with to_chat(the_date,format)
    in report's query you will may do like this:
    select ..... where query_date = to_date(the_parameter,format);
    the formats must be the same.
    Good look !
    Ovidiu ANCUTA
    [email protected]

  • Rep :56092 error

    Hi all,
    We are converting Reports6i to Reports10g (Report Builder 10.1.2.0.2)
    All those reports which are opened in Reports 10g and compiled and tried to run in web layout , either report is coming as blank or it shows Rep:56092 error :class not found for destination type screen
    How can i solve this problem ?
    Thanks in advance

    But Manu the default value in destype is Screen even if i create a fresh report..
    Also if i create report from scratch, then no issue is there..
    But there are hundreds of reports in 6i. How can i develop all those from scratch?
    Is there any solution for this?
    Edited by: Dora on Jan 5, 2010 4:22 PM

  • REP-1920 Error Message

    Our project has reports that fail with the following error message:
    REP-1920: Character mode runtime incompatible with
    DESFORMAT of PDF, HTML, HTMLCSS, or RTF.
    It is not always the same reports that receive the above message, it appears to be random in nature. Indeed, the vast majority of time these reports run with no errors at all. All of a sudden, out of the blue, certain reports (no pattern, it could be any of our reports) will fail with the REP-1920 error message.
    To make matters worse, NONE of our reports are in CHARACTER mode. All have an initial value of DEFAULT (i.e. BITMAP). Now we do have one report that generates a CHARACTER report dynamically, by passing a paramter at runtime, but that report (the .rdf) has a DEFAULT mode as well, and is run off of a different report server than all the other reports.
    I have scoured the NET and have not found anything that can tell me why we are receiving these error messages. Anybody?
    Note: We are running Report Server 6i Patch 10 (6.0.8.19.0) on a Windows 2000 box. Dev Tools are Patch 10 as well.
    Thanks
    James Walters

    Hi James,
    We have never heard of this issue before. We can undeerstand the REP error if there is some contradiction in Report request between deformat and the mode. But since you told this happens once in a while, that too randomly, it seems, wrong message is being displayed. I suggest you get in contact with Oracle support on this issue. This need to be looked into.
    Thanks,
    Rohit

  • REP-3301: Error occurred in Error Checking (RXGLER)

    Hi,
    All of a sudden, few reports of our application has stopped working this morning.
    When the user runs the report through application, following is the error message received.
    REP-3301: Error occurred in Error Checking (RXGLER).
    REP-0002: Unable to retrieve string from message file.
    Front End : Oracle Forms 4.5, Reports 2.5
    Back End : Oracle Database 10g Release 2
    Searched online as well but no avail.
    Any help/suggestion in this regard is highly appreciated.
    Thanks

    Well,the issue has been resolved.
    It was related to table in the database wherein the session information is getting stored in the table whenever a users runs the report. We had a restart of the server and the old session information was still there in that table.
    Therefore, when user connected again and tried to run the same report, error was raised as the session id and other information was still existing.
    Recycled the table and it resolved the error.
    Thanks

  • REP-0066 Error Executing CA utility

    Hi all,
    When I run the Oracle report in the Reports
    Runtime Iam getting this error message:
    Rep-0066 Error Executing CA utility
    REP-3335 Unhandled Internal CA Error.
    calaa1
    Iam using Oracle 3.0.
    I would appreciate any suggestions to my query.
    TIA
    sg
    null

    Hi
    Just tried this with Reports 6i patch -11 and I could not reproduce the problme. Is this specific to one rdf only? CA utility error usually means some issue with the memory requirement. Check of your temp directory has enough space left.
    Thanks
    Rohit

Maybe you are looking for

  • Error while consuming webservice

    While consuming a webservice i got this error and i didn't found what's the problem. Any help? TypeError: Cannot marshall type 'http://www.w3.org/2001/XMLSchema::ReverseGeocodeRequest0' to simple content.     at mx.rpc.xml::SchemaMarshaller/marshall(

  • Get Info does not allow me to manually add album artwork

    Hello, I am trying to manually upload album artwork on iTunes with my Windows PC (Windows 8.1 64 bit).  I followed all of the steps for doing this as outlined here in the Help section.  I did a Google search, found the album artwork in JPEG format on

  • Runtime error in ALV interactive report

    Hi all, While clicking the cutomer no to get the order details am getting run time error. Your help will be rewarded. REPORT  Z_INTERACTIVE_ALV. TYPE-POOLS : SLIS. TABLES : KNA1. TYPES : BEGIN OF TY_KNA1,        KUNNR  TYPE  KUNNR,        NAME1  TYPE

  • How to modify a dunnig letter

    hello, I need to modify a dunnig letter, how can i make that posible. I searched for the name but i never found it. By the way do the dunnniig use smartforms or sapscripts. Any step by step will be great help. thanks.

  • Will there be driver support for the 8600m GT under Windows XP?

    Hi! I would like to run Windows XP on my Santa Rosa Macbook Pro. I know that with Bootcamp 1.3 you get drivers for the 8600m GT - the thing is, that those drivers do not seem to be optimised, for the 3dMark 06-test scores pretty low (no more than 10f