Crystal Reports URL Reporting Parameter promptOnRefresh in JSP

I'm trying to run crystal reports from a JSP file that redirects using a URL string, but the promptOnRefresh=0 parameter that I pass doesn't seem to be preventing the report from prompting for parameters when the report viewer refresh button is hit.
I'm running BO Enterprise 3.1. In Infoview, all of my report URLs forward their report IDs to a JSP page, (z_dw.jsp), which reads the infoview cookie for a logon token, and creates an IEnterpriseSession to get an enterprise token and the user's info. The JSP then redirects to view the desired report using the URL pattern below:
http://<server>:<port>/CrystalReports/viewrpt.cwr?id=<reportID>&apstoken=<enterpriseToken>&promptex0="<username>"&promptOnRefresh=0
The actual Java code to construct this URL is below:
String redirectStr = "http://<server>:<port>/CrystalReports/viewrpt.cwr?id=" + request.getParameter("rpt")
  + "&apstoken=" + enterpriseToken
  + "&promptex0=\"en" + userName + "\""
  + "&promptOnRefresh=0";
This forwards to the desired report and prompts for needed parameters correctly. Unfortunately, if the report is refreshed using the report viewer refresh button, all of the parameters are promted for including the reportID, which our users wouldn't know. In the xi3-1_url_reporting_opendocument_en(2010).pdf guide, it mentions that the 'promptOnRefresh' parameter can be set to 0 to prevent this from happening, however it didn't seem to work in my case.
If anyone can advise me on how to fix this problem or how to disable the report viewer refresh button through a URL string, I would be very grateful.

This turned out to be a valid bug, and the SAP Design Team fixed it in Fix pack 2.6 for BOXI 3.1 in response to this issue. If you encounter something similar, just upgrade to the latest fix pack and this problem should be taken care of.

