LOV with different query values

Hi,
I am using JDeveloepr 11.1.1.1.4 and ADF-BC in my project.
In my project,in one of the pages,I need to open a popup on click of button[near an input box] and show an LOV in the popup.
On selection of the value in the LOV and some business logic,the value has to be set to the input box in the calling page.
I have 10 input fields in my page,with 10 buttons besides them and I have to open the same popup and same kind of business logic needs to be implemented to return and set the values
in the calling page except that the query to display the LOV values is different each time.
Basically same popup page needs to be displayed every time,but the query to display the values for LOV is different every time.
If LOV is built through read only view object,then I cannot the change query :(
Please advice on how to achieve this.
Thanks,
Praveen

Assume the following sample as per your use-case.
Departments VO is to shown as a LOV for ten different attributes in Employees VO, but the set of departments to be shown are different for each LOV/attribute.
For each of the attributes in Employees VO, while defining the LOV, create separate view accessor for each of the attributes. In your case, as each of the LOV are totally distinct, you might need 10 different accessors for each of the attributes defined as a LOV in Employees VO.
For applying view criteria, you could apply different view criteria for different view accessors created as follows:
As for example, for attribute1 in employees VO, you would like to show only departments starting with 'A'. In this case, define a view criteria in Departments VO as DeptWithStartingA.
Now in the Employees VO, for attribute1, select the view accessors created by moving to the view accessor tab & shuttle the VC to be executed.
Similarly do for all other attributes.
Why can't we use single view accessor for all the attributes? - you cannot because while you select a value for one attribute defined as LOV in employeesVO, the corresponding row is set as selected. But when you choose the other attribute using LOV, all other previous selections would point to the same.
Thanks,
Navaneeth

Similar Messages

  • How to run the APD programmatically with different query variables

    Hi All
    I have a requirement to run a APD with a query in it programmatically on a series of posting periods from 1 to 10 I want to run the APD once for each posting period.
    Any idea how I can do this.
    Thanks
    Karen

    Karen,
    Create a variable on posting period in the query.
    in tcode RSRT, choose the query name , here you have the option of creating query variants. create different variants and save it.
    In APD, when you choose the query, you have the option of choosing query variant, choose the variant you created in rsrt.
    You can automate by including the APD with different query variants in a PC.
    Sharat

  • LOV with a query Bind Parameter

    Hello,
    I am following the JHeadStart PDF tutorial over the HR Schema. On the page 45 this tutorial shows how to make a Dynamic Lookup with a Query Bind Parameter to choose the employees of a department with the expresion "p_dpt_id=#{bindings.DepartmentsDepartmentId.inputValue}".
    After that I tried to make the same using a LOV instead of a Lookup but on the popup window opened with the LOV table the "#{bindings.DepartmentsDepartmentId.inputValue}" value is null and I can´t access to this information. If on the LOV definition I write for example "p_dpt_id=30" this work ok and filters the query for the employees of the departen 30, but not with "p_dpt_id=#{bindings.DepartmentsDepartmentId.inputValue}"
    There is another way to do that?
    Thank you very much

    I have done this task using the aid of the JHeadstart manual and these two previously posted threads,
    Group Used as LOV does not return records
    Query Bind Parameters and LOV's [JHS 10.1.3.1]
    The actual process to do it feels rather unintuitive and complicated, but I've tested it and thus far is works flawlessly.
    I whipped up a demo of this using the HR schema and JHeadstart, maybe I will post it on here.

  • CreateInsert and LOV with multiple return values

    HI. I am on Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
    I have a View Object which is based on Entity Object.
    View Object has customer_name and customer_id attributes.
    customer_name attribute has LOV (input field with LOV) based on some other View Object (which of caurse holds customer name and customer id data)
    I defined that when LOV return the chosen values it will populate customer_name with "Customer Name" value and customer_id with "Customer Id" value
    All atributes are updatable
    I droped my View Object on the page and also "CreateInsert" buton. When I click on "CreateInsert" button, I can see new row added as expected, customer_name field has LOV. I can choose from LOV and can see customers and customer_id data. But when I click OK in the LOV pop-up only customer_name attribute is populated!
    I do see that customer_id is returned from LOV (I implemented ReturnPopupEvent listener), but still the customer id remains empty.
    I though maybe I need to add LOV as auto submit = true and set LOV to be a partial trigger for customer_id. But still  - it didn't help
    However, if I run Application Module tester, I do get what I want. I can create new row and when I change customer name , both customer name and customer id fields are populated
    Please advice

    Hi Michael,
    On Lov VO, make sure you have at least one or combination of attributes as Key attribute. and re test.
    Thanks,
    Jeet

  • Same Sequence# with different applied value in v$archived_log

    Hi everyone,
    I have an issue with one of the dataguard servers here.
    Basically, looking at the v$managed_standby, it is still applying the latest archived log sequence.
    However when I checked for unapplied archived log from v$archived_log, I found at least 1 sequence# which was quite old (around a few days old) not applied.
    my query to check this is:
    SELECT sequence# from v$archived_log where applied = 'NO';result:
    SEQUENCE#
        40154
        40546with a different query I found an interesting result
    select sequence#, recid, stamp, status, applied from v$archived_log where sequence# in (40154, 40546);result:
    SEQUENCE#      RECID      STAMP S APP
        40154       8093  777156019 D NO
        40154       8095  777156053 D YES
        40546       8486  777673729 D NO
        40546       8487  777673734 D YESAt the time I ran this query, the v$managed_standby are as follow:
    select process, status, sequence# from v$managed_standby;result:
    PROCESS   STATUS        SEQUENCE#
    ARCH      CLOSING           40562
    ARCH      CLOSING           40557
    MRP0      APPLYING_LOG      40563
    RFS       IDLE                  0
    RFS       IDLE              40563A simple solution to get those un-applied archived log to be applied is to restart the standby database instance.
    Another finding from the production database:
    select recid, stamp, sequence#, creator, registrar, standby_dest from v$archived_log where sequence# in (40154, 40546);result:
    RECID      STAMP  SEQUENCE# CREATOR REGISTR STA
    45446  777156011      40154 ARCH    ARCH    NO
    45447  777156017      40154 LGWR    LGWR    YES
    45450  777156051      40154 ARCH    ARCH    YES
    46231  777673709      40546 ARCH    ARCH    NO
    46232  777673728      40546 LGWR    LGWR    YES
    46233  777673733      40546 ARCH    ARCH    YESThe question is of course, why is this happening?
    Can this be prevented?
    Thank you,
    Adhika

    CKPT wrote:
    I have an issue with one of the dataguard servers here.
    Basically, looking at the v$managed_standby, it is still applying the latest archived log sequence.
    However when I checked for unapplied archived log from v$archived_log, I found at least 1 sequence# which was quite old (around a few days old) not applied.
    my query to check this is:
    SELECT sequence# from v$archived_log where applied = 'NO';result:
    SEQUENCE#
    40154
    40546
    Even if old archives applied or not, it will keep transfer the archivelogs from primary. Please confirm that you been executed above query in standby.. is it?Yes I ran it from the standby database
    CKPT wrote:
    with a different query I found an interesting result
    select sequence#, recid, stamp, status, applied from v$archived_log where sequence# in (40154, 40546);result:
    SEQUENCE#      RECID      STAMP S APP
    40154       8093  777156019 D NO
    40154       8095  777156053 D YES
    40546       8486  777673729 D NO
    40546       8487  777673734 D YES
    How many remote/standby destinations you have in your DR setup?
    Might this query you have executed in primary, You should always use DEST_ID when executing from primary (or) do check in standby database, Because the applied column you have to check in standby , If you see above the same sequence showing applied in one destination & not applied on other instance, so please do select for dest_2 or in standby.I have only 1 standby destination.
    The query above was executed in the standby database server as well as to show that the same sequence# has different result in the applied column.
    CKPT wrote:
    The question is of course, why is this happening?
    Can this be prevented?What is your Online redo log file size (or) how much average archive log file size?
    This issue happens when Network glitch while transferring archives from primary to standby RFS , So when is big enough in such conditions it will be in status can be WAIT_FOR_LOG.
    BTW, which redo transport you are using? -- recommended to use LGWR
    Is there any network problem?
    check for exact problem either from primary alert log file or from below query,
    SQL> select severity,error_code,message,to_char(timestamp,'DD-MON-YYYY HH24:MI:SS') from v$dataguard_status;
    SQL> select sequence#, to_char(completion_time,'DD-MON-YYYY HH24:MI:SS') from v$archived_log where sequence# in (40154, 40546);
    HTH.The redolog file size is 100MB and so does the archive log file size.
    I'm using LGWR ASYNC
    these are the result of the query which I modified slightly:
    query:
    select severity,error_code,message,to_char(timestamp,'DD-MON-YYYY HH24:MI:SS') from v$dataguard_status where message like '%40154%' or message like '%40546%';result:
    SEVERITY ERROR_CODE MESSAGE                                                                                              TIMESTAMP
    Warning           0 LNS: Standby redo logfile selected for thread 1 sequence 40546 for destination LOG_ARCHIVE_DEST_2    11-MAR-2012 20:28:44
    Warning           0 ARC1: Standby redo logfile selected for thread 1 sequence 40546 for destination LOG_ARCHIVE_DEST_2   11-MAR-2012 20:28:49The message for the 40154 must have been purged.
    It appeared to me that sequence 40546 has been sent twice, by LNS and ARC1.
    query:
    select sequence#, registrar, creator, standby_dest, dest_id, to_char(completion_time,'DD-MON-YYYY HH24:MI:SS') completion_time from v$archived_log where sequence# in (40154, 40546);result:
    SEQUENCE# REGISTR CREATOR STA    DEST_ID COMPLETION_TIME
        40154 ARCH    ARCH    NO           1 05-MAR-2012 20:40:11
        40154 LGWR    LGWR    YES          2 05-MAR-2012 20:40:17
        40154 ARCH    ARCH    YES          2 05-MAR-2012 20:40:51
        40546 ARCH    ARCH    NO           1 11-MAR-2012 20:28:29
        40546 LGWR    LGWR    YES          2 11-MAR-2012 20:28:48
        40546 ARCH    ARCH    YES          2 11-MAR-2012 20:28:53This query proved that the primary database is actually trying to send twice with a different completion time.
    Why does the primary database has to send twice?
    Thanks for replying,
    Adhika

  • Same Batch Number with different characteristics value

    Dear Gurus,
    I have the following scenerio:
    The finished goods should be maintain in batch with external number  and at the time of confirming the finished goods in co11n the client want to capture the finished goods value like length, width and diameter.
    So we propose the batch characteristics with class type of 022 for finished good and we maintain the character as length, width and diameter under the batch class 022 and assign the batch class in finished good classification view.
    Now the requirement is we want to capture the batch characteristics value length width and diameter with same batch number for multiple confirmation.
    Example:
    Confirmation      Batch number               batch Class               Length     width     Diameter
    1                        1000                              022                              100        50             20
    2                        1000                              022                              120        25             10
    3                        1000                              022                              150        70             30  
    Now at present we are trying to capture the batch characteristics with same batch number but our standard system will not allow to maintain the different batch characteristics value under same batch number. If we overrite the batch characteristics in msc2n transaction the last value maintained be copied to all batch number. but we want same batch number with different batch characteristics value.
    Please share your idea and try to solve..
    Regards,
    Vimal

    Dear Vimal,
    It is not possible to maintain multiple batch characteristics in one batch.
    Work around is to create original batches and assign to your production order.  During CO11N, generate one batch per confirmation.  There is a report in batch information cockpit to link between original batch and batch per confirmation. 
    Rgrds,

  • Two tables with different filter values base on a analysis

    Hi guys,
    let assume that I have a analysis with columns : group_id and sales.
    Based on it I would like to create two tables : table1 where group_id =1 and table2 where group_id = 2.
    Is OBIEE capable of doing it?
    Regards,
    Slavi

    Hi Slavi,
    You can do that in single analysis, but you need to have the group_id column two times.
    That is, bring group_id_1, group_id_2 (same column), sales
    Now in table 1,
    bring group_id_1, sales
    Then in selection steps for group_id_1 -> Select Members -> Action choose keep only -> choose the filter value 1
    This will filter the table 1 with group_id 1
    In table2 bring group_id_2, sales
    Then do the same step for group_id_2 with value 2.
    now in same report you have two reports with different filter.
    If you want you can keep the same column name for both group_id columns, I just kept group_id_1, group_id_2 for easy reference.

  • How do I write harmonies with different note values?

    I'm new to GarageBand and have been working with the score on the software grand piano.  At first, I'll write a melody line and then go back to add harmony.  When I try to add a harmony that has a different rhythm, GarageBand automatically changes the melody to match the rhythm of the harmony.  I'm trying to write the parts in the same staff so that the piano part can all be printed on the same page.  Any thoughts/help on how to write the piece with different rhythms in one measure?

    Have you tried to click the clef to get two lines of notation? I enter the chords in the bass clef line, if I need a different rhythm, for example: Or make the edits in piano roll.

  • How do you create a graph in numbers with different x-values?

    For my chemistry class I have to create one scatter plot with three different sets of "x" and "y" values. I have done it before but it is not working. What is an easy way to accomplish this?

    All X and Y data has to be in regular cells, nothing in header rows or header columns. It should be organized as X1,Y1,X2,Y2, etc.
    Select all the data
    Choose to make a scatter chart
    At the bottom left of the Numbers window there is a little text box that probably says "Plot Columns as Series". Click on it and unselect "Share X Values"
    It is beyond me why Apple put that control in the bottom left corner in a place where you wouldn't think to look because it is far from the chart and far from the table and far from all the other controls you will be using to create and format the chart..

  • Line chart with different "colors": Values not available are displayed as 0

    Hello,
    I defined a line chart with more than one lines (aka "colors" in the chart wizzard) - each line representing the (monthly) values of a year. x axis are the 12 months of the year; y axis are the values.
    When one defines such a line chart in BIP client there is a choice between sum, average and count for the data values.
    This is no problem for my template as there is only one value per month/year - so I used sum.
    The problem: for the actual year there are no values for future months . But bip nevertheless shows 0 for this month/year... Can one prevent this?
    Regards
    Peter

    Solved it finally - unavailable values must explicitly be passed to the report with nothing contained in the value tag.

  • Tax Requirement - with different base value

    Hi,
    We have material (Service) for which the tax calculation should be as follows:
    If the quantity is 6, say the per unit value is 100 $. Then the first 4 will have tax calculation of 15 % (GST) on 100 $  and the rest of 2 will have 60 % of total value = 60 (X).  And the tax value will be 15 % 0n X = 9.
    So the total value will be - 100 (Basic Price) + 15 (tax for qty 4) + 9 (for qty - 2) = 124 $.
    Is it possible in standard ? Also, the above is for Newzealand government , is there any specific requirement for that ?
    Please Help !
    Regards

    Hi Chidambaram,
    Can you please give me more details on how we achieve this requirement.
    Any document on this would be more helpful to me. Removed by Moderator
    Please help !!!
    Regards
    Edited by: Lakshmipathi on Sep 3, 2010 7:02 PM
    Please dont deviate the forum rules by asking to share any SAP related information to personal mail through this forum

  • Strange Issue with Pop-up LOV with key value return

    Hi,
    I have a region, containing several LoV items. One of the items is of type PoP-up LoV with return key value.
    Now when i run this page, i get page cannot be found error. But, If i a change the item type to select list with submit ( and not pop up lov with return key), I am able to run the page. It does not give me page cannot be found error.
    Please suggest some pointers as to why I am running into this issue when item type is pop-up lov with return key value.
    Regards,
    Rave.
    Edited by: Rave on May 13, 2009 5:13 AM

    what version of apex are you using? Can you recreate the problem on apex.oracle.com?

  • Different Excitation values in the Same Task

    Hello
    I am trying to acquire pressure signals from two pressure transducers simultaneously using DAQ Assistant. I am using NI DAQ Ethernet Chassis with NI 9237 Module. One of the transducers requires an excitation voltage of 10 vdc while the other transducer requires 5 vdc excitation. I created a DAQ Assistant task with two channels (one for each transducer). When I run the VI it returns the following error:
    Error -200257 occurred at DAQ Assistant
    Possible Reason(s):
    Excitation property must be the same for related physical channels.
    Refer to the documentation for information about setting excitation across related physical channels.
    Conflicting Properties
    Property: AI.Excit.Src
    Corresponding Value: Internal
    Property: AI.Excit.Val
    Corresponding Value: 10.0
    Channel Name: Pressure_1
    It looks like using different excitations is causing the problem. Can you please help me solve this problem to be able to acquire simultaneous measurements from the two sensors and provide the required excitation for each one.
    Solved!
    Go to Solution.

    wisjaf12,
    I believe the problem you are seeing is because there is only one bank of channels on the 9237 and they all share the same EX+ / EX- signals. From the Operating Instructions and Specifications:
    "The NI 9237 is isolated from earth ground. However, the individual channels are not isolated from each other. The EX+, EX–, and T– signals are common among all channels."
    The explanation for the 9237 is similar to this KnowledgeBase document. Hope this helps, looks like you might need another 9237 if you are going to have sensors with different excitation values.
    Aaron W.
    National Instruments
    CLA, CTA and CPI

  • Different query for same view showing on different page as list view web part

    Hi all,
    If you have three pages and want to add Documents library as list view web part to these three pages with different query (Programmatically), Do you need to create three different views for Documents library or it is possible to have different query when
    I add the list view web part to the page?
    thanks and appreciate all kind of advice.

    When you add a List View Web Part to a page, SharePoint actually copies the selected view query into the Web Part itself. For example:
    You create a custom view on a list called "Mede71's View" and you configure it only show the Title column
    You add a List View Web Part to a page and update the settings to use the "Mede71's View"
    You go back to your list and change "Mede71's View" and add the "Modified Date" column
    Your List View Web Part will not reflect this change because in step 2 the Query from the view was copied into the List View Web Part
    When you programmatically add the List View Web Part, you can either assign it to an existing view or supply the query directly. If you want to instruct users to be able to add their own web parts pointing to those views in the future, I would recommend
    creating the views first.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Different variable values for same query inserted 6 times in One workbook.

    Hi,
    We have one workbook with the same query inserted on 6 different tabs (sheets in excel), a variable on Business Unit that is different for each tab.
    How can we control the variable input in BW2004s such that the different BU values are processed for each tab.
    At present the BU value input in the "variable pop-up screen" over rides all the fixed variables on the different tabs.
    Generous points will be awarded for useful solution.
    Thanks,
    Jasmine

    Hi,
    I am  trying to use filters for executing 2 queries in a Web App. I have 2 dataproviders (one for each query), and I am trying to use filters for say Version.
    The URL is
    /sap/bw/BEx?cmd=ldoc&TEMPLATE_ID=ZTW_XXX&DATA_PROVIDER_1= DP1&FILTER_IOBJNM_1=0VERSION&FILTER_VALUE_1=F01&DATA_PROVIDER_2= DP2&FILTER_IOBJNM_2=0VERSION&FILTER_VALUE_2=F02.
    This doesnot work. Both queries get filtered on both 'F01' and 'F02'.
    I am trying to filter DP1 by F01 and DP2 by F02.
    Any help is appreciated.
    Thanks,
    NS

Maybe you are looking for

  • Crystal report not working

    Post Author: karthisena CA Forum: Crystal Reports hi recently am migrate my application from vs2002 to vs2005.and iam using crystal report 10 in my application. after converting to vs2005 , i cant run my pages. i got  error like Server Error in '/Spe

  • Office Network Issue with MacIntel

    OK, this makes sense to me but might be tricky for someone else. I have an office of 7 Macs, all on an ethernet network. We want full access to eachother's Home folders so here's how we connect to eachother: if I want access to John's computer I conn

  • ****it. "Hardware Problem" In Zen To

    what do i do? i tried to reset, dosent work it dosent even shut off. help.

  • FAIled: Java for Mac OS X 10.6 Update 7

    I keep getting an "installation failed" message for this upgrade. I have tried updgrading from the "software updates" and by downloading the package separately from the apple. I have already installed the 10.6.8 supplemental update. I am doing this u

  • Ive got updates on my apps and i keep getting cannot connect to itunes help please

    having trouble with my apps updates. all i get is cannot connect to itunes.