Dynamic LOV in universe based report

Hi,
My question is simple.
In Crystal Reports ,is it possible to have a dynamic LOV for the prompts when the report is based on universe? When ever the user chooses the drop down in prompt page, he should see only his values in LOV. This works in WebI.
I read from the forum that in crystal, this can only be possible with Business View. Is this true?
If i use Business view and the user opens the report in Infoview, does he needs DSN to use the connection i have created in Business View to refresh the LOV dynamically?
Please suggest a solution for dynamic LOV as this started as a simple issue and i'm breaking my head to solve this!!

Once you create any dynamic parameter in crystal which is using direct database connection and if you publish that report to server then it automatically generates a list of values using business view in repository in which the business view uses the same connection what you have used for the report. Now when you try to run the report in info view first it prompts for LOV from repository. Before refreshing the LOV it prompts to connect to your database and if you don't want this prompt to popup everytime then open the connection in business view manager and in the properties select never prompt by giving the database credentials.
You can also create LOV using universe as datasource. To get the updated list you need to change the registry key settings like this
select the option Always refresh before use in the universe properties and change the registry like this
HKEY_LOCAL_MACHINE\software\business objects\suite 11.5\crystal reports\database\AlwaysRefreshUniverseLOV
Type: String
Recognized Values: Yes, 1
HTH
Raghavendra.G

