Tabular form - Different LOV for different rows

In a tabular form column, is it possible to have a select list whose values depend on some other column in the row? There doesn't appear to be a way to use #COL# notation to refer to current row values in the LOV query definition.
Ideas? Thanks

Hi Scott,
Thanks ..I formed some idea about APEX_UTIL.KEYVAL_NUM. I have a problem where I am not able to decide if I can make use of this package and solve..
Can you please have a look at this thread.. Re: Tabular form - Different LOV for different rows
I have a SQL which populates a tabular form on the page.Coulmn1 some text, Column 2 is to show a drop down as YES and NO. i am trying to freeze the option for rows 2,3,4 as NO, if the Option choosen in first is NO.
So, what I am trying to ask is..can I save my first selection in a global variable and use it in where clause of [select list query] the second drop down..Not sure how I can do this..Appreciate if you can show me a direction.
Thanks,
Chaitu.

Similar Messages

  • Different LOV for different rows

    Hi,
    Imagine a tabular report with a number of rows, and a select list for each row populated based on data in that row.
    I've seen a solution for this in a few threads, but I've tried to replicate it in 4.2.1.00.08 with no success
    Select list filter in a tabular form problem
    Tabular form - Different LOV for different rows
    my query includes this as a column
    APEX_UTIL.SAVEKEY_NUM(duration) durationwith another column defined as "Select List (query based on LOV)" using
    select apex_util.keyval_num d,  apex_util.keyval_num r from dualand while the duration varies, the LOV is always stagnant.
    This occurs in both classic & updateable reports (tabular forms).
    I was skeptical that it would work anyway, since I'm sure the query is resolved/bound before rendering each LOV - but that's just assuming background process logic.
    Is the only alternative solutions to use APEX_ITEM.SELECT_LIST_FROM_QUERY() ?
    Scott

    Ahh, I had only tried that on my classic report example. It only seems to have that effect on the tabular form.
    Makes me hesitant to use it with that kind of behaviour.
    When comparing normal tabular form, one set to generic, and another changed back - I saw no differences in the metadata that I would think have some form of impact on rendering behaviour
    APEX_APPLICATION_PAGE_RPT
    APEX_APPLICATION_PAGE_REGIONS -- customization/timeout_cache_after changed, component_signature had trailing 0
    APEX_APPLICATION_PAGE_RPT_COLS -- lost tabular form attributes, region had lost selector column, in fact I'm having trouble bringing it back to a point where it actually saves data.
    Scott

  • Drop Down List in a table - different options for each row

    How can i have a drop down list in a table with different options for each row?
    My requirement is this.. I want to display, say employee dtails in a table, and one column is employee hobbies, whcih can have multiple values and each employee may have a different list of hobbies. So how can we populate the drop down for each row, with different options?

    Hey. Uh, this probably isn't the answer you were looking for, but it sounds like you've got a problem with your database design there. Generally speaking, your tables shouldn't have multi-valued fields, in the relational model anyway (sql). Instead, you should look at adding a separate table like EMPLOYEE_HOBBIES. Then you have a foreign key using the employees primary key as the foreign key in the employee_hobbies table, see what I mean? I might have misunderstood your explanation though, I'm not sure.
    Alternatively, you could just have hobbies as a big freeform varchar field, and don't bother to make people separate their hobbies into different fields (you'd have to abandon the drop-down listbox idea in this case). If there's no really important reason to make the distinction, then it's probably easier just to not do it.

  • Different content for a row popin in every row

    HI,
    is it possible to have a different content for a row popin in every different row?
    For example: In Row 1 I have a ViewContainerUIElement containing View A, in Row 2 I have a ViewContainerUIElement containing View B...
    This is what I need, different views in every row...
    Is this somehow possible?
    Best regards,
    Peter

    OK than. Have you think about one view which will be in your table popin, but each element in this view will be created dynamically? Than you will get the look as there are different views, different design for each row, but it will be the same view.

  • PWA 2010 timesheet: 2 different colors for the rows "Actual " and "Planned

    Hello,
    To make timesheet easier to read and fill, is it possible to have 2 different colors for the rows “Actual “ and “Planned”?
    Thanks,
    soudha

    Hello Soudha,
    By default the timesheet grid shows the cells in white color. But if you have little coding skills or a developer at your end, you can try this using "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\JsGrid.js" java
    script file.
    You may have to modify it but I recommend to take a backup of the file and test in your test environment first.
    Happy troubleshooting.....
    Vikram Daruru - MSFT

  • Query for create manual tabular form using apex collection add row button functionality

    Hello everyone
    My requirement is i created a tabular form manually using apex collection but if i click on add row button then previously selected data refreshed and added new row in this form it is fine.but i don't want to refreshed previously selected data and click on add row button then add new row .how it is possible? plz help
    Thanks & Regards,
    Ujwala

    Ujwala
    Instead of starting a new thread with the same question as Query for create manual tabular form using apex collection add row button functionality.
    Could you answer the question about what you see while debug the javascript code.
    If you don't understand the question or have trouble debug javascript let us know.
    Nicolette

  • Different layouts for different pages

    hi all,
    i have created a form in which there are 5 output pages but the print preview shows only the first page out of 5.i want to go to the next page.plz help how would i do that.and  i want different layouts for different pages.
    thnks n regards,
    mukesh.

    Hi Mukesh,
    Read these lines which has been given in help.sap.com and also go through the link given below.
    Main Window on Several Draft Pages :
    if you want the pages on which a table with items is printed to have different layouts. Height and position of the main window may differ on the different pages, but the width must remain the same throughout.
    [Main Window|http://help.sap.com/saphelp_nw70/helpdata/en/b1/243fdabeee11d4b633006094192fe3/content.htm]
    Regards,
    Sravanthi

  • Different price for different batches

    hai, is there any possibility of maintaining differenet prices for different batches.
    say for example i put 10 pieces into 1 batch and like that maintain 10 batches.
    for each batch i want to maintain different prices.
    is it possible.
    Thanks in advance

    The link mentioned talks about production / proportion units which deals with different conversions for different batches. For example in leather industry, basic unit may be piece but sales unit may be sq feet. And each piece has different area so proportion unit may be used.
    But as i understand your requirement is just to have different prices for different batches but the units, conversions will remain the same for all batches.
    Maintaining a batch specific price is a standard feature of SD pricing; create an access sequence with field batch (CHARG).
    However one potential danger with this is when the user changes the batch, price will not be updated automatically (unlike when you update plant). To redetermine price automatically whenever batch is changed, you can use the exit below.
    Include: MV45AFZB
    Form: USEREXIT_NEW_PRICING_VBAP CHANGING NEW_PRICING.
    Code:
    if VBAP-CHARG ne *VBAP-CHARG
    new_pricing = 'C'.
    endif

  • Creating Named lov for each row..........

    How to create Named LOV for each row in a field.
    i have a tabular in a page. In that tabular i have three fields service_code,*service_name* and No_units.
    i have to create lov for service_code for all rows.
    how to do this?
    plz help...

    Hi Frank,
    This is the method i wrote in the managed Bean. It works when I hard code the department value to some value(like 10).
    public List<SelectItem> getEmployeeList() {
    int Deptid = 10;
    ArrayList<SelectItem> employees = new ArrayList<SelectItem>();
    employees.add(new SelectItem("0", "--Select Employee---"));
    try {
    Connection con = getConnection();
    PreparedStatement ps =
    con.prepareStatement("select name from employees where department_id = ?");
    ps.setInt(1, Deptid);
    ResultSet rs = ps.executeQuery();
    while (rs.next()) {
    employees.add(new SelectItem(rs.getString("name")));
    rs.close();
    ps.close();
    con.close();
    } catch (Exception ex) {
    System.out.println(ex.getMessage());
    return employees;
    How can I pass the row Department Id to this method in the f:selectItems?
    I really appreciate your help in resolving this issue.
    Thanks

  • Different signatures for different email accounts?

    Is it possible to use different signatures for different email accounts?
    thanks.

    Thank you Michael S. Indeed that solved the problem - but after 2 years of fighting this and a zillion other inefficiencies, I made the switch to Android. Don't get me wrong - I am NOT an Apple hater, but the lack of customization, lack of features, the inability as an example to attach a file to an Email (when replying or composing an Email) which is what 100% (not 99%) of what business people need, or the access to the file system, has made me run away. And now we are hearing all the problems with iOS 6 that are surfacing. WOW. Not having a single issue with Android. Also switched to the Samsung Galaxy S3 on my phone. What a relief. An extra 64 Meg in SD Card, Removable battery that allows me in less than 1 minute to get another 16 hours (awesome when I am travelling), all the gestures, my only regret is that I did not make that switch earlier. Just my opinion. Still love my iTouch though.,

  • I want to change different icon for different leaf node

    Hi,
    i am reading file system(win 2000)and showing in a tree.i want to
    show different icon for different file extension.
    Pl suggest me with sample code,how should i do?
    Thanx

    Hi...
    To do this, u need to write ur own TreeCellRenderer.
    ex :
    class FileSystemTreeCellRenderer extends JLabel implements TreeCellRenderer
         File file= null;
         public FileSystemTreeCellRenderer(File f)
              this.file = f;
         public Component getTreeCellRendererComponent
                   JTree tree,
                   Object value,
                   boolean selected,
                   boolean expanded,
                   boolean leaf,
                   int row,
                   boolean hasFocus
              if(file.isDirectory())
                   setIcon("your image");
                   setText("file/dir name");
              else
                   setIcon("your other image");
                   setText("file/dir name");
         return this;
    Hope it suits ur need .. (also, using the file extensions, u can set different icons following the above strategy...)
    Regards,
    Ramanujam

  • How to display different icon, for different node of jtree

    Hi All,
    How to display different icon, for different node of jtree

    you haven't responded to my last post here: [http://forums.sun.com/thread.jspa?threadID=5323190&messageID=10382676#10382676|http://forums.sun.com/thread.jspa?threadID=5323190&messageID=10382676#10382676]

  • How can i set different font for different tabs/pages

    I want to set different fonts for different tabs/pages?
    is it possible to do the same? If yes how?
    I can change the fonts under tools>options>contents>advanced. but that changes global settings.
    tried some add ons too- but that too changes the global settings.
    some pages like tweetdeck do not display icons etc properly under custom fonts.
    when i check "allow pages to select their own font" tweetdeck shows up fine but a number of other pages show fonts that are too big or some non standard fonts.
    Is there a way where i can select site default fonts for some sites/tabs, and custom fonts for other sites/tabs?
    otherwise i have to open different sites in different browsers- say i use my custom fonts- which apply globally, and open tweetdeck etc in Internet Explorer or Chrome etc. if i can have all tabs in one window/browser, that would be great.

    It's not a built-in feature to override a page's styles on a tab-by-tab or site-by-site basis, but perhaps someone has created an add-on for this?
    It also is possible to create style rules for particular sites and to apply them using either a userContent.css file or the Stylish extension. The Greasemonkey extension allows you to use JavaScript on a site-by-site basis, which provides further opportunity for customization. But these would take time and lots of testing to develop and perfect (and perfection might not be possible)...
    Regarding size, does the zoom feature help solve that part? In case you aren't familiar with the keyboard and mouse shortcuts for quickly changing the zoom level on a page, this article might be useful: [[Font size and zoom - increase the size of web pages]].

  • Purchasing info records with different prices for different packaging

    Hi,
    hope, someone can help me.
    We have different prices for different kind of packaging, but all the material is bought in the same unit, i.e. kg.
    Let's say, usually you buy x kg in a drum, but sometimes you buy y (or x) kg in a bottle or in a bag.
    We won't allow variable order units. Even if we would, it's not helpful, because we always order kg.
    So the price depends on a criterion - I don't know, which to take. And we want to maintain the different prices in the info records.
    Is there a solution?

    Hi.
    I went through the history of the problem.It seems that your base unit of measure is KG.Also you have mentined that same material is used in various plants.
    You need to activate the variable ordering unit  2  in material master. This is present in the materila master Purchasing tab.Also note that this data is maintained at plant level. This will not have any impact on the materials which are presnt in the other plants.
    After activating variable order unit in materal master. You need maintains the conversion factors from Order units to Base UOM.(Eg 1 KG = 1 KG, 1BOX = 10 KG etc)
    Create inforecord for the material and maintain price in Base unit of measure.
    In PO enter the order unit as BOX system will automatically calculate the price of BOX based on the conversion factors which are maintained in the material master.
    I belive this is the simple and best solution for your requirement..
    If you have any suggestions please let me know
    Cheers
    Umakanth

  • Customisation for PO Release (different Values for different Doc Types)

    Dear Experts,
    I need to configure for PO release procedure where in the Characteristics would be Plant (2 Plants), Doc Type (3 types - Standard PO, Imports PO & Capital PO) and Value (2 stage release: 0-100000 & >100000 INR for Std PO, 0-200000 & >200000 INR for Imports PO and 0-300000 & >300000 INR for Capital PO).
    Please let me know where I shoud define the different Values for different Docs for the Release procedure to work properly.
    Or let me know the entire procedure for achieving the same.
    Regards,
    MNP

    Hi MNP,
    You have to create different CLASSes in IMG with the possible combination of different characteristics,
    EX. CLASS EKKO11 - Plant A, Doc type- Std PO, Value- 0-100000 & >100000 INR
          CLASS EKKO22-  Plant A, Doc type- Import PO, Value-  0-200000 & >200000 INR
          CLASS EKKO33-  Plant A, Doc type- Capital PO, Value-  0-300000 & >300000 INR  and same for other plant
    then assign these classes to the respective Release group.
    regards,
    Pravin

Maybe you are looking for

  • Local videos not playing in Flash/Dreamweaver Air app

    Hi there. I am having trouble playing local video from an Air app created from Dreamweaver. I have found many similar [posts, but most are about Flex and so on. I need some help getting this working form Flash and Dreamweaver. What I did wat create a

  • I took some video on my Iphone and uploaded it ot Iphoto - now I Cant locate the video and it has been deleted from the iphone?

    Thats pretty much it. Took the video less just over a week ago, subsequent videos and pics have been uploaded without issue and are easy to locate. Just cant find the couple of videos from that day. Cheers MCJ

  • Error while Creating ar invoice

    hi when i was creating a ar invoice by copying from delivery i got an error msg from sap software as sapbussinessone_20070821154722.dmp file has created. can any one can help in this regard firstly what is that error means and what that .dmp file mea

  • Selections provided by user

    Hi All, User A, is executing QUERY(Z0CUSTOMER_Q003)  on Infoobject zcustomer. It has variable input screen to fill customer Id. My question is how can we know for which customer ( cust Id) the query was executed by User. Is their is any statistics ta

  • Firewall not turned on by default on G5 imac isight?

    I was just nosing around and found that the firewall was turned off in my new-ish machine. A bit surprising. Needless to say that it's on now. Is this the default 'security' configuration - firewall off?