Dynamic Cascading Prompt based on Universe

Hi,
I am attempting to build a universe-query-based report which allows the user to select inputs based on a dynamic cascading prompt. I have created the cascading LOVs in the Universe design. However, when the user is asked to select inputs, the prompts do not appear to cascade. They show all possible values independent of each input(there are 3 inputs). When I try to manually create the dynamic cascading prompt on the actual report, I select dynamic parameter but it does not show any values under the Choose Data Source option. All it shows is "(None)". Any suggestions on how I can get this cascading prompt to work? I am using CR 2008 also.
Thanks for you help!
David

Hey David,
Steps to create connection in Business View Manager:
1) Go to Start -> Program files > Business objects xir2> business objects enterprise > businessview manager.
2) Click on New >
3) Steps to create is Create a Data connection > Select Data Connection > Data sources > Save the data foundation.
4) Second is to create a data foundation.
Click New > Data foundation > Select the Data Connection and Select the Table.
5) Third is to create a data element.
Click New >Data Element > Select the Data Foundation Select the required fields for Lov from the table.
6) Is to create a business view > New > Business View >select the data element > save the business view.
7) Is to create a Lov> New > LOV > Select the business view > Select the fields for dynamic cascading parameter fields and save the LOV
8) Open the crystal report designer > connect to the repository > create a new parameter > select dynamic> Select Existing > Select the LOV created through the business view manager.
Note : Should Save all the Connection, data Foundation, business elements, business view and LOV separately and instantly.
Let me know if any.
Regards,
Naveen.

