Dependent LOVs in Discoverer Admin

Hi All,
Can we create dependent LOVs in Discoverer. If yes can anyone throw some light that.
regards,
gt1982

Well, let me try to clarify what Tamir said. I think you probably will need to do some setup work in Administrator. I am assuming that you want to do something like this in a worksheet - The user first clicks the LOV indicator on the Region parameter and picks a region from the Region LOV (say they pick the East region value), and then based on that region value, when they click on the City parameter LOV icon, the list of cities they see is filtered so that they only see cities in the East region (say New York City and Boston). To do this correctly in a worksheet, you need to define an Item Hierarchary in Discoverer Administrator. The two parameters must have some kind of relationship in the database to make this work.
Then once you have the item hierarchy defined, the rest of your work is in Discoverer Plus. You create the first parameter in the worksheet. In my example, you would create the Region parameter first. Next you would create your second parameter (in my example, that would be the City parameter). When creating the second parameter, that is when that section on the parameter window ("Do you want to filter the list of values for this parameter") comes into play. You will want to select the "Filter the list of values based on the selected conditions" option, and then find the condition name (for the Region parameter created condition) and select that condition. The term Oracle uses for this is "Cascading Parameters". So if you search on that term in the Discoverer Plus user guide, that will give you more information on this process.
Now, you do have to be careful. Ideally the folder with the relationship between the two parameters is based on a master table, not a detail table. If based on a detail table, you can run into performance problems when clicking on the LOV icon for the second parameter. The system may take forever to try to build that second LOV.
But the process does work. I have used it a couple of times.
Hope this helps a bit. Good luck.
John Dickey

