Report Views Ignoring Prompt Values

Hi:
OBIEE 11.1.1.7.0
I created a dashboard with a prompt region and one report view. The prompt region contains two column prompts, year and product type.  The report view contains these two columns, as well.  When I change the year prompt, the report view updates.  But when I change the product type prompt nothing happens.  When I look at the SQL I see the year value in the where clause but nothing for the product type.
I don't understand this behavior.  Can anyone offer any advice for how I can get the report view to react to a change in the product type.
Thanks.

There might be a physical column mapping mismatch.Please remove the existing column and add one more time and look at the results and also observe the same with anyother columns which are available in the report.

Similar Messages

  • Crystal Report Viewer Credential Prompt for Report with Dynamic Parameters

    The .NET Crystal Report Viewer is prompting for database credentials when launching a report containing dynamic parameters. This only occurs for reports created with SAP Crystal Reports 2011 designer. Reports created with Crystal Reports XI designer (where dynamic parameters were first introduced) work correctly.
    The credential prompt window contains the following fields:
    - Server Name: <server name> (disabled)
    - Database Name: <database name> (disabled)
    - User Name: <empty> (enabled)
    - Password: <empty> (enabled)
    - Use Single Signon Key: false (disabled)
    The values in the prompt window which are disabled are the database connection values used during the design of the report in the SAP Crystal Reports 2011 designer.
    Expected Result:
    - No prompt for database credentials.
    - Values read from the database should be populated in a drop down for the dynamic parameters.
    Environment:
    - Visual Studio 2010 (C#)
    - Windows 7 Enterprise
    - SAP Crystal Reports runtime engine for .NET Framework 4
    - SAP Crystal Reports, version for Visual Studio 2010
    - SAP Crystal Reports 2011
    The database connection is being set to use a DSN. It must be a DSN as the calling application is only aware of the DSN/Username/Password values. These values are being passed to the Crystal Report Viewer contained in a Windows form.
    The database connection for the report is being set as follows:
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection otherwise the connection does not work
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Supposed to set the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    The SetConnection method's signature is as follows:
       SetConnection(string server, string database, string name, string password)
    As you can see from the code snippet above I am setting the DSN name as the server parameter, blank for the database parameter (a database connection using DSN should only require DSN name/Username/Password) and the database username and password respectively.
    Is this a SAP bug?
    Is this the correct way of setting the database connection to use a DSN?
    Is there some other properties that need to be set somewhere else in the report through code?
    Any help would be greatly appreciated.

    Thanks for the pointer to the database connection code generator. After taking a look at the output from the tool I was able to finally get the dynamic parameters to load and populate properly without prompting for credentials. I needed to tweak the outputted code a bit to match my requirements of using a DSN only connection.
    Instead of updating the database connection properties contained within the Report.Database.Tables collection from the CrystalReports.Engine namespace, I changed it to replace the database connection properties in the Report.ReportClientDocument.DatabaseController.Database.Tables collection from the CrystalDecisions.ReportAppServer.DataDefModel namespace. For one reason or another, using the RAS namespace solved the problem.
    Below is the updated code with the change made:
    using RAPTable = CrystalDecisions.ReportAppServer.DataDefModel.Table;
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Sets the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    // The attributes for the QE_LogonProperties which is part of the main property bag
    PropertyBag innerPropertyBag = new PropertyBag();
    innerPropertyBag.Add("DSN", this.DSN);
    innerPropertyBag.Add("UserID", this.LoginName);
    innerPropertyBag.Add("Password", this.Password);
    innerPropertyBag.Add("UseDSNProperties", "true");
    // The attributes collection of the tables ConnectionInfo object
    PropertyBag mainPropertyBag = new PropertyBag();
    mainPropertyBag.Add("Database DLL", "crdb_ado.dll");
    mainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
    mainPropertyBag.Add("QE_LogonProperties", innerPropertyBag);
    // Pass the database properties to a connection info object
    ConnectionInfo connectionInfo = new ConnectionInfo();
    connectionInfo.Attributes = mainPropertyBag;
    connectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    connectionInfo.UserName = this.LoginName;
    connectionInfo.Password = this.Password;
    // Replace the database connection properties of each table in the report
    foreach (RAPTable oldTable in this.report.ReportClientDocument.DatabaseController.Database.Tables)
        RAPTable table = new RAPTable();
        table.ConnectionInfo = connectionInfo;
        table.Name = oldTable.Name;
        table.QualifiedName = oldTable.QualifiedName;
        table.Alias = oldTable.Alias;
        this.report.ReportClientDocument.DatabaseController.SetTableLocation(oldTable, table);
    this.report.VerifyDatabase();
    Thanks again Ludek for the help.

  • 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!

  • Don't have to run the report for no prompt value

    Hi,
    The requirement is that I need to create a report which is more of a search report kind of thing. So on the dashboard we need to show only prompts. The users would choose any prompt and run the report.....now the issue is....that when no prompt values is selected and user hit the GO button ..i need to show a message saying "Please select any value" ...how to do that ..
    I have already refered kishore's blog on guided navigation to implement this ..but the issue which I am facing is that my intermediate report is taking too much time (almost 10 mins) to come back with values and then my actual report shows the message thorugh No results view ...but i need to load the messsage to the dashboard in not more that 1 mins ...how to do that .....
    any help would be much appreciated ....
    Thanks
    Ronny

    Thanks Kishore, but I have already refered your blog and implemented this approach as I have mentioned above, however, the issue is that my intermediate report in which I am using the dummy filter is taking too much time to run ...like 10 mins...so guided navigation doesn't work properly ....I have almost 15 prompts so it is taking time ..is there any other work around ?
    Thanks,
    Ronny

  • Crystal Reports Viewer - pdf, prompts, icons problem

    Hi all,
    I am a new in BO.
    I have some answer about Crystal Reports Viewer (not about setup.exe but about CRV application that I uploaded on Tomcat)
    1) The old version (11.5) works good, only Export to PDF functionality is wrong. There are in the pdf file wrong display of specific czech characters (charset)
    2) A new version, Crystal Reports Viewer 2008, show the same pdf mistake. I have J2SE Runtime Environment 5.0 Update 4 and Apache Tomcat 5.5.9.
    I upload application on Tomcat, configuration (web.xml, crconfig.xml and context.xml) is the same with version 11.5.
    Crystal Reports Viewer 2008 displayed reports, but the problem with PDF is present. The second problem is the look of CRV. First one, the icons (for export, print...all icons) are not displayd. I can copy old jar files into java (in application folder C:\WebReports\WEB-INF\lib), but then CRV looks like old version.
    And CRV 2008 doesn't display listbox in dynamic prompt on crystal report. What shall I set to displaying prompts in CRV 2008 (on CRV or on report in Crystal 2008)?
    Have you some idea? What and how can I set and configure application and where?
    Veronika

    Hi,
    To confirm, are you talking about "Crystal Reports Viewer 2008" http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/viewer/index.epx
    I suggest sending in the report, in the viewer, select "Help" - "General Feedback" and then pick the option to attach the report.  In a couple of months there will be a refresh version of this view which will have Czech language support so it would be good if we could test out your PDF issue.
    As for showing parameters in the prompt panel in Crystal Reports Viewer 2008, since the viewer cannot refresh the data, make sure the parameter does not used in the record selection formula but only in the saved data selection formula.

  • How to filter reports based on Prompt values

    Hi All,
    I have requirement in dash board.
    in my dash board it contains two reports which is having same column with different values.i.e.,
    one report contains Input method column with CSS value,
    another report contains Input method column with SFF value
    and i have dashboard prompt for INPUT METHOD column.
    when i need to select CSS value in prompt the first report should enable(display).second report should disable.
    when i need to select SFF value in prompt the second report should enable(display).first report should disable.
    But problem is when iam prompting values the 2 reports displaying same report only.Can any give solution for this one. how to solve this prob?
    Thanks in Advance response .
    Naveen

    Hi,
    Follow the steps from this link. I hope it will be helpfull
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/
    Phani.

  • Report templates by prompt values

    Hi everyone,
    For a report due to sturctural changes in templates for 2010 we created new template 'Test2' and For 2009 year it has 'Test1' . Now the issue here is when we display this report with templates on Dashboard user need to select values in prompt and also the type of template for that year.
    Eg: if user selects year value =2010 and then he has to select the template type 'Test2' to get report in excact sturuture.
    Is their any way where when a user selects year prompt value as 2010 then template has to change to 'Test2'.
    Thanks in advance
    Regards

    Can't you combine them into one template and use a if condition inside to select?
    If that becomes two complicated, you may also consider writing the 2 templates as
    sub templates and have a template that includes either one depending on the selected
    values. Converting a template to a subtemplate requires you to wrap them in a function
    but it shouldn't be too hard. In EBS subtemplates are supported in 10g standalone you need
    to store them somewhere accessible by a URL. Standalone 11g will support subtemplates as
    well as EBS.
    Klaus

  • 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

  • Crystal reports viewer will not prompt for parameters

    Help,
    I can not get crystal report viewer to prompt for parameters when called from IIS 8 on Server 2012 r2
    I can get crystal report viewer to prompt for parameters when run from vs 2010 built in web service.

    Thanks,
    The solution for me was to uninstall the latest crystal reports runtime 13.10.x and install 13.6.x instead.
    Thanks anyway.

  • Can we combine prompt values in Webintelligence Report(Combined Q:Union)

    Hi Every One,
    I had 4 Queries which are combined queries(Union).When i run the report ,displaying prompt values which are there in first Query.Can't we get combined prompt values when i run the report.I will explain with Scenario.
    Eg:
    Q1:Product level Country Information
    Prompt Values:Country(A,B,C,D,E,F,G,H)
    Q2:Component level Country Information
    Prompt Values:Country(A,B,C,D,E,F,L)
    Q3:Product level Source Information
    Prompt Values:Country(A,B,C,D,E)
    Q4:Product level Country Information
    Prompt Values:Country(A,B,C,D,E,F,M)
    When i run the report iam getting prompt values for country as (A,B,C,D,E,F,G,H)
    Could you help .
    Regards,
    Swapna.

    I'm having trouble understanding your scenario as you explain it.
    You are doing a union of the queries?
    So create query A, combine queries, union, create query B, etc.
    All of them use the same prompt message?
    So you either build the condition and reuse the same prompt message or you use a filter from the universe.
    In this case it is not possible to specify something different for each of the various subqueries.
    So you would have only one prompt answer, being whatever you answered to the prompt.
    If you have different prompt messages, you can give different answers, but then you have 4 prompt answers to display.
    It would be logical that only the first one is displayed if that is the one you display, you should display all four.
    If you just want to display the superset of countries which have been retrieved by the query you can put this information in a separate table block. If you make it a horizontal one, without borders, you should be able to come close to a normal prompt layout.
    Good luck,
    Marianne

  • 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.

  • Dashboard prompt value is not passing into the report

    Hi,
    I am using OBIEE 10g. The problem is in Oracle BI Answers
    I have a prompt and its related report. In the prompt, in one of the column, I am using sql result. The sql query is a co-related sub query where i have used 2 tables. employee_data and employee_region. The reason for using sub-query is that there is no data_center column in the employee_data table. It has the records for all the data_center e.g USA, UK,IND,AUSTRALIA etc So, I used the sub query with condition which will give the result on a particular data center (here it is USA) and this sub query's output is input for the main query. And the prompts works fine and gives correct result
    The sql query used for the column in the prompt (in Oracle BI Answers) as
    SELECT EMPLOYEE_DATA.ENAME FROM EMPLOYEE WHERE EMPLOYEE_DATA.ENAME IN (SELECT EMPLOYEE_REGION.ENAME FROM EMPLOYEE WHERE EMPLOYEE_REGION.DATA_CENTER = 'USA')Now in the report, there are 2 coulmns. - EMPLOYEE_DATA.ENAME and EMPLOYEE_REGION.DATA_CENTER
    I have used the main column EMPLOYEE_DATA.ENAME for filter as 'prompted'.
    The problem is the value from the prompt is not passing from the prompt to the report, what I found. Because, instead of showing the result for 'USA' data_center, It also shows other data_center 's (UK,IND,AUSTRALIA) data.
    How filter condition I should use for EMPLOYEE_DATA.ENAME column in the report so that the prompt value will pass to the report properly ?
    Thanks
    Edited by: Kuldip on Feb 21, 2013 6:17 AM

    Hi Kuldip,
    There are 2 ways of doing it.
    1. Nice and good: For the section where the report is put have a condition to display only if it returns rows. For details please refer to :
    http://bischool.wordpress.com/category/guided-navigation/
    2. The easy way: Add a "No Result" view to your report and add few spaces in the text.
    Let me know if this helped.
    Regards,
    Jay

  • Showing prompt value in report - Need Urgent help

    Hi All,
    I have created a query that has a prompt (it is not the dashboard prompt) that has " in Between" operator. It is on date column. When i am generating report by passing the prompt value the data is coming properly.
    I have downloaded the report in excel format and it is coming perfect. But i am not able to provide the data that he has selected in the prompt.
    Like on top of page i need to show - The report is genrated for Date1 to Date2.
    And then the data.
    Thanks in advance for any clue. I am not able to figure out how to do this.
    Thanks
    Ashok

    Hi Ashok,
    It seems it's possible, but not with the Filters view... but with Narrative View....
    If you have Calendar Date (which contains all dates till today) column in your model, then... if you want to show only the date prompt values on top even though you have all other prompts...
    For above mentioned criteria... you can't show only one date using filters view...
    Now... go with Narrative View,
    In that particular report add Calendar Date column 2 times...
    On one column apply Max(date) and on another column apply Min(Date)....
    Hide those...
    Now note down the positions of these above 2 columns in criteria... say 6 & 7... respectively...
    Now you write in narrative view...
    Selected Date between @ and @6
    So... based on the dates you selected.. the calendar date populate with the values and would hold the max and min i.e. what... selected values of your prompts...
    So by using this.. you can only show.. one prompt.... not all the prompts which you have...
    May helpful to you when you have .. Calendar Date only... remember ;)
    Thanks & Regards
    Kishore Guggilla
    Edited by: Kishore Guggilla on Nov 20, 2008 7:52 PM

  • Display In Between  Prompts Value in Report Title

    Hi All,
    I want to show the in between dashboard prompt value in Report.
    So that when user download the report he will come to know the date range.
    I have gone through the couple of links but it does not work.
    I tries the below one but when ever i am selected the to_date it reset the from date also.
    http://obiee101.blogspot.com/2009/03/obiee-between-dates-prompt.html
    Thanks
    Nawneet

    I would add one thing to Saichand's solution which I use for the situation you describe. If you create two dashboard prompts one for the "from" date and the other for the "to" date and then modify your filter on the date column to be:
    datecolumn >= @{From_Date} AND datecolumn <= @{To_Date}
    ...then you just need to add two more columns to your report to house the presentation variables. Make these columns the first two so that in your Narrative View you can reference them as "Between @1 and @2"
    You don't need another report to place on top of your current one, just add the Narrative View to your existing report.

  • Export Dashboard Prompt Values to excel with reports

    I have a dashboard prompt. When I export the report, there is no prompt values download with it. Please help.

    I dont think we can get that. If you want to see the filters (which are applied using prompt or report level filters) in the spread sheet
    Try this:
    In Answers->Result tab->Compound Layout->Add View->Filters
    Save
    Edited by: svee on Jul 26, 2012 3:53 PM

Maybe you are looking for

  • Dv6265us connexant PCI sound card + windows 7 = Not working

    So I'm here becuase I can't find a driver on my own.  I've scoured the internet for hours, finding very little to help with my issue.  So here goes... I have an HP Pavilion dv6000 (Dv6265us), and ever since I installed window 7, Windows cannot figure

  • Heat Dissipation Problems

    I'm having difficulty using my current Pavilion dv4-1301TX for long hours.  Heat generated from (I believe) the HDD unit just below the left hand side of the touch pad, is causing too much discomfort while using.  Are there any solution to this probl

  • Standard Text Correspondence emailed

    Hi, I hope this is the correct forum for this question.  I've created some standard texts (via SO10) for correspondence in the recruitment module (PA-RC), when I send this to a candidate it produces an email with a PDF document which has the correspo

  • Vendor deletion/Block update from ECC to SNC

    Hi When vendor is blocked or deletion flag is set, and after that when vendor is CIFe'd to SNC, is the status in SNC get updated. We have an issue that after CIF status of vendor still PO are able to be confirmed on SNC side? Is somebody having cllue

  • TA38614 Ordering Bookmarks in Safari: Not taking changes.

    Even if I drag them to locate them where I want, they lose changes after hitting Done.