Similar Messages

  • Open Doc URL with parameter in BI 4.0 to open Webi and Crystal report

    Hi Experts ,
    Has any one experienced the open doc URL to open the report and to pass the parameter to the new report .
    I am well aware of the syntax of passing the parameter and use to work perfectly fine with XI 3.1 but its giving me griefs in BI 4.0 environment .
    In the new report i am just trying to pass the Fiscal year as a parameter with the url i can open the report but it does not accept the value being passed with the url so i have to renter the values again .
    I am using BO 4.0 SP2 Patch 6 and trying to intact with crystal and webi report   built on top of BEx query with the fiscal year parameter defined in BEx query level .
    Any comment on this will be appreciated.
    Thanks,
    Vibhav

    Hi Nakul,
    I am not using the user response to get the value i tested it in Crystal Enterprise environment i tired passing the following syntax
    http://.../OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=...&lsSFiscal%Year%(Single%Value%Entry,%Required)={?0P_FYEAR}
    {?0P_FYEAR}  this is a variable comming form BEx query into Crystal i tired to use it and pass it to other report but i cannot pass it i have tried to pass the hardcoded value still i see the paramater screen and have to enter the value again.
    I am not sure if anyone has tested this functionality in BI 4.0 environment .
    Thanks,
    Vibhav

  • Calling a JSP Report From HTML parameter form

    Hi,
    I m trying to run a JSP Report from a HTML parameter Form. The JSP reports requires a parameter named userid in the URL with a valid value for database connection.
    eg. URL "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?userid=sysapps/system@trt1". We have created a variable on the server named "parmformjsp" with a value "sysapps/system@trt1". Now i use this variable in the URL as follows, eg. "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?parmformjsp".
    When i use this URL to call another JSP report from a JSP report it works fine, but the same does not work when calling a JSP report from a HTML form.
    the code for HTML parameter form calling a report is as follows,
    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Parameter Form</title>
    </head>
    <body>
    <p>Parameter Form</p>
    <form name="form1" method="GET"
    action="http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_custrns.jsp?parmformjsp">
    <p>From Date<input type="text" name="p_fmdate" size="20"></p>
    <p>To Date<input type="text" name="p_todate" size="20"></p>
    <p> </p>
    <p><input type="submit" ><input type="reset" value="Reset" name="B2"></p>
    </form>
    <p> </p>
    </body>
    </html>
    If i create an input parameter named "userid" with a valid database connection value, remove the ?parmformjsp part from the action URL then it works fine. How can i call the JSP report using the parmformjsp variable name instead of using the "userid" clause in the URL.Can anyone suggest any workaround....
    Thanks & Best Regards,
    Unmesh

    do it like this...
    DECLARE
    pl_id ParamList := Get_Parameter_List('tmpdata');
    BEGIN
    IF NOT Id_Null(pl_id) THEN
      Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'ROUTE_CARD_CONTROL', TEXT_PARAMETER, :ROUTE_CARD.ROUTE_CARD_CONTROL);
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Run_Product(REPORTS, 'D:\STL_FINAL\CHPREPORTS_FINAL\ROUTE_CARD.REP', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    END; what exactly happens when you call the report. if its showing the blank page... may be you are not passing the right parameter name. cross-check that your parameter name in the report is 'ROUTE_CARD_CONTROL'.

  • Building a JSP-based Web Report with a Parameter Form

    Hi,
    I tried in building a report as shown in the example in OTN under reports in the url
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/ParameterFormJSP/index.html
    i.e for Building a JSP-based Web Report with a Parameter Form. The directions in this document were not clear and if any one document which is clear with instruction will be useful to me. In this example it is shown with search criteria with sigle text box and if any one had idea & code to place an combo box and population of the record group in the combo box.
    Thank you in advance.

    hi,
    we will be releasing a new example w.r.t creating a parameter form using the reports JSP within the next month.
    as for your request for a combo box. this widget is not available via regular HTML form elements. you can either have a select list or dropdown list.
    for a regular select list you would use the following (only pseudo-code)
    <select ...>
    <rw:foreach>
    <option value="<rw:field .../>">
    </rw:foreach>
    </select>
    to populate a select list.
    regards,
    philipp

  • URL Reporting Time parameter value.

    We have installed Business objects XIR2 and one of our application uses URL reporting to call a crystal report. Parameter values are retrieved from the database and used in the url.  Reports that do not have a time parameter works fine.  Even though I pass the time parameter value Im still prompted for the value.  The format of the url I use is http://hostname/businessobjects/viewrpt.cwr?init=dhtml&apstoken=<token>&prompt0=02:02:20&prompt1=LOCCODE
    where prompt0 is of type par_time.  Could someone please help me with the correct format to use for parameter type time?

    Ted, I checked the prompt order and the prompt type and they are correct.  These reports are working fine on Crystal 9.  Also reports that do not have a time parameter works fine in Crystal 11. Its only when reports with time parameter are called Im prompted for a value to be entered in hh:mm:ss format although I tried passing the value in hh:mm:ss format and Time(hh, mm, ss) format in the url.  The report comes up fine after entering the value in hh:mm:ss value in the prompt.  I tried encoding the url but it didnt work.  If I encode the entire url Crystal prompts me to enter values for all parameters.

  • Crystal Report not taking parameter propery

    Hi,
    I am facing a unique issue in reports.The report is not taking the parameter entered by the user instead it is taking the value which was used for testing the report initially.
    Save data with report in uncheked.
    The report is shwing correct data on CMS and with designer also.
    The problem arises when report is viewed java based web application.
    I am usng Crystal Reports XI and Business Objects 12 CMS.
    Regards,
    Misra P.

    Hi,
    what does single time mean? Only the first time when you start the report from your code and the second time it is like before? You may need to empty the report's parameters before giving new ones... If I could see the relevant part of your code, I could give a hint. There are also lots of samples hwo to paramterize a report from java code, which usually work fine...
    There is also an option in the crystal reports designer to keep parameter values as they were set in the CMC when saving a report to BOE...
    Regards,
    Harald

  • How to pass multiple values to a single parameter in BW report URL

    Hi Experts,
    I am new to EP and learning .... i am stuck at one point where we need to pass multiple parameters to a BW report URL, this is the URL that we launch from BSP.... Suppose i have to pass different multiple values to a single parameter, how to do it....
    i m getting many answers to pass parameters to iviews, reports, but not specific to my case.. can u plz help me....
    Thanks in advance
    Priya Rai

    What is the prolem you are facing if you split the single date param as two parameters say startdate and enddate?
    If you pass as single string then you might have to split the same at reciever end.
    Are you trying any thing specific?

  • Hyperlinking results of a crystal report to a parameter in another rpt.

    We have a requirement  to hyperlink the result values of a field in a crystal report to a parameter in another report that returns the details of that value. Example below:
    Rpt 1. Field:                                   Country
    Values:(as hyperlinks)                     USA
                                                         Germany
                                                         France
    So when a user clicks on the hyperlink "USA", report number two containing details for USA opens up like the example below:
    USA,                  Population,          etc...etc....
    North America     350M  
    The user should not be prompted to enter any parameters in the second report as it is expected to be parsed this from clicking on the value in the first report. The values in the first report are in a group section "country".  We are using Crystal 2008 on a BW query.
    Thanks for your help.

    Hi,
    Create a sub report which contains country wise informaiton and insert this report in your group footer.  Now right click on your sub report and go in change sub report links and link your sub reportcountry parameter with your main report country  parameter.
    Now it will pass your opendoc parameter value to your sub report parameter and will display results without entring once again coutnry parameter for your sub report.
    Thanks,
    Sastry.

  • Parameter of BI-Report URL

    Hi,
    now I have a BI-report ID:   0TPLB_0CSALMC02_Q009_V01
    I need to add this Report into the webgui of CRM-2007. For this purpose, in CRM 2007 we need to specify the paramters of the BI-report-URL. But I have no idea , how to know which parameter we shall use here.
    I have looked through the document "Web API Reference" , but it can not tell me, which BI-report needs which parameters.
    Thanks a lot
    ss

    Here is an example code for this badi implementation:
    METHOD if_ex_bsp_dlc_fs~get_bi_rep_parameter.
      DATA: lr_bol_entity TYPE REF TO cl_crm_bol_entity,
            lr_value_node TYPE REF TO cl_bsp_wd_value_node,
            lr_collection TYPE REF TO if_bol_bo_col,
            lv_repid TYPE string.
    **this is only a example
      TRY.
          lr_bol_entity ?= iv_data_collection->get_first( ).
          lr_value_node ?= iv_data_collection->get_next( ).
          IF lr_value_node IS BOUND AND lr_bol_entity IS BOUND.
            lv_repid = lr_value_node->get_property_as_string( 'REPID' ).
            IF lv_repid = 'SAMPLE7'.
              REPLACE '&1' IN cv_addparameter WITH '0CRM_SOLDTO'.
              REPLACE '&2' IN cv_addparameter WITH '156'.
            ENDIF.
          ENDIF.
        CATCH cx_sy_move_cast_error.
      ENDTRY.
    ENDMETHOD.

  • Parameter for BI-report-URL

    Hi,
    I need embed a BI Report in a factsheet of CRM 2007. I have absolute no idea about BI. So, now I have a stupid question.
    Given  a BI-report-ID ,e.g.
      0TPLB_0CSALMC02_Q009_V01, but it is still necessary to fill out the so called parameters for BI-Report-URL.  How can I know, which parameters are to be passed? Where can I find the parameter?
    Thanks in advance
    yy

    Hello Holger,
    it is a pretty good hint. thanks  and point awarded!
    I looked through the web API reference, mentioned in IMG guide .  But I have still the question:
    Does a BI report accept only specific parameters ? just like a method , function ....
    I mean, whether there is a table, where all corresponding parameter are listet for each BI-report ID .
    Additionally,
    Where are some specific parameter names declared? For example  "0Country". How can I know, that the "0Country" refers  exactly to  country, instead of other concepts. 
    Thanks a lot
    Siwei

  • URL reporting - suppress grouptree display in Activex viewer

    Hi,
    We are running BOXI R3, using URL reporting to launch reports after a user has logged into Business objects in our app using the Java SDK to select reports, set parameters, etc.
    We have been using the Dhtml viewer as the default, but want to move to using the ActiveX viewer as the default instead.
    How can the default behaviour of the Activex grouptree display be changed, in order to not show the grouptree when a report is opened?
    We were able to modify the Dhtml viewer behavior to suppress the groupTree, but it is not clear how to do this with the Activex viewer, either by URL parameters or the htmlviewerbridge web.xml settings, or .jsp code.

    Post Author: gouldjw
    CA Forum: Publishing
    Still haven't figured this one out, so any help would be greatly appreciated.  Is it not possible to use the ActiveX viewer without CR Server or BOE?  It appears to be a feature of Crystal Reports Developer Ed., but I can't figure out how to actually view a report using the viewer.  All I can do is display in DHTML, but for 10+ MB reports, this doesn't work well because the report reloads at every click.
    Also, what is up with the repository requiring BOE?  Can I no longer share pre-built command objects without the server software?

  • Passing parameters to the SQL Report from a text box in jsp

    Hi All,
    I want to dynamically generate the SQL Server Reporting Services by passing the query parameter from the url like this :
    "http://localhost/Reports/Pages/Report.aspx?ItemPath=%2fDashboardReports%2fHorse_Profile&rs:Command=Render&rs:HorseID=117415"
    Where horseid id my parameter which is needed by report to generate the required data.
    This query paramter value is picked from the text box on my jsp page.
    But my problem is when i go to this url it says the message
    "The 'HorseID' parameter is missing a value ".
    I have done a lot of search on this topic. Everybody says that we can pass the values from the url like i am using. But still its not working.
    Any body has any idea please give me some idea.
    Regards.

    If you receive a picture via email or text message in ios 7 and when you press the action icon to save the picture and you do not get the option to save to your camera roll. Press and hold on the the image and you will get an overlay pop up to save the image. I have no idea why some attachments don't have option in action menu to save in the camera roll but by experimentation and earned frustration I found the above to work in certain situations.
    Be well and have fun and feel rewarded in your frustrations. For without challenges, life would be an utter bore.

  • Report with user parameter is not runnig

    Hi
    I have created the report with user parameter p_deptno and qyery"select * from emp where depno=:p_deptno";
    when i run the report in paper layout a popup kind page will open and ask us to enter the deptno and based on input parameter it fetches record in report.
    if i tried the same thing with url :http://localhost:portno/reports/rwservlet?destype=cache&desformat=pdf&report=emp.jsp&userid=scott/tiger@orcl
    the parameter window not opening and and blank report will open with coloumn headings.
    help me to solve the problem.
    i am using devsuite oracle10g release 2 on linux(OEL4).

    Hello,
    You have to provide the parameter in the URL :
    For example :
    http://localhost:portno/reports/rwservlet?destype=cache&desformat=pdf&report=emp.jsp&userid=scott/tiger@orcl&p_deptno=10
    or use the Web parameter Form :
    http://localhost:portno/reports/rwservlet?destype=cache&desformat=pdf&report=emp.jsp&userid=scott/tiger@orcl&paramform=true
    Regards

  • Query engine failed error for crytal report refreshing to new params in jsp

    Using licensed weblogic 8.1 server in production mode. Weblogic workhsop has inetegrated supprot for crystal reports 9. Using standalone report & accessing sql server through odbc, i got result for different parameters passed.
              Problem Area : Passing parameter to have specific report causes unexpected query engine failed error in com.crystaldecisions.report.web.viewer.CrystalViewer class. If viewer.refresh method is commented, then static (already saved) report is displayed through jsp. But using viewer.refresh method for dynamic report genertaion for new parameters through jsp gives above error.

    Hello
              I'm experiencing the same problem. Please let me know if you've any solution.

  • QSUF (Query string url filter) and SQL Server reporting services report viewer parameters

    Hi,
    this is my issue:
    I have a SQL Server reporting services web part on a page with a report with 1 parameter, lets say it's a client list
    Then i have a QSUF that will be used to filter the clients list through the URL
    However, once i connect the filter and the report viewer web part, the parameter goes away and is no longer accessible
    I'd like to somehow keep the parameter visible, in case there is no parameter sent through the URL, i would like the user to be able to choose a client from the parameter drop down list
    I saw that there is a "send empty if no values are passed" option, but i can't seem to get this working properly and i don't know if this option will make the parameter visible again
    Any help would be appreciated
    Thanks.

    Hi,
    According to your post, my understanding is that the query string url filter web part not worked well with SQL server reproting services web part.
    Did you use the Wiki page layout in your environment?
    You can change the page to a web part page, then check whether it work.
    There is a similar thread for your reference.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/4d7584e3-8e1a-48bf-9346-32f8cb480dd1/query-string-url-filter-web-part?forum=sharepointgeneralprevious
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • Using PNP logical database in report

    Hi i'm using the PNP logical database in my report, and i want to hide all fields in the 'Period' frame. is there any way to do it automatically or is it necessary to hide them one by one?? Thanks in advance.

  • Update bootcamp on macbook pro 15 mid 2010

    Hy there, my friend has a macbook pro 15inch mid 2010 with OS X 10.8.2 and he wants to install windows 7  from an image. There is bootcamp 5.0.0 installed. Isn´t it possible to create a bootable windows 7 usb stick with bootcamp? I didn´t found an up

  • Thunderbolt to TV issues

    I have a macbook pro mid 2011 and Im having trouble with the thunderbolt to hdmi connection. I have a Lg tv and when connecting the hdmi the tv screen flickers and I lose audio for about 3 seconds. This happens about every 10 seconds. I assumed it wa

  • Picture Doesn't Come-in on Most Channels

    Hi, I'm hoping someone can help. I've had picture not showing up issue for over 1.5 months now. The occurance is random on random channles but today majority of the channels don't show up. I've spent hours w/ tech support between holds and doing what

  • Banshee won't play MP3s [SOLVED]

    Hi everyone, Banshee won't play MP3s which are playable in VLC, Amarok and the Firefox and Chomium when opened directly. When i attempt to play an MP3 it skips next track until it reaches the bottom of the list. I would love to simply use Banshee sin