Similar Messages

  • Complexity of PL/SQL in Discoverer Admin

    Hi,
    Read you can register PL/SQL in Discoverer Admin - how complex can this be?
    Something comparable to the stored procedures in SQL Server?
    I guess it returns only one value as the output?
    Thanks!

    As Rod mentions, it's a question of if you want to or not.
    One method I have used with this idea in mind, is when wanting to set up a table to report against, dependent upon a worksheet that does nothing more than take a user's input and runs the process.
    For example, you may need to build a table - for whatever reason - at the point a user runs the worksheet. Then the process runs, table built and the user goes to another worksheet to see / query the results.
    I've always had the function call a pl/sql script (and make sure you have the autonomous transaction statement as specified by Rod), you just register the function in Disco and all works fine.
    Russ

  • ADF Desktop Integration: How do I use dependent LOVs in Table Components?

    Hi,
    I have a table component that has a series of dependent LOVs. Now, while I understand that ADFdi allows for LOVs to be chained together by dependency, what I don't understand is how to get the child values to change based on a selection of a parent value. Is there a method binding I missed? Or is there some other mechanism I'm not seeing in the documentations? Hope someone can help shed some light on it - Google is darkness. Thanks.
    Cheers,
    Benjamin

    Repost

  • Dependent LOVs in form

    Guys,
    I do have two fields of LOV types on my form
    LOV attached to first field should display all the department. And second field should display all the employees assigned to the department selected in first field. Thats how I need dependent LOVs.. can you please guide me how it can be achieved.
    Thanks
    Sunil

    Hi Sunil
    second field should display all the employees assigned to the department selected in first field. Thats how I need dependent LOVs.Here is an example...
    Let's Suppose u have a rel between dept & emp table related with a FK called DEPT_NO that's what it should be
    Now when u select the 1st Lov it will disploay the DEPT_NO of the dept u selected this DEPT_NO will be displayed on ur form or will be hidden it doesn't matter.
    Now in the second LOV Record group u should write a similar select statment as follow...
    SELECT EMP_NAME,... etc.
    FROM EMP
    WHERE DEPT_NO = :DEPT_NO ;     Pls note that :DEPT_NO is the number of the department selected form the first lov in ur form, then all emp data will be displayed according to this DEPT_NO as ependent LOVs.
    Another approach u should be aware and think about it...
    u could u a drop down list dependent on one another specially if u don't have large number of departments in ur company.
    Hope this helps...
    Regards,
    Amatu Allah.

  • Getting error in dependent LOV

    jdev version: 10.1.3.3
    I have a dependent LOV in a page. It works fine except in one scenario. When I enter partial value in dependent LOV field and click torch icon, it gives following error:
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT org.organization_id, org.name org_name, org.attribute1 product_group, decode(org.attribute6, 'Y', 'Union', 'Non-Union') union_indicator, org.attribute7 union_name, bg.name bg_name
    FROM hr_all_organization_units org
    , hr_all_organization_units bg
    WHERE SYSDATE BETWEEN NVL(org.date_from, SYSDATE) AND NVL(org.date_to, SYSDATE)
    AND bg.organization_id = org.business_group_id
    AND bg.name = 'Test BG'
    AND SYSDATE BETWEEN NVL(bg.date_from, SYSDATE) AND NVL(bg.date_to, SYSDATE)
    ORDER BY org.name) QRSLT WHERE (product_group = :1 AND ( UPPER(ORG_NAME) like UPPER(:2) AND (ORG_NAME like :3 OR ORG_NAME like :4 OR ORG_NAME like :5 OR ORG_NAME like :6)))
    ## Detail 0 ##
    java.sql.SQLException: Invalid column type
    In order to populate dependent LOV based on independent LOV value, in LOV region CO.processRequest(), I am executing following am method:
    public void executeOrgLov(String criteria)
    OAViewObjectImpl vo = getLegalChgOrganizationsVO1();
    vo.setWhereClause("product_group = :1");
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0,criteria);
    vo.executeQuery();
    Any suggestion/help in this regard is highly appreciated.
    Thanks

    Hi,
    modify your code as follow,
    public void executeOrgLov(String criteria)
    OAViewObjectImpl vo = getLegalChgOrganizationsVO1();
    //vo.setWhereClause("product_group = :1");
    //vo.setWhereClauseParams(null);
    //vo.setWhereClauseParam(0,criteria);
    // I assume criterian is a string variable.
    if (criteria!=null) {
    vo.setWhereClause("product_group = "+criteria);
    vo.executeQuery();
    I hope it will solve your issue.
    Haroon.

  • Mandatory fields on the same page with dependent LOVs

    Hi,
    I am working on an ADF-BC application using JDeveloper 10.1.3.4
    I have an ADF Creation form with dependent LOVs and while implementing dependent LOVs we set the autoSubmit property of the selectOneChoiceListBox as true.
    If I have some mandatory fields on the same page then because of the autoSubmit property set as true whenever I select a value in the list the page gets submitted and the mandatory fields give an error that the values are required therefore I had to remove the mandatory fields.
    I tried using f:subview but even that dint serve the purpose because what I want is something like partialSubmit so that my mandatory fields do no give an error when I select a value in the list.
    Can somebody help me on this, how to have a dependent list and mandatory fields on the same page.
    P.S: It is very crucial for my application
    Thanks,
    Raksha

    Hello,
    This bug has been around since 10.1.3, its even still present in Trinidad and now in 11.
    One of the ways to avoid is to make your fields use:
    showRequired="true"instead of
    required="true"I have not found a decent way to avoid this in general.
    My idea was that this shiould be possible with a phaselistener and determine if this is a partial page event instead of a normal submit, but this didnt work.
    -Anton

  • Importing PL/SQL function in Discoverer Admin

    Gents
    I'm trying to import a PL/SQL function. In fact this functions is in a package.
    When I try to import in Discoverer Admin, I'm not able to see this package and the function.
    It's possible import a function from a package in Discoverer?
    Must a grant some privilege in package or create a synonym?
    Regards
    Honorio

    Hey,
    I have a similar problem.
    I created a PL/SQL Function which i registered in my EUL. Bun when I'm using this function on an item in a custom folder, this custom folder disappeared from my Discoverer Plus list of folders? When I delete the item which uses this function the folder shows up in my Discoverer Plus list of folders.

  • Unable to connect Oracle Application Database using Discoverer Admin 10g

    Hi,
    I have installed oracle Admin 10g on my machine and trying to connect oracle application database but every time i am getting error like "Unable to connect to: user@hostname Failed to connect to database Unable to connect to Oracle Application Database. Invalid username/password".
    Installed BI Discoverer Admin 10.1.2.1
    Discoverer Admin Client 10.1.2.48.18
    Database 9i
    I have done following steps:
    1. Selected radio button for Connect to Application EUL's.
    2.Gateway User ID (GWYUID)/Password :APPLSYSPUB/PUB
    3.FNDNAME:APPS
    I able to connect discoverer plus.
    Thanks
    Ravi

    Hi Ravi
    Glad to hear you solved this. It is very gratifying when one solves it alone, don't you think?
    Best wishes
    Michael

  • How to create dependent LOV in Advanced Table.

    Hi,
    How to create dependent LOV in Advanced Table. Pls help send me the steps.
    Thanks in Advance,
    Hanimi....

    Hi,
    Not sure whether you need dependent LOV or dependent poplist. But anyways, you can refer the below link for Dependent LOV
    http://oraclearea51.com/component/content/article/98-oa-framework/372-dependent-lov-in-oaf.html
    and for Dependent Poplist refer the below link:
    http://oraclearea51.com/component/content/article/98-oa-framework/370-dependent-poplist-in-an-advanced-table-in-oaf.html
    Regards,
    Sudhakar Mani
    http://oraclearea51.com/sudhakarmani

  • How to incorporate dependent LOV in an Advanced Table

    Hi,
    I have an "Advanced Table". Two columns are LOV columns.
    Eg.
    In the first column I have an DeptLOV and second column has EmployeenameLOV.
    In first Column DeptLOV I choose say Deptno 10 and it should filter and list only the names of the employees in the second column EmployeenameLOV it should list only the employees of Departnumber 10 and I should be able to pick one employeename from EmployeeNameLOV.
    I should be able to choose different Dept number and corresponding employee name in LOV different in each row.
    Thanks in advance.
    Lacman

    Thanks for you reply.
    But the issue is the dependent LOV inside an advanced table as described in my earlier post.
    Advanced table with dependent LOVs
    . c1 c2
    r1
    r2
    r3
    If an end user clicks on r1c1 LOV. He should be allowed only to click on r1c2. If clicks on r1c1 and directly clicks r2c2 he should not be allowed.
    How to accomplish this in an Advanced table in which the second column LOV is dependent on the first LOV.
    Regards,
    Laxman
    Edited by: lacman on Nov 18, 2009 7:19 PM

  • Can't create multiple dependent LOVs from the same bind variable

    Hi all,
    I'm having difficulty creating multiple dependent LOVs from queries based on the same bind variable in my JSF application (JDev 10.1.3.1). Basically I have a static LOV in a af:selectOneChoice component from which users select a value which then becomes the bind variable value for two separate queries that generate two different dependent LOV. Having developed the code along the lines of Steve Muench 's blog (http://radio.weblogs.com/0118231/2006/04/03.html#a685), the first dependent LOV works really well. The first dynamic LOV gets refreshed whenever the list from the static LOV changes, and I can execute other queries based on the values selected.
    The problem arises when I want to create the second dynamic/dependent LOV that has the same bind variable based on the same selected value from the static LOV. Here I would also like the functionality whereby the second dynamic LOV is also refreshed after the selected value in the static LOV changes. Thinking that all I had to do was replicate the methodology used in creating the first dependent LOV, I created the second iterator, invokeAction and other binding components in the PageDef. The executable section now looks like the following:
    <iterator id="SelectStaticQueryViewObjIterator"
                  Binds="SelectStaticQueryViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>
    <invokeAction id="refreshDynamicQuery1BindParameter"
                  Binds="ExecuteWithParams1" Refresh="prepareModel"
                  RefreshCondition="#{empty requestScope.VariableChanged}"/>
    <iterator id="SelectDynamicQuery1ViewObjIterator"
                  Binds="SelectDynamicQuery1ViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>
    <invokeAction id="refreshDynamicQuery2BindParameter"
                  Binds="ExecuteWithParams2" Refresh="prepareModel"
                  RefreshCondition="#{empty requestScope.VariableChanged}"/>
    <iterator id="SelectDynamicQuery2ViewObjIterator"
                  Binds="SelectDynamicQuery2ViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>I now have a problem whereby everytime I change the value of the static LOV, multiple HTML components for the same ADF component are being generated (the LOVs are refreshed via PPR). The surprising thing is that this duplicating behaviour applies to all ADF components listed after the first dynamic LOV in the *.jspx source. For example, I have a <af:outputText="Test Text"/> component created after the first dynamic LOV. Each time the value in the static LOV changes, a duplicate HTML component is created. This also applies to the 'related' second dynamic LOV which is bound to a af:selectOneChoice component - multiple dropdown lists are created. I've checked with the browser's Page Source and there are actually multiple html components being generated with their own unique ADF-generated IDs. I've tried all different options for the Referesh and RefreshCondition attibutes in the second invokeAction element but nothing seems to eliminate this issue.
    Any suggestions about how I might create multiple dependent LOVs from the same bind variable that get refreshed when the selected value changes would be greatly appreciated.
    Thanks
    George

    Hi all,
    Just updating the thread on how I've overcome this issue. As it stood the manner in which I was trying to solve my use case, as described above, was creating an absolute mess. Then with a blank sheet of paper I quickly realised that a much simpler solution would be to create a whole series of master-detail VOs and build my components around them. Thankfully I haven't had any issues going down this path as yet.
    Cheers
    George

  • Cannot See Database Tables in BI Discoverer Admin

    Hello All -
    My organization recently upgraded to Discoverer 10g from Discoverer 4i. In 10g the EUL is called BIEUL and in 4i it was called V9EUL. During the upgrade, all the Business Areas belonging to V9EUL in 4i were assigned to BIEUL in 10g. I'm not sure how our DBA accomplished this part of the upgrade.
    When I'm logged into BI Discoverer Admin (version 10.1.2.00.00) I am unable to see the database tables in order to create folders from them. For instance, today I want to create a brand new Business Area so I click on File...New to start the Load Wizard then I click on "Create a new business area" then I specify to load the meta-data from the on-line dictionary and click the "Next"button. In the next window (Load Wizard: Step 2) I can see all the available users as I expect so I check the user I want and click 'Next".
    Here's the point where the problem arises. In the window "Load Wizard: Step 3" I see the user I chose in the "Available" list on the left, but when I click on + to see the tables owned by the user it does not expand and I cannot go any further.
    I experienced the same thing when I try to add a "New Folder from Database" to an already-existing Business Area.
    Many Thanks in Advance,
    Patrick

    At first it sounds like it's a simple matter as the EUL owner not having the rights to see the tables / views pointed to by the EUL (grants).
    However, the part about the DBA where you say all BAs belonging to V9EUL in 4i wre assigned to BIEUL in 10g, I hope the DBA didn't do anything fancy. All the EUL manager should have to do is fire up the new version of Disco Admin 10g and it will see that the existing EUL is a version 4 one and will ask if you want to upgrade. Saying yes, you will get an entirely new EUL, tables, etc. created pointing to the same database tables / views as your still existing v4 EUL is.
    So you'll have 2 EULs - a v4 one and a v10 one as it's not a destructive upgrade.
    Is it possible the DBA hacked something? - or just a grants problem to the new EUL owner?
    Russ

  • How to find out the updates using query which has done in Discoverer Admin

    Hi All,
    I have done some updates in Discoverer Admin like add field in some folders and rename...I want to know the updates which has been done in the front end using sql query.
    Could any one please tell me is there any query to find out the updates in Discoverer admin.
    Thanks,
    Kamal

    Hi Siddarth,
    Solution :
            1) Go to SE16 - Table Name : EKBE (PO History)
            2) Field - BUDAT (Posting Date)
            3) Transaction event Type:
                             - 1 (Only GR's )
                             - 2 (Both GR and IR)
            4) We can fetch both GR Numbers and also PO Numbers for which IR has not been done if transaction event - 1.
    In addition to MB5S, you can try this also...

  • Dependent LOV throws Exception

    Hello,
    I want to implement a dependent LOV:
    I have a LOV Competency and a dependent Proficiency LOV.
    e.g. in Competence LOV I search for Oracle DBA then I only want the Proficiency level concering to Oracle DBA
    e.g. certified, not certified.
    The leading Competence LOV I have, does have the following select:
    SELECT <b>COMPETENCE_ID</b>,
    SEGMENT1
    FROM PER_COMPETENCES_V
    ORDER BY COMPETENCY
    The dependent Proficiency LOV
    SELECT <b>cpl.COMPETENCE_ID</b>,
    cpl.NAME COMPETENCY,
    cmp.RATING_SCALE_ID,
    rsl.NAME RATING_SCALE_NAME,
    <b>rtl.RATING_LEVEL_ID</b>,
    rtx.NAME RATING_SCALE_LEVEL_NAME
    FROM PER_COMPETENCES cmp,
    PER_COMPETENCES_TL cpl,
    PER_RATING_SCALES rsc,
    PER_RATING_SCALES_TL rsl,
    PER_RATING_LEVELS rtl,
    PER_RATING_LEVELS_TL rtx
    WHERE 1=1
    AND cpl.COMPETENCE_ID = cmp.COMPETENCE_ID
    AND cpl.LANGUAGE = USERENV ('LANG')
    AND cmp.RATING_SCALE_ID =rsc.RATING_SCALE_ID(+)
    AND cmp.RATING_SCALE_ID = rsl.RATING_SCALE_ID(+)
    AND rsl.LANGUAGE(+) = USERENV ('LANG')
    AND rtl.RATING_SCALE_ID IS NOT NULL
    AND rtl.RATING_LEVEL_ID = rtx.RATING_LEVEL_ID
    AND rtx.LANGUAGE = USERENV ('LANG')
    AND rtl.RATING_SCALE_ID = rsc.RATING_SCALE_ID
    AND rsc.TYPE='PROFICIENCY'
    ORDER BY cmp.COMPETENCE_ID, rtx.RATING_LEVEL_ID
    In both LOV Regions I use form values as NUMBER fields.
    form values:
    Competency LOV =>Competence_ID (Number)
    Proficiency LOV =>Competence_ID (Number),Rating_Level_ID (Number)
    Then I did the mappings for both LOVs. Additionally to Proficiency LOV mapping
    I add a mapping to get a conjunction between from Proficiency Level to Competence LOV
    The necessary mapping within Proficiency Level Region is as follows.
    LOV Region Item =>xxmiProfCompetenceID
    Criteria Item => CompLOV
    Everything renders fine, I can choose a comptency with a return value but when I search for a dependent Proficiency level
    I got the following error message =>
    The value Oracle DBA specified for the item xxmiProfCompetenceID
    oracle.apps.fnd.framework.OAException: The value Oracle DBA specified for the item xxmiProfCompetenceID is an invalid number.
    I have checked the column xxmiProfCompetenceID also in view object and there the value is also a number field.
    Can someone help me, please.
    Thanks
    Robert

    Hi Robert,
    The error suggest that value "Oracle DBA" is getting assigned for the item xxmiProfCompetenceId, please check.
    Regards,
    Reetesh Sharma

  • Not able to connect through Application user name in Discoverer Admin

    Hi,
    I created an EUL with all privileges it needed. I created a business area from that EUL and shared it to Application User name through giving access privileges (from Security and Privileges). When I am trying to login through the Application User name in Discoverer Admin it is giving the error like:
    Failed to connect to database - Unable to connect to Oracle Applcations database: invalid username/password.
    Earlier I did in another instance it worked fine but now itself I am facing the problem.
    Thanks & Regards,
    Arun Babu R.

    Hi,
    Please post the application release along with the database version and OS.
    What is the Discoverer version?
    Please see these docs.
    Connecting to an E-Business Suite EUL Using Any Discoverer Component Fails With "Authentication Failed" or "ORA-01017: invalid username/password;logon denied" [ID 364665.1]
    Discoverer 10g (10.1.2) Connections To Oracle E-Business Suite 12 Fails With 'Invalid Username/Password' [ID 443661.1]
    Discoverer 10g (10.1.2) Plus/Viewer Connection To E-Business Suite Database Fails With " invalid username/password" Error [ID 467919.1]
    Connecting to Oracle EBS 11.5.10 with Discoverer 4i/10g Fails with ORA-01017 Invalid Username/Password Error [ID 295037.1
    Discoverer Desktop/Administrator 10g (10.1.2.2) Fails To Connect With Error 'Unable to connect to Oracle Applications database: invalid username/password. ' Only Between Certain Hours [ID 757384.1]
    Connecting to Oracle EBS with Discoverer Fails with ORA-01017 Invalid Username/Password Error [ID 784358.1]
    Discoverer 4i Viewer/Plus Logon To Oracle Applications EUL Fails with "ORA-1017 Invalid Username/Password" Unless a Colon '' : '' is Entered After Username [ID 360314.1]
    Questions And Guidance For Troubleshooting Common Discoverer Desktop and Administrator Connection Issues [ID 415614.1]
    Thanks,
    Hussein

Maybe you are looking for

  • SAP IDM : Using regex for password

    Hi experts, I need your help about regex. We are trying to use this to be sure that password set in Web inteface by users are correct according to the company policies : - The first character cannot be a number - The three first characters cannot be

  • TREX connected to CRM through EP

    Hi folks, We’d need to know search capabilities of TREX connected to CRM. Our purpose is to search any CRM data or CRM object (users, notices, applications and so on) using TREX through EP. Is this possible? Could someone provide us documentation on

  • Backing Up Library onto external hardrive

    Well I got a 16 GB iPod touch and I'm running out of hard drive space (32GB out of 40GB). Is it possible to relocate the folder to an external hardrive

  • Launchd system agent before login for an onscreen keyboard.

    Hi everyone. I'm investigating the possibility of starting an onscreen keyboard for people to use to log into their user accounts with. I work for a company that deals with people with disabilities, and their computer problems. So far I've used Lingo

  • Recommended Video Card

    I just installed FCE and read somewhere that having a good video card was very important. I have a G5 with a NVIDIA GeForce 6600LE with 128 MB VRAM. Will this card do the job or should I upgrade to something else?