Refresh Prompt Values

Hi, I'm using Crystal reports XI and when I refresh a report, the system will prompt for new values. If the value is a calendar date and I chose the calendar to pick the date, Windows Vista generates a close error and kicks out of Crystal. If I type the date in without using the calendar, everything is Ok. Does anyone have any idea why this is happening? Thanks Roger

It might be a possibility that the prompting folder has got corrupted.This is a typical (and known) issue with the date picker(calender) in the parameter window.
if you have some other machine on which CR is installed and this functionality is working fine there,then replace this prompting folder on your machine with the one where its working fine.
Thanks !

Similar Messages

  • Need to clear last selected prompt values while refreshing webi report

    While using ALL within cascading prompts its  still showing the last prompt values selected  in infoview and not while editing and trying to run webi reports.
    Is there any way to clear this?
    I have implemented following options to resolve but did not work
    1) Delete the .lov files of universe.                                                                               
    2) Delete the contents in data folder by going into storage directory
    3) Implemented the non_persistent concept in prompts
    Code is as follows for the filter with in universe
    @Select(Customised LOV\State) = @Prompt('Select State','A','Customised LOV\State',mono,free,Not_Persistent,,)
    or
    'ALL' = @Prompt('Select State','A','Customised LOV\State',mono,free,Not_Persistent,,)

    Hi,
    In Web Intelligence, the Query Filter Condition consists of 3 parts:
    - Object on which condition is applied
    - Operator (=,<,>,matches pattern, etc)
    - Operands (constant, LIst of Values, etc)
    You will find a button with a "?" sign which is also called as Prompt properties. When you click on this button, a new window will open and in this you have an option for "Keep last values selected" which is checked by default.
    Uncheck this check box --> Click OK. Run the report and save --> Relaunch InfoView to avoid any caching problems.
    Hope this works for you
    Sheeba

  • Save Prompt Value on report closing

    Hi,
    we are facing a problem with some users.
    They are not (and must not be) allowed to modify reports in a public folder.
    They are only allowed to refresh the reports, updating some prompts value.
    We wish to let them save the new inserted prompt's value automatically every time they close the reports.
    Is it possible, without giving them the rights for modifying reports and not force them to click on save button?
    Thanks in advance.
    Lorenzo

    A workaround is to grant the users the "Edit objects" right in the public folder the reports reside in  but then deny all editor functionalities under Applications->Web Intelligence->Advanced rights. Please keep in mind that this way the users will NOT be able to really edit any web intelligence reports (regardless of the folder the report resides in)
    Regards,
    Stratos

  • Passing prompt value to a LiveOffice document

    Hi all,
    I've SAP BW Query as the data source having two prompts of one which is date, and I built a LiveOffice document connecting a WebI report. The prompt values in LiveOffice document are displayed as for ex : comp code : 2000 [0COMPCODE].[2000] and date as 10/0320 [0CALMONTH].[032010]. In case of Comp code I'm passing only 2000 removing the rest of the text and it works fine, but whereas when I modified date prompt in LO document like Comp code its throwing an error while refreshing.
    Getdocument Information Exception (Error  WIS : 10901). In details I can see that date is being passed 32010 instead of 032010 even though I tried to change the format of that particular cell.
    Any solution to this problem ?
    Thanks

    Hi Fred,
    The date format in BEX Query is mmyyyy and I'm trying to pass the same in LO but its going as myyyy, for ex : 032010 is passed as 32010.

  • Setting a Prompt value for KeyDate in WebI on SAP OLAP universe

    I have a webi report which has as its dataprovider a query against an SAP olap universe against a BEx query which has the KeyDate parameter exposed.
    Iu2019d like to get at this prompt from the SDK.
    In infoview if I run the report it pulls up the keydate prompt (a special dialogue which seems to be implemented as part of the connection definition) - this prior to pulling up the full prompts dialogue and showing all universe based @prompt filters.  In WebI I can see the prompt value entered using =UserResponse("dp.kd.value") .   So it does seem to see the keydate as a prompt of some sorts.
    I've got a little jsp that allows me to set prompts very nicely (and packeaged as a jar in the CMC that schedules ok as well) but when I put it against a report with a key date u201Cpromptu201D it just wonu2019t see it.  When I call a getCount() as below it returns 0.
    oDocumentInstance.getDataProviders().generateQueries();     
    Prompts oPrompts = oDocumentInstance.getPrompts();
    out.print(oPrompts.getCount());
    This is all in an attempt to get around the scheduler limitations of key date which would give me two queries, two universes and two reportsu2026 one report for scheduling (using a customer exit to set key date) and a second for user refresh  (with a prompted key date)  which would all be rather messey to say the least!
    So any cunning ideas on how I can get hold of this key date thingymebob in the SDK?
    (ps. "Fixed in V4" would be nice to hear as an aside to thisu2026 In playing with the ramp up Iu2019ve got the same issues however so Iu2019m not to hopefull )
    Thanks!
    Jeremy.

    Hi,
    First I think you have to create a support ticket because normally the object in the universe must be generated with data data type nad it is not the case.
    We are awere of some limitations with data types.
    Secondly, if you want to have users entering date you have to specify date in the prompt data type like this:
    <OPTIONAL><FILTER KEY="[PERIOD SD].[DB Full Date].[DB Full Date]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT CAPTION="@Prompt('Enter Date ','D',,mono,free)"></CONSTANT></CONDITION></FILTER></OPTIONAL>
    Regards
    Didier

  • Default prompt values in webI report???

    I am using BO XI 3.1 on BW universe, I have a prompt A in the prompt window which has many Lov's but user will freequently use only three values out of it.
    So I want to make those three values to be default for that promp A when ever the report gets refreshed, so that it will be easy for user not to search in the big list for those 3 values.
    Any inputs please.
    Thanks,

    Hi,
    You can make some values as default prompt values by webi report.
    1) Open the webi report.
    2) Edit the query then go to the prompt
    3) Go to the prompt properties checked the chekcbox "Set default values" and type the three values and ok.
    So next time user refresh the report all three values come in the filter  default.They can remove or add more values in the list.but every time all values come in the filter.
    Thanks,
    Amit

  • Optional prompt value to be set from java bo sdk

    hi
    i am trying to refresh a report which has 4 prompts
    2 of them are mandatory and 2 of them are optional.
    Please find the code below
    Prompts prompts = di.getPrompts();
               if(prompts != null){
                       promptCount = prompts.getCount();
                     for(itemCount = 0; itemCount < 4; itemCount++) {
                       prompt = prompts.getItem(itemCount);
                       String paramValue = null;
                         if(promptName != null) {
                       if("Billing Period Prompt".equalsIgnoreCase(promptName)){
                            paramValue = billingPeriod;
                       }else if("Fleet Number Prompt".equalsIgnoreCase(promptName)){
                            paramValue = fleetNo;
                       if(paramValue != null){
                            String paramValArr[] = {paramValue};
                            System.out.println("paramValue "+paramValue);
                            prompt.enterValues(paramValArr);
                       }else{
                            paramValue = "null";
                            String paramValArr[] = {paramValue};
                            prompt.enterValues(paramValArr);
                     di.setPrompts();
                     di.refresh();
    initially, am trying to get all prompts and setting up values for the mandata prompts only. but i did not get any report
    then i tried to give some default value to optional parameters also by giving "ALL", "all","*", "null
    ,"NULL","*"
    stil it is not working
    please tell me what should i

    First I'd read the ReportEngine SDK Developer Guide.
    Then I'd try calling refresh() first, then setting prompts after that.
    The refresh method you can interpret as 'reset the document state such that new prompt values may be applied'.
    Sincerely,
    Ted Ueda

  • Publication and Prompt values

    Hi,
    I am on customer site with BOE XI 3.1 FP 1.6. We are creating publications with a WebI source report. The WebI report has a series of prompts. Eg. posting period. The publication is pushed to 2 groups of reciepients. Each group has a different profile value. The WebI report has been last saved with posting period = 5. When I schedule the publication, I change the posting period to 3.
    2 instances were generated for the 2 profile values. When I open the 1st instance - it shows me data for posting period 3 - which is correct. However, the 2nd instance shows me data for posting period 3. It seems like the prompt value at the time of scheduling did not get picked up for the 2nd instance.
    Has anyone came across this problem?
    Thanks in advance.
    Regards,
    Cindy.

    Hi Cindy,
    We came across the same problem.  We have a publication for a certain group, that has to be split on the section (normal publication).
    The publication has to run on different times for a different value.   Originally the webi report has run for a value product=1, which is selected with a prompt. When we change the prompt value in the publication (product=2) the original value is still selected in the publication or the result set is empty.
    We have however discovered that when you first open the Webi report, refresh it with the new prompt value, save the report and then change the prompt in the publication the report is correctly refreshed.  This is a workaround we currently use, but it is not very convenient.  We are looking for a solution for this problem.
    Regards,
    Jorn

  • How to refresh bean value in advanced table from vo/database value in PR.

    Hi,
    I have requirement in which I have two OAF pages. First is the base page and second is popup page. Base page displays some values in table with messagetextinput. When user clicks button on the base page it is calling popup page. Now user changes value (Messagetextinout) in popup page and submits the popup page (which also closes popup page). Submit request in popup page does some calculation and also changes value of base page VO. But when control goes back to the base page, base page messagetestinput bean does not get changed even though VO is changed by submit request in popup page.
    Note: Popup page is closed using java script with following code.
    window.opener.submitForm('DefaultFormName'); // Submits base page to refresh the values in base page
    window.close(); // Closes popup page

    Thanks for the prompt reply.
    On base page, in advance table I am having a column called Value, it is either text field or LOV item based on the value of a list item called field type located in same advanced table, if value of the field type is FIELD we are displaying LOV else we are displaying text box. User can enter 4000 characters long value in Value column when field type value is not FIELD. Length of the Value text box in advanced table is limited so we have provided a link so that user can open the modal dialog box with the default value as base page's value column's value.
    We have set the destination URI property of the link on base page to open modal dialog box:
    javascript:var a = window.open('OA.jsp?page=/cummins/oracle/apps/perc/perc4681/g2config/webui/perc4681ValueModalDialogPG&retainAM=Y&pDetailSeqNo={@G2DetailSeqNo}','a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    We have developed a page for modal dialog box, on PR of this page we are calling following method of AM to populate the default value.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] params;
    params = new Serializable[] {pageContext.getParameter("pDetailSeqNo")};
    OAMessageTextInputBean value = (OAMessageTextInputBean) webBean.findChildRecursive("value");
    value.setValue(pageContext,(String)am.invokeMethod("getPopupValue",params));
    public String getPopupValue(String pSeqNumber)
    Perc4681G2DetailVOImpl vo1 = getPerc4681G2DetailVO1();
    Row[] r1 = vo1.getFilteredRows("G2DetailSeqNo",pSeqNumber);
    vo1.setCurrentRow(r1[0]);
    Perc4681G2DetailVORowImpl row = (Perc4681G2DetailVORowImpl) vo1.getCurrentRow();
    return (String)row.getAttribute("Value");
    On modal dialog box we have a button (it is not submit button) called done, we have set destination uri property of the button as below:
    javascript:opener.submitForm('DefaultFormName',1,{'XXX':'abc','Value':document.getElementById('value').value});window.close();
    we are sending the value entered in dialog box as parameter to base page.
    We have called below procedure of AM on PR of base page
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    Serializable[] params;
    OAPageLayoutBean oapagelayoutbean = pageContext.getPageLayoutBean();
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (!pageContext.isBackNavigationFired(false))
    some code
    else
    if((("abc").equals(pageContext.getParameter("XXX"))))
    String pop_up_attr_value= pageContext.getParameter("Value");
    params = new Serializable[] {pop_up_attr_value};
    am.invokeMethod("setPopupValue",params);
    enableDisable(webBean, pageContext);
    else if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "G2DetailCreateTxn", true))
    OADialogPage dialogPage = new OADialogPage(STATE_LOSS_ERROR);
    pageContext.redirectToDialogPage(dialogPage);
    else if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "G2DetailUpdateTxn", true))
    OADialogPage dialogPage = new OADialogPage(STATE_LOSS_ERROR);
    pageContext.redirectToDialogPage(dialogPage);
    public void setPopupValue(String pVal)
    Perc4681G2DetailVOImpl vo1 = getPerc4681G2DetailVO1();
    Perc4681G2DetailVORowImpl row = (Perc4681G2DetailVORowImpl) vo1.getCurrentRow();
    row.setAttribute("Value",pVal);
    Everything mentioned above is working as expected whereas I am not able to see the value ented in modal dialog window in value column of base page.
    Value is getting set in VO but it is not getting reflected in page.
    Could you please let me know where I am going wrong.
    Thanks in advance.

  • Web Service prompt value

    Hi
    i creates a web service through rich client BI services
    i imported it to Xcelsius
    in the input values i have a prompt value which is durected to a specific cell
    this cell is updated from an input value or a flash variable or just typing it
    the problem is that the web service refreshed on load or activated by a connection button does not take the value for the prompt
    what am doing wrong ?
    10x

    Hello,
    We have a known issue with prompts in BI Services XI 3.1 SP2 that prevents input values to be correctly matched with query prompts during BI Service runtime / consumption, when prompt labels (names) include special characters (like spaces, dash, question marks, etc. that are escaped with underscores '_').
    Besides avoiding to expose prompts in BI Services, workaround is to simplify query prompt names in WebI document query so they do not include any special characters.
    Fix for this issue will be delivered with FP2 (XI 3.1 SP2.2).
    Hope that helps,
    David.

  • WebI showing random value from give prompt value

    Dear All,
    I have made an universe on top of SAP BW Query.
    I have designed webI report on top of that. In that I have "Fiscal Year.Period" as Interval Prompt in WebI not in BW Query and I can't put prompt in BW Query because based on same universe i have other report as well.
    I have user cross-tab in Report and in column section I have "Fiscal Year.period".
    Now the issue is, when I refresh document, it is asking me to enter From & To Period. I am giving input as example 001.2010 to 012.2010 then it should show me values between 001.2010 to 012.2010 only but instead it is giving me values for 2011, 2007 year as well.
    Does anyone have idea why it is happening ?
    As per my analysis, during prompt value LOV is by default sorted in Asscending order :
    1)V3/001.2010
    2)V3/001.2011
    etc.
    I really appreciate your quick input on this.
    Regards,
    Rishit

    hi ,,
    I have tried and understand your scenario....the data thing it having issue with bo .....but resolved by using this notes......
    1494404 - Using Webi query filters based on dates using "Greater than" and "Less than" and "between" does not work properly when based on SAP BEx.
    Try this and give the feed back......

  • Undo drills and view prompt values warning message on a dashboard page

    Hi ,
    I have created a dashboard with a single page containing two sections. In first section i am having a prompted report for region and a Region Dashboard prompt ,
    in second section i am having two prompted reports for region , i mean region dashboard prompt drives all other reports in that page. When ever I select a region from the dashboard prompt i am seeing message on Dashboard page as **"_Undo drills and view prompt values_"**
    If any one having the solution let me know in detail,How to overcome this.......

    Hello,
    This issue is caused by having saved prompt value in the analysis.
    Check if there is a staticMemberGroup tag present in your analysis XML (edit the analysis and go to Advanced tab to see the XML). Within the staticMemberGroup element will be your saved value.
    How to fix this:
    Remove the column from the prompt section of the analysis. You can move it to excluded columns or remove it from the report completely. Purpose of this is to get the analysis refreshed so we get new XML without the saved value.
    After the analysis is refreshed you can put the column back to the prompts section and save.
    Check the XML again and make sure that staticMemberGroup element is not present.
    The important thing here is not to choose any value in your prompt while you are in edit mode before you save the analysis. This is how a static value gets saved in the XML.
    Regards,
    N

  • "Purge Previous Prompt Values" isn't working

    We are running BO XIr2 SP4 on MS Windows servers, SQL2005 databases, and XP desktops. I am familiar with purging data and clicking the checkbox to purge the last-used prompt values. This works most of the time but for at least one WEBI report I am unable to purge the last-used prompt values. Is there a trick to this, or a "gotcha"?

    My issue has to do with the process of purging the data that has been generated by a report and purging the answers to the prompts prior to saving the report. The current version of the report has retained some answers to the prompt that have served as defaults; we want to remove all these defaults. Normally to do so I open the report (which refreshes on open) in the WEBI editor, purge the report data, answer "yes" to the "purge last-used prompt values?" question, and then save the report. For most reports this will "clear" the default prompt values, but for at least one report this does not work and some of the default prompt values are still displayed when the report refreshes on open.

  • Passing dynamic prompt values.

    Hello,
    I have around 250 Webi reports that i need to schedule to run on a monthly basis, and using the scheduled month/year as prompt value.
    What is the best way i can accomplish this?
    If i set an individual report to run recurrently every month, it will always use the prompt's default values or the values i set manually at the CMC, but that doesnt work for me because i need the prompts to be different each time they run..
    I cant use the magic date solution because 99% of the reports use UserResponse() for year and month on table headers and similar.
    Is this possible with coding? Can i code a script and schedule it to run every month, that will run through my list of reports to pass them the correct prompt and refresh them?
    What is the recommended way to achieve something like this?
    I already have a VB script that schedules an individual report to run immediatly, but i cant pass the prompts..
    Thank you for your patience

    Hi Oscar,
    I have attached a JSP file (renamed to .txt) with the code i used to fill the prompts dynamically with date variables (year, month, full date, etc).
    You will need some libs. You should copy another web application deployed on the bo server tomcat and use that folder or read the SDK manual for the exact necessary libs - sorry, I have read this list somewhere but i cant remember where.
    This code is not exactly great, far from it, but it has some comments and should give you a helpful start. I wish I had this when i needed it.
    You need to know a bit of java to understand it.
    After you have this working you just need to call the JSP to schedule the reports. We used a vbscript scheduled on the Windows Task Scheduler to call this every month. Each JSP schedules an entire folder full of reports.
    Cheers, and good luck.
    Fernando

  • XML Publicher Report Output without Prompt Value

    Hello,
    I've one report(XML Publisher) which prints various data from PS_JOB,PS_PERSONAL_DATA and some other Performance tables.
    The Prompt Values are from a dynamic view which shows the Subordinate employees(emplids and names) of the login employee.
    The base query view i created has all the information of all active employees from all Business Unit. Now when i select when employee from prompt table the output values for that particular employee and is ok. But when i don't select anything(no table edit), it is not showing the output of my subordinates but for all the employee. That is Right because i've base report view is for all employees.
    Is there any way that if i dont select anything from prompt values i'll get only output of my subordinates only?
    Regards!

    Thanks. I did try that before but the view didn't build but i don't how today the view built successfully.
    But when i tried to run the query with a normal user who's having subordinate the excel output is still blank.
    One more thing, when i checked Resolve Meta SQL in Application designer, the %oprclause doesn't resolve to PS.
    below is my complete query..with subqeury for finding current user..
    SELECT A.emplid,
           A.Name_Display,
           K.descr,
           T4.effdt join_date,
           D.grade,
           G.descr Dept,
           D.effdt Last_prom_dt,
           period_begin_dt,
           AA.EMPLID MGR_ID_VW,
           AA.NAME_DISPLAY NAME_DISPLAY_MGR,
           ab.supervisor_id EMPLID_FM_VW,
           FMGN.name_display NAME_DISPLAY_FM,
      FROM PS_PERSONAL_DATA A,
           (SELECT EMPLID, NAME_DISPLAY FROM PS_PERSONAL_DATA) AA,
           (SELECT ad.emplid,
                   DECODE(ad.supervisor_id, ' ', 'XXXX', ad.supervisor_id) supervisor_id
              FROM ps_job ad
             WHERE ad.effdt = (SELECT MAX(t3.effdt)
                                 FROM ps_job t3
                                WHERE ad.emplid = t3.emplid)) AB,
           (SELECT EMPLID, NAME_DISPLAY FROM PS_PERSONAL_DATA) FMGN,
           (SELECT emplid, effdt
              FROM ps_job T3
             WHERE effdt =
                   (SELECT MIN(effdt) FROM PS_JOB T5 WHERE T5.emplid = T3.emplid)) T4,
           PS_EP_APPR B,
           PS_EP_APPR_ITEM C,
           PS_JOB D,
           PS_DEPT_TBL G,
           PS_BUSUNIT_HR_VW K
    WHERE A.EMPLID = B.EMPLID
       AND B.EP_APPRAISAL_ID = C.EP_APPRAISAL_ID
       AND A.EMPLID = D.EMPLID
       AND AA.EMPLID = D.SUPERVISOR_ID
       AND D.supervisor_id = AB.emplid
       AND FMGN.Emplid = AB.supervisor_id
       AND c.ep_appraisal_id = pnt.EP_APPRAISAL_ID
       AND T4.emplid = D.emplid
       AND D.deptid = G.Deptid
       AND D.business_unit = K.Business_unit
       AND D.effdt =
           (SELECT MAX(t1.effdt) FROM PS_JOB t1 WHERE t1.emplid = D.EMPLID)
       AND A.EMPLID IN
         (SELECT EMPLID                                                            ----------here comes subquery for finding logged in user
              FROM (SELECT B.EMPLID
                      FROM PS_NAMES A
                     INNER JOIN PS_JOB B ON B.EMPLID = A.EMPLID
                                        AND B.EMPLID = A.EMPLID
                                        AND B.EFFDT =
                                            (SELECT MAX(CA.EFFDT)
                                               FROM PS_JOB CA
                                              WHERE CA.EMPLID = B.EMPLID
                                                AND CA.EFFDT <= %CurrentDateIn)
                     WHERE A.NAME_TYPE = 'PRI'
                       AND A.EFFDT = (SELECT MAX(B.EFFDT)
                                        FROM PS_NAMES B
                                       WHERE B.EMPLID = A.EMPLID
                                         AND B.NAME_TYPE = A.NAME_TYPE
                                         AND B.EFFDT <= %CurrentDateIn)
                       AND B.SUPERVISOR_ID =
                           (SELECT T1.OPRID FROM PSOPRDEFN T1 WHERE %oprclause)
                        OR A.EMPLID =
                           (SELECT T2.OPRID FROM PSOPRDEFN T2 WHERE %oprclause)
                        OR B.SUPERVISOR_ID IN
                           (SELECT EMPLID
                              FROM PS_JOB
                             WHERE SUPERVISOR_ID =
                                   (SELECT T3.OPRID
                                      FROM PSOPRDEFN T3
                                     WHERE %oprclause))))
    ORDER BY A.emplid Regards!

Maybe you are looking for

  • The screen of my iphone is broken and doesn't work anymore. Is there a way to type in my passcode on the computer/itunes?

    The screen of my iphone is broken and doesn't work anymore. Is there a way to type in my passcode on the computer/itunes?

  • Details for V.21

    Hi,   In the T.code V.21 (log of collective run), what is the relevance of the field "Type of collective run" and what happens if I give "F" in that field? Is there any provision to invoice "only for deliveries during a particular period" in the t.co

  • Photosmart 8750 ink carts & paper types

    I need to know the appropriate combination of ink cartridges to use for the best quality color photo printing. I also would like to know the best paper type to use for printing 12x12 photo-quality scrapbook pages. I could print on 13x19 and cut them

  • SHARPENING TOOLS

    I read a mid-year article in Photoshop News that in ACR 4.1 "A hidden preview of each new control is available in 4.1. On Mac, hold the Option key while adjusting a slider". I can't seem to make this work on ACR 4.2 (which is what I have installed)?

  • Set autoinvoice gl_date = sales order ship date

    I have sales orders with both shippables and non-shippables. The sales order uses header level invoicing so that the shippable and non-shippables are interfaced to AR at the same time. We use the default grouping rules which groups first on ship date