Similar Messages

  • How to make use of a static or dynamic LOV in Desktop Instelligence reports

    I want to use static LOV as well as dynamic LOV as a prompt for one of my report.
    I have created a dynamic LOV but I dont know how to include it as a prompt to my reports. Please teach me the same.
    For example I have two classes called COMPANY and EMPLOYEE in my universe. Each entry in the company class will have n number of employees in the employee class. My requirement is when I run the report it should prompt the user to select the company name which is a object in the COMPANY class. Based on the users's input the report should pull the employee data.
    For this I have to create a COMPANY name LOV and this should be used in the 'Conditions' section of the Desktop Intellegence.
    Please guide me for the same.

    Hi,
    LEt me know where u need the prompt object to be created in UNV or in report level.
    In Unv:
    Select Company name object-> double click it and in Select clause define as below
    @variable('1. Enter Company Name'')
    In Report level: Go to Query panel select Company class object in where clause and select required operator as LIKE OR IN LIST OR NOT IN LIST OR DIFFERENT FROM and select prompt and give some prompt message.
    Cheers,
    Suresh Aluri.

  • Syntax for creating Dynamic Time Filtersin Universes based on SAPBW

    Hi there.
    My customer has a requirement for having a series of dynamic filters available in a Universe Based on a Bex Query.
    In the Univers the BO report Developper will be able to choose from different filters to make the appropriate query for the report,
    The filters can have names such as:
    last_14_Days
    Last Year
    This Year
    This Quarter
    Last Quarter
    And so on
    @Select(Time\CalenderYear/Week) BETWEEN to_char(sysdate-28,'YYYYWW') AND to_char(sysdate-7,'YYYYWW')
    This syntaks is sort of showing the logic they want, but what will the syntax be to make it work in a Universe based on SAP integration Kit ?
    Best Regards Ingrid

    Hi Ingo.
    Thank you for your quick answer.
    Do you know if this is planned for future versions ?
    Can you please explain what you mean by Range Variable ?
    Do you have any good excamples of how this can work in a dynamic way ?
    Best Regards
    Ingrid Husby

  • Dynamic lov, Select List in Report

    Hi all,
    I have searched the APEX forum for dynamic lov but somehow no topic could really solve my problem.
    I have a report and 2 columns in this report are displayed as a select list. I want one of the select list show some values depending on the other select list in this report. If the value of the first select list is equal to some data the second select list should show a lov and otherwise nothing.
    All examples i have found so far seem to explain a solution for a select list item on the page and not for a select list in a report like in my case.
    Are there any advices or some links you can give?
    Thanks in advance
    Markus

    See http://htmldb.oracle.com/pls/otn/f?p=18326:54:1415328128204513::::P54_ID:1282
    and http://forums.oracle.com/forums/thread.jspa?messageID=1222153&#1222153

  • Dynamic LOV in report based on universe

    Hi experts,
    I have found the following thread and I understand that I can change the registry to have dynamic LOV for BOXI R2:
    http://scn.sap.com/thread/1524666
    Is it possible for BI4.1?
    Also is it possible for CR4E with .unx source?
    Regards,
    Gordon

    OK. The Path for 4.0 would be:
    32-bit machine:
    HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.1\Crystal Reports\Database
    64-bit machine:
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SAP BusinessObjects\Suite XI 4.1\Crystal Reports\Database
    And then create the string key per the suggestion in that thread.
    -Abhilash

  • Creating a dynamic lov based on a column

    Hi,
    I want to create a dynamic lov based on a column in a database-table.
    Eg. the query
    'select code, description from code_table'
    is the contents of the column 'lov_query' in the table 'parameters'.
    For every parameter there can be a different lov-query, but the result is always
    two columns (code and description, number and name, etc.), exactly what you need to use in a lov.
    I've written a (dbms_sql) function that takes the parameter-id and returns the lov_query.
    create or replace function "GET_PMR_LOV"
    (pmr_id in NUMBER)
    return VARCHAR2
    is
    cur INTEGER := DBMS_SQL.OPEN_CURSOR;
    fdbk INTEGER;
    l_pmr_id NUMBER(9) := pmr_id;
    l_stmnt VARCHAR2(2000);
    begin
    DBMS_SQL.PARSE
    (cur, 'select pmr.lov_query from parameters pmr where pmr.ID ' || ' = 'L_PMR_ID', DBMS_SQL.NATIVE);
    DBMS_SQL.BIND_VARIABLE (cur, 'L_PMR_ID', l_pmr_id);
    DBMS_SQL.DEFINE_COLUMN (cur, 1, l_stmnt, 2000);
    fdbk := DBMS_SQL.EXECUTE (cur);
    fdbk := DBMS_SQL.FETCH_ROWS (cur);
    IF fdbk > 0
    THEN
    DBMS_SQL.COLUMN_VALUE (cur, 1, l_stmnt);
    return (l_stmnt);
    ELSE     
    return null;
    END IF;
    DBMS_SQL.CLOSE_CURSOR (cur);
    END;
    But now I'm stuck on how to pass on this statement in HTMLDB
    as an dynamic lov, I don't seem to be able to execute this statement
    into the two display and return columns. Any ideas?

    Hello again,
    This lov is on an updatable report-column where the user has to make a choice from an non-named, popup and query-based lov. In the lov-query box I have just put:
    "return get_pmr_lov(:p41_param_id)" (without the quotes ;-)
    Here's my latest version plus an alternative, which both seem to work fine:
    create or replace function "GET_PMR_LOV"
    (pmr_id in NUMBER)
    return VARCHAR2
    is
    cur INTEGER := DBMS_SQL.OPEN_CURSOR;
    fdbk INTEGER;
    l_pmr_id NUMBER(9) := pmr_id;
    l_stmnt VARCHAR2(1000);
    begin
    DBMS_SQL.PARSE (cur, 'select pmr.lov_query from paramaters pmr where pmr.ID ' || '= :L_PMR_ID', DBMS_SQL.NATIVE);
    DBMS_SQL.BIND_VARIABLE (cur, 'L_PMR_ID', l_pmr_id);
    DBMS_SQL.DEFINE_COLUMN (cur, 1, l_stmnt, 1000);
    fdbk := DBMS_SQL.EXECUTE (cur);
    fdbk := DBMS_SQL.FETCH_ROWS (cur);
    IF fdbk > 0 THEN
    DBMS_SQL.COLUMN_VALUE (cur, 1, l_stmnt);
    return (l_stmnt);
    ELSE
    return null;
    END IF;
    DBMS_SQL.CLOSE_CURSOR (cur);
    END;
    create or replace function "GET_PMR_LOV2"
    (pmr_id in NUMBER)
    return VARCHAR2
    is
    l_pmr_id NUMBER(9) := pmr_id;
    l_stmnt VARCHAR2(1000);
    BEGIN
    EXECUTE IMMEDIATE 'select pmr.lov_query from parameters pmr where pmr.ID = :1'
    INTO l_stmnt USING l_pmr_id;
    return l_stmnt;
    END;
    The error-message remains the same, unable to bind :p41_param_id !

  • Column based on LOV in a classic report

    In a classic report i want to display a value coming from an lov, based on the value of a column. I can't seem to make this work however, not even on apex.oracle.com. I too am on apex 4.1.
    What i've tried is to set the column to display as text, based on lov. I've tried named static and dynamic lovs, and tried to supply an own lov definition, both static and dynamic. Even apex_item doesn't seem to work.
    As a test, i has set this up on apex.oracle.com:
    Classic report:
    Region source:
    select status, descr, apex_item.text_from_lov(status, 'lov_status') status2
    from
    select 15 status, 'test for status 1' descr from dual
    union all
    select 30 status, 'test for status 2' descr from dual
    union all
    select 45 status, 'test for status 3' descr from dual
    Column attributes for column status:
    Display As: Display as Text (based on LOV, does not save state)
    List of Values -> Named LOV: LOV_STATUS
    LOV_STATUS (shared components -> lists of values):
    this is a static lov, with these values:
    15;'Status One'
    30;'Status Two'
    45;'Status Three'
    60;'Status Four'
    (which could also be used as a non-named lov like: STATIC2:15;'Status One',30;'Status Two',45;'Status Three',60;'Status Four')
    Both column status as status2 simply keep displaying their value, and not the 'display value' i'd expect coming from the lov.
    I could use decode or case, yes. But using an lov keeps it cleaner, especially when there are more than 3 or 4 values, and could be reused in more reports.
    Am i using or doing this wrong?

    Hi Tom,
    revert the order of your LOV items ( so first description and then ID ),
    like for example :
    STATIC2:'Status One';15,'Status Two';30,'Status Three';45,'Status Four';60
    That does the trick ( tried it ).
    If you want to see an example check page 2 of the only app on apex.oracle.com
    WS : bklerk
    User : demo
    PWD : demo123
    Regards
    Bas

  • Dynamic LOV based on Current user

    How do i make a dynamic LOV based on the user id of the current user.
    Also how to insert values from a form into a database
    Can anyone please help me out.
    Thanks

    Use portal.wwctx_api.get_user to get the currently logged in userid.
    The simplest example of a form manipulating data is to create the form based on a table. All DML works automagically. You can base your form on a procedure with dummy columns and do your own DML if you wish. Lots more flexibility that way...

  • Can not create Webi report on a Universe based on Bex Query

    Hi,
    We are using BO XI 3.1 (FP 3.4) with SAP integration Kit (same Patch Level) with SAP Authentication. We have a Universe based on a bex query and its connection is set to use SSO.
    We have say two SAP users U1 & U2. Now "U1" is able to create webi reports but when we Logged in as "U2" and try to create Webi reports or try to refresh reports created by U1 it through an error ...
    The database error text is: (CS) "Error on NumResultCols" . (WIS 10901).....
    As per the "Authorization" section in BusinessObjects XI Integration for SAP Solution Installation Guide we have provided this users with all the mention autherizations.
    Any words over this will be highly appreciated.
    Regards,

    It is highly probable that this is due to missing authorizations on the SAP BW side (not talking about the authroizations which are directly related to the BO/BW integration). I would recommend to ask your SAP Basis team to do a security trace while you are accessing the reports with the user, who gets the error. THey should look for failing authorization checks.
    Regards,
    Stratos

  • Multiple Universes (based on SAP BI Query) & single WebI Report

    Hi,
    We build OLAP Universes on SAP BI Queries. One of the ways to consume multiple universes in a single WebI report is to "add query" from another universe into the same WebI page / another WebI tab for the report.
    Is there a possibility to pick and choose fields from different Universes (based on SAP BI Queries), into a single WebI report ... of course respecting their technical linkage.
    regards,
    Rajesh K Sarin

    Hi Ingo,
    We have created multiple subject Area Universes (based on SAP BI Queries). Is there a possibility to select a particular object from one of the Universe and another object from another Universe into the same grid eg. Notification Number from Work Management Universe (SAP BI Query based on Customer Service Data Flow / Multiprovider) and Invoice Number from Invoicing Universe (SAP BI Query based on Invoicing Data Flow / Multiprovider). Common aspects for both of these could be say a Customer Account Number.
    As per my understanding, we cannot do this if we have created Universes on SAP BI Queries.
    Nearest possible option is to display two tables on the same WebI report - one from Work Mgmt Universe and other from Invoicing Universe.
    Please guide.
    regards,
    Rajesh K Sarin

  • QBE Report and Dynamic LOV

    I have a QBE Report on a table "A" where the value of a field "F" is the "id", of another table "B".
    For populating the table "A" I have create a form that uses a dynamic LOV (select name, id from B).
    In the QBE report, the value of "F" is the id, instead of the "name". How can I display the name?
    Moreover, if I "Update" a record, I would like to have (in the form for updating) the combobox with the complete LOV and NOT the text box with the id.
    How can I do that?
    thanks

    Hi,
    This happens in the case when a webview component has been added to a page and the mode selected is EXCEL. You see the excel dump on the screen.
    This was a bug and has been fixed in 902.
    Incase U want an excel report then you would have to use the RUN options available from the manage screen or navigator .This brings up a save option.You can open it or save the same and then open it.
    Thanks,
    Anu

  • Problem with a Display Only field based on a dynamic LOV

    I have a field/item which is based on a dynamic LOV:
    select DESCRIPTION display_value, STATUSID return_value
    from CTCXFRREQS_STATUS_LOV
    order by 1
    ...and I need it to be display-only on the page. However, if I make it a display-only field, the return value is displayed, not the display value. If I change it to be a select list field, the display value is shown, as I expect and need.
    The field was based on a static LOV before, and it worked perfectly then.
    Has anyone seen this before, and have any suggestions on how to work around it?

    Hi,
    In edit item
    Display As: Display Only
    Save Session State: Yes
    Based On: Display Value of List of Values
    Named LOV: YOUR_LOV
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Dynamic lovs in parameter forms ... Is this possible?

    Hi
    I am using report developer 10g on windows xp.
    I need a cascading prompt style dynamic LOVs in my report parameter form.
    The first LOV displays a set of values (say for eg. dept list). The second LOV will display another list, based on the value chosen by the user in the first LOV (Eg. List of employee names in that dept).
    My first LOV select statement may look like below for the user parameter say P_DEPT
    select deptno from dept;
    My sencod LOV select stmnt may look like below for the user parameter P_EMP
    select ename from emp where deptno = :P_DEPT
    Each time I try to set the second LOV, report developer complains "Bind variables not allowed in select statement"
    Same error msg comes if I reference the first user parameter(P_DEPT) as a lexical parmaeter.
    How do I acheive the above in report parameter form? Any help is appreciated greatly...
    Thanks
    Suma
    Message was edited by: suma
    user519129

    Hi Brad,
    Thanks for the reply. I had almost given up hope on receiving replies to this message.
    I do agree that it is simpler (and a lot striaght forward) to just use forms to develop dynamic LOVs of cascading prompt style, that is required in my app. But in our shop, we have integrated forms and reports in such a way, that all the report parameters are handled by report developer's own parameter form, rather than coding a separate logic on the forms side to handle the report parameters(as this has to be done on the forms side for every report that we generate, We thought it would be better to use the reports developer to handle the parameter input and then pass the .rdf to forms app). Currently in all our app, the parameter form generated by the report developer is rendered as HTML form on the browser (when the concerned rdf file is called within the forms app) and by submitting this we get the report output)
    Hence I am very keen to get this done somehow on the report developer side.
    I do hope I get some input on this. Also, its a little surprising that such a simple feature is not readily avalibale in the report parameter form. I hope oracle report developer team is reading this message...:)
    Thanks
    Suma

  • 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

  • Prompts in Universe based on Stored Procedure

    Hello All,
    I have a universe based on stored procedure. There are two prompts "Date from" and "Dateto" which I set up as "prompt me a for a new value" in the universe.
    When I run the webi report it prompts me to enter the date range. I enter and run the report, but when I refresh the report the dates that were selected before shows up in the prompt window(last values selected). How do I make it in a way that when I refresh the report the values are blank i.e it doesnt have the last values selected?
    I have saved the report as refresh on open but how do I avoid the prompt values?
    Thanks,
    Nisha

    Hi Nisha,
    Can you please share the code where you have mentioned the prompts?
    You may try to use @prompt function in stored procedure. Below post can help you:
    http://scn.sap.com/thread/1698709
    @Prompt('Enter prompt text','A/N/D',<lov>,mono,free,non-persistent)
    Use non-persistent parameter value as it is like unchecking "Keep last selected values" in prompt properties.
    Hope it will help.
    Regards,
    Yuvraj

Maybe you are looking for

  • Dialog programming, data being washed out in TAB Control

    Hi,      i am working on dialog programming , in which i am using Table Control  for user input (data is not coming from database table) . everything is going well till assignment of data to internal table but when control goes to PBO by any means li

  • Reg the sales order

    hi friends, How to find whether sales order is deleted or not. In which table and which field. Pls help me.

  • HOW DO I MOVE HOME MADE VIDEOS THAT ARE IN MOVIES TO HOME VIDEO...

    HOW DO I MOVE HOME MADE VIDEOS THAT ARE IN MOVIES TO HOME VIDEO. THIS PROBLEMS OCCURS IN WIN XP PRO OR MAC 10.6.8 CAN'T COPY AND PASTE, CAN'T IMPORT OR ADD TO LIBRARY; CAUSE IT IS ALREADY IN LIBRARY. I NOTICE THAT THESE SIMILAR ISSUES HAVE BEEN POSTE

  • Can you access secondary calendars with cfexchangecalendar?

    We're currently running CF8 with plans to move to 10 on release...One feature we would like to see is to have access to secondary calendars -- I previously asked the question on Stack Overflow http://stackoverflow.com/questions/836118/how-can-you-acc

  • Mac Best Practices?

    Hoping I can tack on some technical specifics here, but curious if anyone has any best practices for Mac clients on Cisco WLC-based networks.  We have a mix of 35xx-37xx AP's with 5508 WLC's and it seems that the MacBook Airs (maybe some Pros too?) t