Similar Messages

  • Dynamic Cascading prompt in Webi

    Is there a way either at Webi/Universe level to create dynamic cascading prompt in webi based on selection from first filter object.
    e.g. two objects, Region and Office.
    In webi, Region is the first filter, Office is the second.
    After user selects a Region, I want the second Office prompt values to display only the offices for the region that user's selected.
    Is there is a way to do? or a work round?
    If I just create cascading LOV, it will just display all regions and it's offices together.
    Thanks

    You try the below
    Go to the Office Property.
    Edit the List of Values for the Office object.
    Check the Automatic Refresh Before Use option.
    Click Edit.
    Bring Region into the Conditions and set it to: in list Prompt('What Region?')
    Click Save and Close
    Click Apply and edit the next LOV object.
    Save this Universe and let's generate a report.
    Now in the report you create the Prompt on Region. Prompt('What Region?')
    Have a look in to
    http://homepage.mac.com/rmetzk/PDF_Files/Cascading_Prompts.pdf
    Hope this may help you out.
    Edited by: srrachna on Apr 19, 2011 7:26 AM

  • Error using CR 11.5 with dynamic cascading prompts and SAP Integr.Kit XI R2

    Hi,
    we are using the SAP Integration Kit XI R2 (patched up to FP4.3) in order to report SAP BW data (BW 3.5) in Crystal Reports 11.5 (SP 4). In order to access the stored BEx Queries we use either the SAP BW Query or the SAP BW MDX Query Driver (_we DO NOT use any universes_). Everything seems to work fine ex cept when we want to use dynamic cascading LOVs within CR. For example when a user runs a report she/he should select first a customer group (0CUST_GROUP prompt) and then the customer (0DEBITOR). Defining the cascading prompts with dynamic LOVs is no problem in CR and when the report runs (either in CR Designer or in InfoView) both prompts appear. Still when we do a selection for the first prompt (0CUST_GROUP) we get a 0x8004380D error with the text message stating that the system is not able to retrieve the LOV data (I guess for the 0DEBITOR prompt). Please note that we do not get a corba error and no firewalls are activated. We checked the trace files of the page server and found out that there was an error calling the createRowsetCursor function within enginekernel.cpp.
    Any hints on our case will be mostly appreciated. We have the feeling that we are hitting a bug here but maybe we are overseeing something.
    Cheers
    Stratos
    PS: Please note that if we access directly the ODS Object (SAP ODS driver) the dynamic cascading prompts on exactly the same InfoObject (or better their keys in the ODS) work without a problem.

    Hi Stratos
    You can define LOV's in universes but unfortunately you can not use universes based on SAP in Crystal Reports.
    You can define parameters in the Bex query which are passed on to Crystal Reports, so you don't need to define them in the Business Objects tools. Please have a look at the SAP Integration Kit user's guide
    Roland

  • Creation of Dynamic cascading prompts

    Hi, Could you please let me know how to create Dynamic Cascading Prompts at Universe level?

    Hi,
    Dynamic Cascading prompts can be created using Cascading lovs. For this you should have some hierarchies defined in universe (assumption) and go to tools-> lovs -> cascading lovs -> in the window all the available hierarchies are displayed for you -> select a required hierarchy from left side and place it in right side -> click on generate lovs (in between create a prompt name that should appear for this hierarchy) and in query panel level -> insert a prompt for the least granular object in the hierarchy then in report you will get a cascading prompts for that hierarchy.
    Cheers,
    Suresh Aluri.

  • How to include a default value in Dynamic cascading prompt from 2nd Level.

    Hi,
      I use Command Object in 'Datbase Expert' to create 'Custom Tables'  and use these tables to fetch LoVs. I use Dynamic Cascading Prompts in the reports.  I have a peculiar requirement using DCP.
      There are Four Levels as in the Example:
      Continent
       Country
       State
       City
      In the Custom Table, requirement is to create an additinal row with '' that represents 'All Values selected' for that level starting from second.  and The default selection should be '' . I defined that '*' means 'All Vales Selected in the report' This si not a problem. But the problem how to show a default value in a Dynamic Cascading Prompt i.e. how we can make sure in an default value can be selected in DCP from Second Level?
    how can the examples 1,2,3 can be achieved detaisled below beacsuse we need to show a default value in Casacading Propmt
    Eg of Schedules with DCP:
    Schedule 1   
      Continent: Europe
       Country: *
       State: *
        City:  *
      Schedule2:
       Continent: Europe
       Country: England
        State: *
         City: *
    Schedule 3:
        Continent: Europe
       Country: England
        State: Greater London
         City: *
    Schedule 4:
    Continent: Europe
       Country: England
        State: Greater London
         City: City of london

    You won't be able to have a true "default" value in the various cascading levels, since there aren't default values in a dynamic cascading parameter.  That being said, I've created a sample report in Crystal Reports 2008 that has a Command-driven DCP with '*' values for the 2nd and 3rd levels of my 3-tier DCP and have accounted for them in the record selection criteria.  You can find the sample here at https://www.box.net/shared/mav5qp337j

  • Creating Dynamic Cascading Prompts Without Business View manager?

    How can we create dynamic cascading prompts without Business View Manager??

    Creae a parameter in Crystal Report Designer. I suggest you read the help on how to also.

  • Modifying the PGURI property of a dynamic cascading prompt

    Hi,
    I am trying to modify the PGURI property of a DCP using the SDK. The code looks like this:
    Fields paramFields = (Fields) reportClientDoc.getDataDefinition().getParameterFields();
    for (int u = 0; u < paramFields.size(); u++)
         ParameterField paramField = (ParameterField) paramFields.get(u);
         PropertyBag myPFProperties = paramField.getAttributes();
         PropertyBag myNewPFProperties = new PropertyBag();
         if (myPFProperties.containsKey("PGURI") == true)
         String uriString = (String) myPFProperties.get("PGURI");
         uriString = uriString.replace("ServerA", "ServerB") ;
         myNewPFProperties.put("PGURI",uriString);
         myNewPFProperties.put("IsDCP", true);
         paramField.setAttributes(myNewPFProperties);
         reportClientDoc.getDataDefController().getParameterFieldController().modify(u,paramField);
    reportClientDoc.verifyDatabase();
    reportClientDoc.save();
    reportClientDoc.close();
    System.out.println("\tSaved!");
    The problem is that when I reopen the document and read the PGURI value the old value is still there (ie. eor://ServerA/<cuid> instead of eor://ServerB/<cuid>)
    I am not sure if I am missing something here but I start to believe that the PGURI property does not reside inside the ReportClientDocument rather is read from the related business view (This is a DCP based on an SAP R/3 Table, Clusters and Functions source).
    Any hints would be mostly appreciated!
    Regards,
    Stratos

    Hi,
    You mean
    like this: <af:column headerText = "#{bindings.EmployeeView.hints.Name.label}" ../>
    and in the bean
    List<UIComponent> components = pBindTable.getChildren();
    for (UIComponent component : components) {
    RichColumn cc = (RichColumn)component;
    System.Out.Println(cc.getHeaderText());
    Iam getting the output.
    reg,
    bakkia.
    Edited by: Bakkia on Jun 9, 2011 11:51 PM

  • CR XI Cascading Prompt on Dynamic Parameter Value

    Hi friends need a help related to Cascading prompt parameter in CR XI.
    I need to modify an existing report wherein Stored Procedure having a parameter is used as a datasource. Now in Report when I go in edit mode for that parameter under the value section of it a query (&select col1,col2 from tbl where userid='value coming from front end app') is written which populates the value to select the particluar value to pass as a parameter. First of all what this functionality is termed as I am not aware of it please help me with it if somebody knows it. Also in the select list its mention 2 columns but when we run the report at that time the col2 data is only being displayed in dropdown and col1 which is a id field is passed in record selection formula.
    Now as per our requirement we need to introduce 1 more parameter for record filtering i.e. based on the above parameter value. This can be achieve through Dynamic Cascading Prompt. But the challenge is to use Cascading Prompt funcionality its necessary that both the parent & child field should be populate from db but here the parent value is populate using a query as I stated so in that case how to achieve this.
    Sorry if I am not able to explain the scenario properly.
    Please friends help as soon as possible.

    Looking at the Prompt text you have mentioned, it looks like you guys might have a front end SDK solution which passes the prompt values to the 'Report'. The cascading 'imitation if you will' might be happening on the front end page and not really using the report(s) cascading prompts. To help better i think you should answer following.
    1. where are users viewing this report.
    2. In your CR designer, do you see cascading prompt on existing prompts?
    3. what version of Crystal reports are you using and where is it hosted ?

  • Cascading Prompts in Crystal from a Universe

    Hi There,
    How can I create a cascading prompt on the Universe to be used in crystal?
    I have created a Cascading prompt in the Universe and it work in Webi but for some reason you do not see the cascading LOV
    Versions BOE XI 3.1 SP2 FP2.4 Crystal Reports 2008 v1 SP2.
    Regards,

    Hi Abhilash,
    Thanks for replying ...
    The same report is working fine on windows server 2008 R2 and IE 8.0.7601 . Can you pleasde guide through which pack should i install on BO server to overcome this issue . As all my users are using IE 9 version only .
    Thanks,
    Sahana

  • Default values in cascading prompts

    Hi,
    We are using Crystal Reports 2008 and our environment is Business Objects XI 3.1.
    We have certain crystal reports with dynamic cascading prompts. Is there anyway where we can set the default value in the child parameter based upon the value selected in the parent parameter.
    Thanks

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • LCM Error in promoting Crystal Reports using Dynamic Cascading

    Hi,
    I am having one Crystal report, developed in CR XI R2 ,it is using one Dynamic cascading prompt.The DB is Oracle Server.
    The report is working fine on standalone desktop as well as Dev server .
    But when i try to move this report using LCM to Production (Dev to Prod or Dev to Test) it throws error "Promotion failure - Trying to create an object with duplicate name" .
    I have gone through LCM document ion and found that we need to select report as well as the BVM or dynamic cascading .I tried this option also but it didn't work.
    Can anyone suggest what i am missing ?
    thanks
    Nitin

    In the destination system there is another report with the same name but different CUID, can you confirm?
    - Maheshwar

  • Olap Universe Based on BEx Query - Cascading Prompt

    I need to get two prompts: 1) Division 2) Group. Division has to be selected first and then Group. I understand I have to create cascading prompt. In the universe, in default hierarchy, group stands before before division. I have created a custon hierarchy like: Division, Group. I used Tools -> List of Values ->Create cascading list of values and then selected the right dimensions and then clicked on Generate LOVs. Then I have exported it to the repository. But I cannot see any reflection at the report level. So, some questions came in my mind:
    1) Where can I check in the universe whether my cascading prompt has been created or not ?
    2) I am using L01 Dimension. But underneath, there are two dimensions called LovDivision and LoVDivisionBase which are in Italic. I believe integration kit creates this. It is the same as Group. So, my question is: Am I selecting the right dimesnsions ? Or, should I select those in Italic.
    3) Actually, these two prompts (variables) [along with others] are already created in BEx which I can see in my report. My plan is, if my cascading prompts work, I will tell the BW developer to remove those two. Do you think that these existing prompts are creating any problem.
    I would really appreciate your response.

    Hi
    1) Where can I check in the universe whether my cascading prompt has been created or not ?
    Have you entered the cascading object in the  webi query condition.At the run time  it will generate  hierarchy in the tree structure.
    2) I am using L01 Dimension. But underneath, there are two dimensions called LovDivision and LoVDivisionBase which are in Italic. I believe integration kit creates this. It is the same as Group. So, my question is: Am I selecting the right dimensions ? Or, should I select those in Italic.
    correct you are using right objects L01.By mdx driver it will create by default L00 and L01 objects.neglect the Lo00 objects.You can  hide them in the universe or go to refresh structure and their is option to replace L00 definition with some other definition.
    3) Actually, these two prompts (variables) along with others are already created in BEx which I can see in my report. My plan is, if my cascading prompts work, I will tell the BW developer to remove those two. Do you think that these existing prompts are creating any problem.
    By default  when you are creating universe based on the mdx drivers it will convert Bex query filters in the universe condition as mandatory filter  and applied on the full universe.
    You can go to the universe condition and open the condition and unchecked the option  from their and after that these will not prompt in the webi query.
    Thanks,
    Amit

  • How to populate LOV of one prompt based on other prompts w/o cascade

    Hello All,
    Scenario- There are three prompts in my report.
    Source_Prompt1, Source_Prompt2 and Target_Prompt.
    There is no direct reletion between Source_Prompt1 and Source_Prompt2.
    And user wants Target_Prompt data on selection of these source_prompts.
    Is there any way to populate target prompt on selection of source prompt.
    Note- This can be implemented by applying cascading between all three prompts fields.
    However user dosent want Cascading between source prompts.?
    is there any other method except cascading prompt to populate LOV of one prompt based on selection of other prompt values?
    Your insights are most welcome.
    Amit

    I believe the only way to populate LOVs is directly from a database. E.g.; you can not populate it "manually". In your case, you may have to create your own prompt forms and use those.
    - Ludek

  • Derived tables with prompts - based universe

    why can't I use derived tables with prompts - based universes on Dashboard Design 4.0? I mean I can add to Dashboard Design data coming from a universe like that but the prompts don't show in the query panel in Dashboard Design. Could it be becuase my universe was created first as an unv and then I transformed it to unx?

    Good day Yuvraj,
    Thank you for your response.
    Basically, I have 2 classes based on physical tables:
    Product (P); and
    Time/Calendar (T/C).
    Two classed based on derived tables:
    Stock on Hand (SoH); and
    Stock Movements (SM)
    The derived tables SQL code selects (Quantity and Selling Price) from the SoH table and joins to the T/C table with conditions and a Where clause to restrict the data output to the last 2 months (the same applies to the SM derived table).
    Example code below:
    SELECT  q.sm_table _no, q.tim_cal_no, q.quantity, q.selling_price
    FROM    tim_cal_table p,
                  sm_table q
    WHERE  q.tim_cal_no= p.tim_cal_no
    AND        p.day between to_char(sysdate - 60,'DD/MON/YY') and to_char(sysdate - 1,'DD/MON/YY');
    Now, the SoH table and the SM table are joined (in the universe schema) to the P table and T/C table using Primary Keys (which are shared by all the tables - physical and derived i.e. foreign keys on the SoH and SM tables used in the derived tables).
    Now to answer your questions:
    Do you get data in case you take objects only from derived table class?NO
    Does the columns used to join physical table and derived table has matching values? YES. I mean to say is the join getting satisfied? YES. Checked Universe Integrity - structure, objects, joins, conditions, loops, context and cardinalities - everything is OK.
    Adding to this, is the data type same for both the columns (on which join is set) or is there any typecasting required? YES - checked the data types of the primary/foreign keys that join the tables and they all match, except for one on the SM table -  the foreign key has 6 set for precision (instead of 5 as per the other columns), however the data type is Numeric so this shouldn't be an issue.
    I hope this helps to clarify the nature of the problem.
    Thank you.
    Regards,
    B

  • Cascading prompts are not working after UNX conversion.

    Hi,
    We have converted universe to UNX format, but after conversion the cascading prompts are not working. Following is the one of the example of the cascading prompt which is having issue:
    We have cascading object named u201CGroup - Deviceu201D as below:
    CONCAT(CONCAT(@select(Performance Management\Group\Group Name),' - '),@select(Performance Management\Device\Device Name))
    In the SQL Assistance windows, validate button properly validates this object.
    Based on the above object, we have filter named u201CEnter/Select Group u2013 Deviceu201D with following definition:
    @select(Performance Management\Performance Reporting Objects\Performance Custom Dimensions\Group - Device) In  @prompt('Enter/Select Device Names','A','Performance Management\Performance Reporting Objects\Performance Custom Dimensions\Group - Device',Multi,Free,Not_Persistent)
    When I click on the validate button for this filter, it doesnu2019t says whether the expression invalid or valid. It does not return anything. I checked the error log windows of IDT and it shows below error once we validate the above filter:
    Message: Unhandled event loop exception
    java.util.ConcurrentModificationException
         at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
         at java.util.AbstractList$Itr.next(AbstractList.java:343)
         at com.businessobjects.semanticlayer.qt.internal.ParseExpressionServiceImpl.getScriptWithAnswers(ParseExpressionServiceImpl.java:753)
         at com.businessobjects.semanticlayer.qt.internal.ParseExpressionServiceImpl.getGeneratedScript(ParseExpressionServiceImpl.java:695)
         at com.businessobjects.semanticlayer.qt.internal.ParseExpressionServiceImpl.getGeneratedScript(ParseExpressionServiceImpl.java:673)
         at com.businessobjects.semanticlayer.qt.internal.ParseExpressionServiceImpl.getObjectSQLCombinations(ParseExpressionServiceImpl.java:369)
         at com.businessobjects.semanticlayer.qt.internal.ParseExpressionServiceImpl.getWhereParseSQL(ParseExpressionServiceImpl.java:298)
         at com.businessobjects.bimodeler.universe.panes.properties.ExpressionParserSQLBindings.parseExpression(ExpressionParserSQLBindings.java:58)
         at com.businessobjects.bimodeler.shared.dialogs.expression.ExpressionEditorComposite$7.widgetSelected(ExpressionEditorComposite.java:330)
    This problem is for all the cascading prompts, and only single level prompts are working after conversion to UNX.
    Can anyone please help on this? Am I missing any manual changes which are mandatory after UNX conversion for this to work.
    Thanks,
    Nilesh

    Hi Henry,
    Thanks for your reply. Yes I have raised SAP ticket for this.
    We are at BI 4.0 SP2 Patch 12.
    This problem is for all the cascading prompts which created using objects which are having u201CLOV based on Query Panelu201D, it doesnu2019t return the results, when I edit the LOV > edit the query and then click refresh to see the data, the refresh button does not appear.
    So I tried creating u201CLOV based on a custom hierarchyu201D as indicated in SAP note u2013 1666504 but it also doesnu2019t work. I used the object (that uses the LOV based on a custom hierarchy) to create the new cascading prompt, when I used this prompt in WEBI report, it only displays prompts for first value and not the second based on first input.
    I searched SAP KB and found this note u2013 u201C1620378 - Cascading (nested) prompts are not working for Web Intelligence reports in BI 4u201D which describes bug related to cascading prompts in unv as well as unx. But I am not sure if itu2019s the same which I am getting.
    Thanks,
    Nilesh

Maybe you are looking for