Failed to accept user input when run report on Web

I've testing a report with one input parameter. It's a date with default current date. It is done by using SQL 'select sysdate from dual;' has been added to before form trigger. User is allowed to input any date other than the default sysdate before submitting the report. The report works fine when run in report builder, but it's failed to accepted user input date when called through web browser. The report still uses the current date as SQL parameter rather than user input date.
Can anyone help me to fix this bug?
The report is develped by Oracle 9i and is saved and run in .rdf format.

I created a report with a user defined parameter p_date of DATE type. In the layout model, I created a field with p_date as data source. In the before form trigger, I put
'select sysdate into :p_date from dual;
I run the report through rwservlet:
http://host:port/reports/rwservlet?report=datetest.rdf&destype=cache&desformat=html&userid=scott/tiger@orcl&paramform=yes
In the html parameter form, I change the date from default current date to a future date and that date is shown in the final report.
So I can't reproduce the bug.
One thing you can try it to turn on reports server trace file, see what command line is sent to reports server when you submitting the parameter form.
Thanks,
-Shaun

Similar Messages

  • Backend BW roles for users needed when running reports in infoview?

    Hello all,
    We are using SAP BI Queries as the sources of our universes, the user is going to logon to infoview to run report in webi. We have created some access levels in CMC to restrict users, the question is - the user will still need some kind of backend BW roles to have access to the BI query that is developed in BW system right? That way the user can fetch data?
    Let me know
    Thanks in advance.

    Hi,
    If you are using SAP Authentication and Single sign on option in universe connection, the users must have sufficient roles to access SAP BW database.
    if not, the only user login which you create during connection creation having roles to access to BW database is enough. In this case, the user can login to Infoview using any user and can access the report if he has priveleges to the report.
    Hope this helps!

  • REP-56092 WHEN RUN REPORT IN WEB LAYOUT

    I have installed report 9iDS and can run report in paper layout without any problem.
    However , when I press "Run Web Layout" button , I get message
    rep-56092 NO CLASS DEFINED FOR DESTINATION TYPE SCREEN WHEN RUN WEBLAYOUT.
    Do anybody has idea why this is happening??

    Hi
    If the ENVIRONMENT is Sun SPARC and
    NLS_LANG: Traditional Chinese_Taiwan.ZHT16MSWIN950 , then it is a known problem. There is a bug 2332838 filed for this issue.
    regards
    ~sudha

  • Getting BEFOREREPORTTRIGGER error when running report on web

    Hi,
    I have developed a report which uses lexicals in main query. In lexicals I apply filters (if any) which come as parameters from the GUI via a dbase table. When report is run locally using "Run Paper Layout" option it works as desired -- with or without filters.
    When report is run via GUI it runs fine when no filters are applied. Problem comes when any of the filter is applied in any one of the cases selected from the GUI.
    And I get the following errors.
    REP-1419: Please contact the Systems Administrator.
    REP-1419: 'beforereport': PL/SQL program aborted.
    when I go and check the beforereport trigger it does not show any errors when report is run within report builder.
    Any suggestions would be appreciated
    Thanks in advance

    Problem comes when any of the filter is applied in any one of the cases selected from the GUI.Do you mean that the problems only shows when you run the report in your browser via 9iAS?
    Which version are you using?
    Can you post the before report trigger?

  • Database connection error when running report from web application

    Hi all,
    When I open a report in Reports Builder , and enter the database connection parameters, everything works fine. When I run my web application from JDeveloper (9.0.5.1), and I tried to run a report, I get this error:
    Rep-501 : Unable to connect to the specified database.
    I have ran tnsping, and it works fine. My tnsnames.ora file looks like this :
    GPGWL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = GPGWL)
    )

    Please ask this question in Jdeveloper forum.

  • Exe running from java fails to get user input .Help me...

    I have an DOS based exe.It just asks for input for a number from the user and prints the number it gtes.
    When I try to execute this program from Java with the following code
    import java.lang.Runtime;
    import java.lang.Process;
    import java.io.*;
    public class runtimetest     {
         public static void main(String[] args)     throws Exception {
              Runtime rt = Runtime.getRuntime();
              Process p = rt.exec("myExe");
    nothing happens.Thatis It doesnot ask for the input .and I am just unable to know whether its running or not.
    What could be wrong?
    What is the other means to tun the DOS based exe that accepts user inputs , from Java.
    Plz help me as I am in urgent need.
    Aathi

    try this
    Runtime r = Runtime.getRuntime();
              Process p = null;
              try
                   System.out.println("Exe will be called");
                   p = r.exec("cmd.exe /c start c:/ur exe path ");
                   p.waitFor();
              catch (Exception e)
                   e.printStackTrace();
              }

  • How to accept user inputs from  sql script

    I want to create Tablespace useing sql script , but the location of the data file I need accept from user . (to get the location of the data file ) .
    How can I accept user input from pl/sql .
    Example :
      CREATE TABLESPACE  TSPACE_INDIA LOGGING
         DATAFILE 'H:\ORACLE_DATA\FRSDB\TSPACE_INDI_D1_01.dbf'
         SIZE 500M  AUTOEXTEND ON NEXT  1280K MAXSIZE UNLIMITED
         EXTENT MANAGEMENT LOCAL;here I need to accept location of the datafile from user ie : 'H:\ORACLE_DATA\FRSDB\TSPACE_INDI_D1_01.dbf'

    Hi,
    Whenenever you write dynamic SQL, put the SQL text into a variable. During development, display the variable instead of executing it. If it looks okay, then you can try executing it in addition to displaying it. When you're finished testing, then you can comment out or delete the display.
    For example:
    SET     SERVEROUTPUT     ON
    DECLARE
        flocation     VARCHAR2 (300);
        sql_txt     VARCHAR2 (1000);
    BEGIN
        SELECT  '&Enter_The_Path'
        INTO    flocation
        FROM    dual;
        sql_txt :=  'CREATE TABLESPACE SRC_TSPACE_INDIA LOGGING
         DATAFILE' || flocation || ' "\SRC_TSPACE_INDI_D1_01.dbf" ' || '
         SIZE 500M  AUTOEXTEND ON NEXT  1280K MAXSIZE UNLIMITED
         EXTENT MANAGEMENT LOCAL ';
        dbms_output.put_line (sql_txt || ' = sql_txt');
    --  EXECUTE IMMEDIATE sql_txt;
    END;
    /When you run it, you'll see something like this:
    Enter value for enter_the_path: c:\d\fubar
    old   5:     SELECT  '&Enter_The_Path'
    new   5:     SELECT  'c:\d\fubar'
    CREATE TABLESPACE SRC_TSPACE_INDIA LOGGING
         DATAFILEc:\d\fubar
    "\SRC_TSPACE_INDI_D1_01.dbf"
         SIZE 500M  AUTOEXTEND ON NEXT  1280K MAXSIZE
    UNLIMITED
         EXTENT MANAGEMENT LOCAL  = sql_txt
    PL/SQL procedure successfully completed.This makes it easy to see that you're missing a space after the keyword DATAFILE. There are other errrors, too. For example, the path name has to be inside the quotes with the file name, without a line-feed between them, and the quotes should be single-quotes, not double-quotes.
    Is there some reason why you're using PL/SQL? In SQL, you can just say:
    CREATE TABLESPACE SRC_TSPACE_INDIA LOGGING
    DATAFILE  '&Enter_The_Path\SRC_TSPACE_INDI_D1_01.dbf'
    SIZE 500M  AUTOEXTEND ON NEXT  1280K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL;though I would use an ACCEPT command to given a better prompt.
    Given that you want to use PL/SQL, you could assign the value above to sql_txt. If you need a separate PL/SQL variable for flocation, then you can assign it without using dual, for example:
    DECLARE
        flocation     VARCHAR2 (300)     := '&Enter_The_Path';The dual table isn't needed very much in PL/SQL.
    Edited by: Frank Kulash on Jan 10, 2013 6:56 AM

  • Error when running reports: "File Server needs to be re-initialized"

    Hi.
    This error "File Server needs to be re-initialized" appears when our users try to run reports on 11.5.10. EBS.
    There is also a message box that appears and reads:
    "A error occurred while attempting to establish a conection to Application File Server. There may be a network configuration problem, or the TNS listener may not be running."
    This is a problem in our test environment. We recently ran autoconfig on the test side.
    I have checked Metalink and also wider google search.
    Perhaps we have an issue with the tnsnames files? Well, I verified this and the tnsnames in production and test, and they are the same.
    Perhaps a listener.ora file issue?
    "The issue is caused by the variables APPLFSTT and APPLFSWD is not being set properly in the <8.0.6_ORACLE_HOME> listener.ora file. " (Note 263654.1)
    I am trying to verify the meaning of the following (in listener):
    ( SID_DESC = ( SID_NAME = FNDFS )
    ( ORACLE_HOME = /oracli2/oracle/testora/8.0.6 )
    ,APPLFSTT=
    TEST_BALANCE;TEST;PROD_806_BALANCE;TEST_FO;TEST_806_BALANCE;PROD_FO,APPLFSWD=/or
    acli2/oracle/testappl/admin;/oracli2/oracle/testcomn/temp;/oracli2/oracle/testco
    mn/html/oam/nonUix/launchMode/restricted' )
    In the APPLFSTT entry, should there be any mention of "PROD" ? Shouldnt this all be changed to TEST?
    Also, comparing this to the PROD listener, the order of APPLFSTT is different:
    TEST: APPLFSTT=
    TEST_BALANCE;TEST;PROD_806_BALANCE;TEST_FO;TEST_806_BALANCE
    PROD:APPLFSTT=
    PROD_806_BALANCE;PROD;PROD_BALANCE;PROD_FO,
    I have made a copy of our listener in TEst, so I can edit the existing one. Trouble is, not sure if I even should try to edit it!
    Any suggestions, much appreciated.
    Oracle 9.2.0. AIX 5.2.
    Notes covered in Metalink:
    274177.1
    303971.1
    304568.1
    263654.1

    Yes thanks for that. Metalink has informed me to do the same, basically.
    But I am in the middle of a cloning, so I will finish that then run autoconfig once again.
    I already ran Autoconfig on both source and target, so will do again once this process is over.
    Cheers.
    DA

  • Smart forms print control pop box (no required) when run report

    Dear All Expert Guru,
             how to control printing pop box when execute transaction code ,Report are make in smart form format
             because while run our report then come printing pop box  select out put device the will come report
                                             . but our user required no should be come printing pop box they are required when run report direct come report
       Pls help me any one.
    Thanks & Regars.
    Sudhir Srivsatava

    Hi,
       Pass the parameter no_dialog = 'X' while calling the smartform.
    data: wa_ctrlop type ssfctrlop.
       wa_ctrlop-no_dialog = 'X'.
    CALL FUNCTION fm_name
      EXPORTING
    *   ARCHIVE_INDEX              = ARCHIVE_INDEX
    *   ARCHIVE_INDEX_TAB          = ARCHIVE_INDEX_TAB
    *   ARCHIVE_PARAMETERS         = ARCHIVE_PARAMETERS
        CONTROL_PARAMETERS         =  wa_ctrlop
    *   MAIL_APPL_OBJ              = MAIL_APPL_OBJ
    *   MAIL_RECIPIENT             = MAIL_RECIPIENT
    *   MAIL_SENDER                = MAIL_SENDER
    *    OUTPUT_OPTIONS             = OUTPUT_OPTIONS
    *    USER_SETTINGS              = 'X'
    * IMPORTING
    *   DOCUMENT_OUTPUT_INFO       = DOCUMENT_OUTPUT_INFO
    *   JOB_OUTPUT_INFO            = JOB_OUTPUT_INFO
    *   JOB_OUTPUT_OPTIONS         = JOB_OUTPUT_OPTIONS
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
    Regards,
    Srini.

  • Accept user input

    Dear All,
    How do we accept user input in isql*plus in 9i? I am writing pl/sql code that requires user input but i get the message:
    SP2-0850: Command "accept" is not available in iSQL*Plus
    the figure you requested is:
    PL/SQL procedure successfully completed.

    Also you can use some commands at sqlplus to add/delete/append lines of sql buffer.
    append (a)
    insert (i)
    del (d)
    run (r)iline (l) nth line (1l or 2l ...)
    change c/<old value>/<new value>
    etc.,
    << Sample >>
    SRI>select * from bonus;
    ENAME JOB SAL COMM
    Sri DBA 1000 123
    Sam Sales 1022 10
    Elapsed: 00:00:00.00
    SRI>c/*/ename,job
    1* select ename,job from bonus
    SRI>r
    1* select ename,job from bonus
    ENAME JOB
    Sri DBA
    Sam Sales
    Elapsed: 00:00:00.01
    SRI>i
    2 where ename = 'Sri';
    ENAME JOB
    Sri DBA
    Elapsed: 00:00:00.01
    SRI>;
    1 select ename,job from bonus
    2* where ename = 'Sri'
    SRI>2
    2* where ename = 'Sri'
    SRI>DEL
    SRI>;
    1* select ename,job from bonus
    -Sri

  • HP M8300f fails to start, shuts down when running

    I have to frequently use system restore because it fails to start properly.      When running, it frequently shuts down (blue or black screen).    From what I have learned researching on the net, there is a known issue with the motherboard on this computer.   
    I purchased two HP laptops that have also failed before their time.    Apparently a known issue with overheating.    I wish I had known before I bought them.    They both failed a year ago.     Now the desktop is failing.   
    Thank you, HP, for your not-so fine quality control.     
    I will never again purchase an HP computer or device of any kind.     Ever.      Nor will I recommend them to any of the people in my circle of friends or at the Fortune 100 company where I work.    

    The same problem to me. In just over a year, mine started with these freezing problems. After many tries with customer support, none of which provided me with a clue I gave up.Then I found the motherboard's capacitors were kind of bulged. Bad quality boards I guess.

  • Accepting user input and executing a PL/SQL block using it

    Hi All,
    I am working on a requirement wherein I have to accept values from the user for the various arguments to be supplied to a PL/SQL block and then execute it using these values. For now, I am using the following logic:
    PROMPT Enter value for the Category
    ACCEPT cCategory CHAR PROMPT 'Category:'
    DECLARE
    cCategry CHAR(1) := '&cCategory';
    BEGIN
    DBMS_OUTPUT.PUT_LINE('The value of the Category as entered by you is' || cCategory);
    END;
    PROMPT Press y if you want to proceed with the current values, or press n if you want to re-enter the values
    ACCEPT cChoice CHAR Prompt 'Enter y or n:'
    DECLARE
    cCategry CHAR(1) := '&cCategory';
    sErrorCd VARCHAR2(256);
    sErrorDsc VARCHAR2(256);
    BEGIN
    IF '&cChoice' = 'y'
    THEN
    DBMS_OUTPUT.PUT_LINE('Starting with the process to execute the stored proc');
    --- schema1.package1.sp1(cCategry, sErrorCd, sErrorDsc);
    --- DBMS_OUTPUT.PUT_LINE('Error Code :' || sErrorCd);
    --- DBMS_OUTPUT.PUT_LINE(' Error Description :' || sErrorDsc);
    ELSIF '&cChoice' = 'n'
    THEN
    Now I want that the proc again start executing in the loop from the 1st line i.e. PROMPT Enter value for the Category. However i see that this is not possible to do that PROMPT statements and accepting user inputs execute only on the SQL prompt and not inside a PL/SQL block.
    Is there an alternate method to establish this?
    Thanks in advance.

    Hi,
    You can write a genric procedure to achive the desired output. Pass 'Y' or 'N' in the procedure.
    Call that procedure in simple pl/sql block during runtime using substituton operator.
    For ex
    create or replace procedure p1(category_in in varchar2)
    IS
    BEGIN
    if (category_in='Y')
    then
    prcdr1()
    /** Write your logic here ***/
    elsif(category_in='N') then
    prcdr2()
    /** write your logic here***/
    end if;
    exception
    /***write the exception logic ***/
    end p1;
    Begin
    p1('&cat');
    end;Regards,
    Achyut K
    Edited by: Achyut K on Aug 6, 2010 5:20 AM

  • Maxmize window when run Report builder 10gR2

    Thanks in advance to all,
    I have read of a post in which he treated maxmize window when run Report builder 10gR2, but I don't succeed in finding it. Can someone point out me the link?
    PS. I have already post on Form Forum

    Thanks for your reply.
    But i was speaking maxmize window of report builder application on WIN xp, because when i
    exe rwbuilder i always,have to maxmize window.
    I know that it is a fool problem, but if to someone it happens and he had resolved...
    Howevar thanks for your time

  • How to run report in web and pdf format

    hi all,
    i am using developer 9i.
    i can run the report in paper layout but i could not be able to run that report in web layout.
    i have no html backgroud so what modification i have to do in the web source?
    and how to run the report in pdf format.
    thanks
    Muhammad Nadeem
    03469307639

    hi
    you have run report in web than i help you
    you use script lung in you from miss and form eaxm asp script
    you have create report in char fromat
    and call report using script script to define report content all thing are long process if you need then i give you , but in pdf format i not tri it but it's easy
    i my project i have create report and to convert in to txt file and file are show in script in web

  • How to Deploy Forms on web and Run report in Web browser

    Hi all,
    I am wondering how to run forms from the web and run report on web .. can u pl. brief me out and tell any source if i can reach and study...

    You have to install Oracle Forms server and Oracle reports server. Download the documentation about these products from Forms
    OTN site.

Maybe you are looking for

  • How to free tcp/ip port in Mac OS X v10.6 Snow Leopard

    weeks ago i installed graboid on my imac and it's having trouble downloading files. this is what appears whenever i open graboid: +SABnzbd.py 0.4.6 failed to start.+ +The Graboid Download Manager needs a free tcp/ip port for its internal web service.

  • Javax.naming.LinkException: .  Root exception is javax.naming.NameNotFoundException

    Hi I have a startup class which needs to access a local entity bean. It used to work in weblogic 6.1, i am currently migrating to 8.1 and i get a Link Exception. I tried to make the startup class as a listener with in the application (EAR), it still

  • Formatting external HD for older computer

    I had a PC formatted hard drive that I reformatted for Macintosh, to give to a friend of mine. She has an older mac than I. I have a macbook 10.5.6, and she has a G3 laptop with 10.2 (I think it's 10.2, but it could be 10.3). It is a small hard drive

  • Simultaneous updation of View and calculation

    Hello, I need to procees huge data, and update it to a table. row by row. since all the updation takes a large amount of time, I am planning to update date after a certain calculation is done, (The updation is to a JTable) but the view is getting upd

  • Activate change point for message type - message type FIDCC1 not in list

    I want to set up idoc for sending entire FI documents. For this I want to use the change points in the message type FIDCC1 but this message type is not in the list of transaction BD50 (neither if I go via SALE) I'm not allowed to add it myself, I get