Filter EPM Property values based on another property in same dimension

Hi,
I need to restrict property values of a Dimension based on selected value of another property of the same dimension.
For example, in Material Dimension, I have properties Planner and LOB
Material
Planner
LOB
100
ABC
LOB1
200
ABC
LOB1
300
XYZ
LOB2
The Planner will select a Planner Name, based on which the corresponding list of materials should be shown along with LOB.
I have tried EPMDimensionPropertyValues but it doesnt allow to restrict the IDs based on another filter condition.
Please help.

Thanks everyone for the response.
As mentioned in the post, the requirement is a bit twisted.
Let me rephrase the requirement:
I need to have two dropdowns ( which should act as filters to the template).
MATERIAL diemnsion has a property PLANNER.
I need to have the first drop down as list of all PLANNERS ( I could do this easily by EPMDimensionPropertyValues).
For the next dropdown, I need to show only those MATERIALS which has PLANNER1 ( lets say, PLANNER1 was selected in the first dropdown).
I am facing issues for the second dropdown, as I cannot have a condition to show the Property (ID) values in EPMDimensionPropertyValues
Also note that MATERIAL is not present in the report ( this is because we need a different aggreagation for material in the report) so we cannot use EPMDiemnsionOverride.
Please help.

Similar Messages

  • How to use SQL import to set the attribute value based on another?

    Hello all,
    I want to set an attribute of a dimension based on another attribute (if matches). Let's say I have a dimension PRODUCT. And I have defined two user defined attributes MANAGER and ISVISIBLE.
    Now within a PERMIT_READ program I want to set the ISIVISIBLE to true where the MANAGER Value is selected from a table.
    Something like
    <define a cursor c1 to select all the Manager values>
    sql import c1 into -
    :MATCHSKIPERR PRODUCT_MANAGER then <PRODUCT_ISVISIBLE (PRODUCT MANAGER) = true>
    <etc>
    Obviously the above is not correct. But I am stuck as to how this can be done? Can some one on this forum please help me with correct syntax/ approach please?
    Thanks a lot.
    Pxsheth
    This statement assigns true to the isvisible attribute for every gc_dim_bu dimension (selected as part of cursor c1).
    SO FAR SO GOOD.. NOW -
    If I want to change the above so that the attribute value gets assigned based on another attribute for the dimension (say a flag). i.e.
    Set the isvisible to true where attribute flag has a certain value. How do I code this in OLAP DML?

    There are a number of ways to do this. If you want to use an attribute that has been defined within AWM as an attribute of Product then simply using the mapping tool to populate the attribute as part of the normal dimension load procedure.
    Alternatively you could create an attribute at the DML level, and assuming you are not using surrogate keys, you can then define a cursor to read the relational table to populate your attribute. Something like this:
    sql declare MKT_BASKET cursor for -
    select PRODUCT_ID, PROD_MGR , PROD_VISIBLE -
    from PRODUCT_DIM
    if SQLCODE ne 0
    then goto ERROR
    sql open MY_CURSOR
    sql fetch MY-CURSOR loop into :append PRODUCT, :PRODUCT_MANAGER, :PRODUCT_ISVISIBLE
    sql close MY_CURSOR
    sql cleanup
    update
    commit
    If you want to create a complex PERMIT function using OLAP DML then personally I would create a formula and assign a program of type BOOLEAN and have the program return a YES or NO depending on the outcome of your test. Then your PERMIT_READ still references a dimension object. For example:
    DEFINE PROD.ISVISIBLE BOOLEAN FORMULA <PRODUCT>
    EQ PRG.ISVISIBLE(PRODUCT)
    DEFINE PRG.ISVISBLE PROGRAM BOOLEAN
    The program will then return Yes or No depending on the processing you need to do.
    Hope this helps
    Keith Laker
    Data Warehouse Solution Architect
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Change column value based on another

    Hi, everyone.
    my version 11.1.2.2.0.
    i wanna change 1 column's value based on another column's value that be selected.
    ex: select 2rd column to 'A' , then the 1rd should be 'New Start'.
    i used EL like #{row.bindings.MacdType.inputValue eq 1 ? 'New Start' :  row.bindings.CircuitId.inputValue}.
    But it does not set the inputvalue which should binding with the DataSource.
    what's the best way to do these logic?
    pls help. thx

    Hi,Abhijit;
    ex: the frist column is a LOV, the user select "A" for the first column, so the value of the second column should be changed to 'New Start'.
    And the value should be binding to the DC, when save, the value of the 2rd column should be saved to DB.
    thx

  • Getting Array value based on another value

    Hi
    Im pretty new to Powershell, havnt tried to code in almost 15 years so Im a Little rusty to say the least. Im trying to make a script where I import a csv file into an array and then use foreach on one value to output another value. An example of the csv
    file could be the following.
    Client,Email,EmailAddresse
    Company1,No,[email protected]
    Company2,Yes,[email protected]
    Company3,Yes,[email protected]
    I have tried the code below to import the csv file into an array and then output the email address where email was set to "Yes"
    $clientlist = Import-Csv E:\Script\Clients.csv
    foreach ($client in $clientlist | where {$_.Email -eq "Yes"})
         Write-host $clientlist.emailaddresse
     When I execute the code I get the following output:
    [email protected] [email protected] [email protected]
    [email protected] [email protected] [email protected]
    What I would like to get is just the one email address in each line, matching the email address from the csv where the value "email" was set to "Yes". What am I doing wrong?
    Thank in advance
    Anders Lausen

    You could just filter using Where-Object without the need for the ForEach.
    Import-Csv E:\Script\Clients.csv | Where {
    $_.Email -eq 'Yes'
    } | Select EmailAddress
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book

  • Can you mask a field value based on another?

    In XML publisher, is it possible to not display field values based on a value from another field?  If so, how can this be accomplished?
    For example, I have a field value for Address Line 1 as "123 Main Street".  I don't want the City, State, Zip, County and Country to be be displayed in the pdf output.  However, all other Address Line 1 values should be displayed.
    Thanks in advance,
    -joe

    PLD is a very basic tool.  The goal you try to achieve may not be available as I know of.
    Thanks,
    Gordon

  • Update col value based on another tbl - update, case stmt, subquery

    I need to
    1) add a column col1 to existing table tbl1;
    2) the value of col1 will be updated from the column col2 value from table tbl2;
    3) if the tbl2 returns many records or no records, the col1 value will be defaulted to 0; otherwise it will be the unique value from the col2 of tbl2
    I am stuck.
    Thanks.

    hI,
    new2Oracle wrote:
    I need to
    1) add a column col1 to existing table tbl1;Use ALTER TABLE.
    2) the value of col1 will be updated from the column col2 value from table tbl2;
    3) if the tbl2 returns many records or no records, the col1 value will be defaulted to 0; otherwise it will be the unique value from the col2 of tbl2Use a CASE expression to test if there is exactly one matching row or not, and return a value based on that.
    For example:
    UPDATE  tbl1     t1
    SET     col1     = (
                SELECT  CASE
                        WHEN  COUNT (*) = 1
                        THEN  MIN (col2)
                        ELSE  0
                      END
                FROM       tbl2
                WHERE       common_column_1     = t1.common_column_1
                AND       common_column_2     = t1.common_column_2
    ;Since the sub-query is using an aggregate function (COUNT), the value returned must also be an aggregate (like MIN) or a constant (like 0). In cases where there is only 1 row, we could use MAX, AVG or SUM instead of MIN to get the value of that one row.

  • Unable to filter LookupSet values based on another Lookup value

    Hey all, I've got a report item where I'm pulling a list of values using a lookupset. The lookupset is working as expected, however I need to filter those results based on a different value which belongs to the same dataset as the lookup value. I'm trying
    to filter on the tablix but nothing I try is working to filter. I just end up with no data when I know I should be getting one value. I tried filtering using a lookup and lookupset expression but that doesn't seem to be what is needed. This is my first time
    really diving into lookups so any help would be appreciated.
    Thanks,
    Bryan
    (using report builder 3.0)

    Do you only want the values where type = "Writing Assignment 1". If that is the case then modify your LookupSet as follows:
    =Join(Lookupset(Fields!identifier.Value+"Writing
    Assignment 1",Fields!Student.Value+Fields!value.Value,
    Fields!value.Value, "Comments"), vbCrLf)
    This will require that identifier matches student and type matches "Writing Assignment 1".
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • How to load one filter values based on another filter selection

    Hi,
    I have a Query/Report that contains the following filters
    Product Family
    Product Line
    Product
    all the above InfoObjects are independent, now i need a functionality where in if i select a Product Family then all the Product Line belonging to that Product Family should get loaded in the filter selection, same way when a Product Line is selected the all the Products under that Product Line should get loaded ni Products filter.
    Please let me know how this functionality can be achived.
    Thanks
    Akila. R

    Hi Akila,
    I am assuming you query runs on a cube that loads data from the source system. In that case cube will contain only valid cobminations of Product Family & Product Line.
    In order to make sure that if a cetain Product Family is chosen you want to see only the relevant Product Line as available in the cube do the following:
    Go to Query Designer Filter
    Pick Product Family > Properties> Advanced. Under the Tab Filter Value Selection during Query Execution choose 'Only Values in InfoProvider'
    Do the same setting for Product Line as well.
    Hope this helps.
    Regards,
    Amrita
    Edited by: Amrita Goswami on Jun 23, 2009 7:26 AM

  • Fill a key segment value based on another.

    Hello.
    Recently my company bought another in a different country. Until now, all companies used the same SOB because all fiscal requirements were the same. For this new company we need to fill the Natural Account Segment of the Accounting Flexfield with the actual set of values but also to register the new required values on another segment. When creating the Accounting Flexfield, we left two “to future use” segments which are not being used. My intention was to automatically fill in this segment based on the values entered on the actual Natural Account segment. Does anyone know if there is a way to achieve this? We are on APPS 11.5.10.2.
    Thanks in advance for any kind help.
    Octavio

    Hi,
    In ProcessFormRequest method we can't set Bean's property as per your requirement.
    But still you can try following programatically. Not sure as I have never tried but give it a shot :)
    In ProcessRequest:
    1. Create a VO dynamically having a transient attribute. Attach this VO to AM of that page.
    2. Create a new row for this VO and set the transient value to "no"
    3. Bind an event (firePartialAction) on the item mapped to 1st segment i.e. your LOV.
    4. Bind a SPEL to Required property for the textInputBox mapped to segment2. SPEL will have the VO you have created in step 1.
    In ProcessFormRequest:
    1. Check for the event of segment1
    2. If yes, Check the value selected.
    2. If this is the value you want textInputBox to set mandatory, set the transient Attribute of VO created in ProcessRequest's Step 1 to "yes".
    Hope it works.
    Thanks,
    Mukesh Uchaniya

  • Restrict variable values based on another variable in the bex query...

    I am struggling to restrict the variable values from other varaible in the selection criteria. I have a variable which restricts he organisation(0ORGUNIT) and another to restrict employees.
    When the user selects any organisation unit form the hierarchy, I want only those employees related to that organsation in the varaible selection options.
    Is there any way I can make a variable values dependant on the another variable value in variable selection screen?
    Thanks,
    Your help in this matter will be much appreciated.
    Edited by: Kthapa on Nov 25, 2010 11:08 PM

    Hi Kthapa,
    Did u try using cmod?
    i_step = 1? Used to provide default values for the selection screen variables and
    i_step = 2 for filling up the variables after selection screen.
    Try using based on ur requirement.
    Hope this helps. Revert back for any queries.

  • Filter looking for values based on other values

    Hi, is it possible to create a filter that returns items from the cache based on some criteria of other items in the cache.
    E.g. suppose I have a cache containing cars. I would like to create a filter that filters out all blue cars, but only if the cache also contains a red car.
    Best regards
    Jan

    Hi Jan,
    it is doable in a single pass in an aggregation, but it will not be too efficient for cases where no red cars exist.
    The problem is that in case of a partitioned cache, it is possible that there is a single red car in the cache on a separate node from the blue cars. In this case the blue cars should be returned. However it is also possible that there is no red car in the cache.
    In this example the nodes with the blue cars from the previous example won't be able to distinguish the two cases from one another based on only their own data. Therefore they have to return the blue cars, and let the client throw away all data based on whether the existence of a red car was indicated.
    If red cars are an unlikely event, it is better to first query (or aggregate for minimum traffic) for the existence of the red car, and only if it exists, then query for blue cars.
    If red cars are a probable event and having as few roundtrips to the cache as possible is more important then efficiency, then it is probably better to just (in parallel) aggregate the blue cars and indicate whether a red car exists on that node or not.
    For aggregations and particularly for parallel-aware aggregations, you can look at the following page:
    http://wiki.tangosol.com/display/COH34UG/Provide+a+Data+Grid#ProvideaDataGrid-DataGridAggregation
    Best regards,
    Robert

  • ViewObject Default Value Based on Another ViewObject

    I need to pull the default value for a view object from the current row of another view object.
    Client uses a combobox to select a 'Location'. Then in the other view objects, I use that location for all new rows. This way they only select their location once.

    Thanks for the reply!
    In our case we're actually managing users within our own database table; not the build-in security. When a user registers, a new row is created and we're trying to set their display name automatically based on the values they enter on the registration page. They won't be able to edit the display name on the registration page, and it won't be displayed until they log in (though the user should be able to change their display name on their profile management page). We have come up with a workaround that seems really messy: set a default value (basically a placeholder) for the display name in the EO attribute properties, then set the display name to <firstname> <lastname> in the prepareForDML() method in EOImpl.java if the entity state is new. This doesn't seem like a proper solution to us, and we're really hoping there's a better way.
    Thanks,
    Alex

  • Prompt value based on another prompt(Multi Select prompt)

    Hi Expert,
    I have two multiselect prompt Continent and conutry
    my req is when I select continent in the first prompt then second prompt sholud show the country based on first prompt value.
    Ex : If I select Asia in continet then country prompt sholud show only Asia's country.
    any sugeestion pls.
    i know constraint but only possible in drop down prompt..

    Hi,
    Constrain is not applicable for edit box only.We can use it for drop down list and multi select also.Other wise go for the presentation variable.
    mark if helpful/correct...
    thanks,
    prassu

  • How can we make lov as default value based on another lov values

    Hi Experts,
    Example
    we r having 2 lovs asume that lov1 and lov2 based on lovv1 i want to make lov2 as a default .
    We have done the steps as mentioned in this forum. actually its returning null value.
    appreciate your help on this. Pls find the below code.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am= pageContext.getApplicationModule(webBean);
    if(pageContext.isLovEvent())
    if("lovValidate".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)) && "lovUpdate".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM))||"lovPrepare".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    String lovInputSourceId = (String)pageContext.getLovInputSourceId();
    if("lov1id".equals(lovInputSourceId))
    OAMessageLovInputBean lovBean=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("WorkOrder");
    String lovInput = (String) lovBean.getValue(pageContext);
    OAViewObject vo = (OAViewObject)am.findViewObject("ChargeTimeWorkOrdersLovVO");
    if(vo != null)
    OARow row = (OARow)vo.getCurrentRow();
    if(row!= null)
    OAMessageLovInputBean lovBean1=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("lov21d");
    String value=pageContext.getParameter("lov2id");
    if(lovBean1!=null)
    lovBean.setText("10"); }
    Regards,
    Srinivas

    Hi Gyan,
    We are gettign Null Pointer exception.
    This is the code after modification for the current row:
    OAApplicationModule am= pageContext.getApplicationModule(webBean);
    if (pageContext.isLovEvent()) { String lovInputSourceId = pageContext.getLovInputSourceId(); 
    if("WorkOrder".equalsIgnoreCase(lovInputSourceId))
    OAViewObject vo = (OAViewObject)am.findViewObject("ChargeTimeWorkOrdersLovVO");
    vo.getCurrentRow();
    {  OAMessageLovInputBean compBean=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("OpSeqNum");  
    if(compBean!=null)
    {   compBean.setValue(pageContext,"10");          } } }
    This is the error stack:
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2867)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:889)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.lang.NullPointerException
         at xbol.oracle.apps.eam.workplan.webui.XXChargeTimeCO.processFormRequest(XXChargeTimeCO.java:97)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2863)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:889)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    java.lang.NullPointerException
         at xbol.oracle.apps.eam.workplan.webui.XXChargeTimeCO.processFormRequest(XXChargeTimeCO.java:97)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2863)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:889)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    Regards,
    Srinivas
    Edited by: 878523 on Aug 11, 2011 4:03 AM

  • Selection values in query should have help values based on another field

    Hi all,
    I have the following requirement:
    I have a query in which there are the following two filters in the
    selection criteria:
    1. COuntry
    2. State
    Based on the Country selected, the values for the State should come up
    in the Help values in the slection criteria. The user then shall select from these values.
    I plan to use a variable for Country with Replacemetn path as the second query whcih shall have Coutnry and States.
    Is this right or can I do this in a better way? Please suggest.
    Thanks and Regards,
    Srilakshmi B

    Hi,
    See you can achieve this through exit variable.
    Try to create one custom table or try to refer to master data tables may be?
    Custom table need to maintain your master data and need to be referred in below code.
    INCLUDE ZXRSRU01 *
    Enhancement: MultiProvider using InfoProvider Variable
    include YBW_INFOPROVIDER_VARIABLE.
    *& Include YBW_INFOPROVIDER_VARIABLE *
    DATA:
    ls_var TYPE rrs0_s_var_range,
    ls_range TYPE rsr_s_rangesid,
    l_contained TYPE c,
    ls_mapping TYPE ybw_mapping,
    lt_mapping TYPE TABLE OF ybw_mapping.
    Called after variable popup
    IF i_step = 2 AND i_vnam = 'INFOPROV'.
    - 13 -
    Read mapping table
    REFRESH lt_mapping.
    SELECT * FROM ybw_mapping INTO TABLE lt_mapping.
    Process all selection for country variable
    REFRESH e_t_range.
    LOOP AT i_t_var_range INTO ls_var WHERE vnam = 'S_COUNT'.
    Process all mapping rules
    LOOP AT lt_mapping INTO ls_mapping.
    Always fill LOW and HIGH, Otherwise logic below will not work
    IF ls_mapping-high IS INITIAL.
    ls_mapping-high = ls_mapping-low.
    ENDIF.
    Check if selection is contained in the defined InfoProvider
    CLEAR l_contained.
    CASE ls_var-opt.
    WHEN 'EQ'.
    IF ls_var-low BETWEEN ls_mapping-low AND ls_mapping-high.
    l_contained = 'X'.
    ENDIF.
    WHEN 'BT'.
    IF ls_var-low <= ls_mapping-high AND
    ls_var-high => ls_mapping-low.
    l_contained = 'X'.
    ENDIF.
    ENDCASE.
    Add InfoProvider to return table
    Note: Use COLLECT to avoid duplicates
    IF l_contained = 'X'.
    CLEAR ls_range.
    ls_range-sign = 'I'.
    ls_range-opt = 'EQ'.
    ls_range-low = ls_mapping-infoprov.
    COLLECT ls_range INTO e_t_range.
    ENDIF.
    ENDLOOP. " lt_mapping
    ENDLOOP. " i_t_var_range
    EXIT.
    ENDIF.
    Thanks and regards

Maybe you are looking for