Table fields cleared when selecting a value in the inputListOfValues

i have a page with a tabel,
in this table i've made an inputListOfValues field which calls an LOV with countries,
when i select in in the list and click on 'Ok' i return to the page.
When i returned on the page, all fields are cleared from previous input, so how can i prevent this problem?
thanx

hi brenden,
this is my column in which i have a
<af:column sortProperty="Country" sortable="true"
headerText="#{bindings.ForeignGrower.hints.Country.label}">
<af:inputListOfValues id="Country"
readOnly="#{!row.bindings.Id.updateable}"
popupTitle="Zoek: #{bindings.ForeignGrower.hints.Country.label}"
value="#{row.bindings.Country.inputValue}"
model="#{row.bindings.Country.listOfValuesModel}"
required="#{bindings.ForeignGrower.hints.Country.mandatory}"
columns="#{bindings.ForeignGrower.hints.Country.displayWidth}"
shortDesc="#{bindings.ForeignGrower.hints.Country.tooltip}">
<f:validator binding="#{row.bindings.Country.validator}"/>
</af:inputListOfValues>
</af:column>
to my opninion, it look's good, it has a binding with the modelcomponent ForeignGrower,
so i have no clue whatsoever

Similar Messages

  • Material master table/field that can store a value that indicates the sales

    Hello Gurus....
    My Client is looking for a material master table/field that can store a value that indicates the sales volume (quantity) of a material. If the sales volume of a material falls within the top 80% of the total sales volume, then the material will have an indicator of "A", 15% will be "B", bottom 5% will be "C". Business wants to use this field to drive the automatic putaway into different pick zones.
    We cannot use ABC Analysis field (MARC-MAABC) or CC phys.in.ind. (MARC-ABCIN) since they are used for ABC analysis and cycle count based on value, nor volume. Using these fields will limit our future use of the true SAP functionality.
    field in Purchasing view in the material master called Mfg Part Profile. However, this is also against the original functionality of the field.
    Other than, this any other field we can use it? or the only option is to do a custom field?
    Regards,
    Kumar

    Hi
    I think the only option is to have a custom field.
    Regards
    Prasad

  • Fetching more than one row from a table after selecting one value from the dropdown

    Hi Experts,
    How can we fetch more than one row from a table after selecting one value from the dropdown.
    The scenario is that I have some entries in the dropdown like below
      A               B               C        
    11256          VID          911256  
    11256          VID          811256
    11256          SONY      11256
    The 'B' values are there in the dropdown. I have removed the duplicate entries from the dropdown so now the dropdownlist has only two values.for eg- 'VID' and'SONY'. So now, after selecting 'VID' from the dropdown I should get all the 'C' values. After this the "C' values are to be passed to other methods to fetch some data from other tables.
    Request your help on this.
    Thanks,
    Preeetam Narkhede.

    Hi Preetam!
    I hope I understand your request proberly, since this is more about Java and less about WebDynpro, but if I'm wrong, just follow up on this.
    Supposed you have some collection of your original table data stored in variable "origin". Populate a Hashtable using the values from column "B" (let's assume it's Strings) as keys and an ArrayList of whatever "C" is (let's assume String instances, too) as value (there's a lot of ways to iterate over whatever your datasource is, and since we do not know what your datasource is, maybe you'll have to follow another approach to get b and c vaues,but the principle should remain the same):
    // Declare a private variable for your Data at the appropriate place in your code
    private Hashtable temp = new Hashtable<String, ArrayList<String>>();
    // Then, in the method you use to retrieve backend data and populate the dropdown,
    // populate the Hashtable, too
    Iterator<TableData> a = origin.iterator();
    while (a.hasNext()) {
         TableData current = a.next();
         String b = current.getB();
         String c = current.getC();
         ArrayList<String> values = this.temp.get(b);
         if (values == null) {
              values = new ArrayList<String>();
         values.add(c);
         this.temp.put(b, values);
    So after this, you'll have a Hashtable with the B values als keys and collections of C values of this particular B as value:
    VID --> (911256, 811256)
    SONY --> (11256)
    Use
    temp.keySet()
    to populate your dropdown.
    After the user selects an entry from the dropdown (let's say stored in variable selectedB), you will be able to retrieve the collection of c's from your Hashtable
    // In the metod you handle the selection event with, get the c value collection
    //and use it to select from your other table
    ArrayList<String> selectedCs = this.temp.get(selectedB);
    // now iterate over the selectedCs items and use each of these
    //to continue retrieving whatever data you need...
    for (String oneC : selectedCs) {
         // Select Data from backend using oneC in the where-Clause or whatever...
    Hope that helps
    Michael

  • Problem when defaulting a value to the field

    Hi CRM Experts,
    I am new to CRM, i am facing a problem when defaulting a value to the field in the Tcode 'SOLMAN_WORKCENTER' (Solution Manager Server).
    when i am defaulting it is displaying fine in the view( Redefined the getter method there i passed the value), i set a break point in the getter method when i am executing the getter method i am unable to get the defaulted value in the importing parameter value, but i am getting the value here when i used to type manually in the filed, i cant understand why it is behaving like that? please can any body help in this regard...
    Thanks in advance
    Hari..

    There are other ways to get the string-value of an enum (format into string with a %s formatter for instance).
    But I have no idea what you are seeing.
    However I would not use the enum to string technique chose you have, just add the enum to the 'file' VI as an input.
    And the =0 comparison you have is useless, add the enum to the case structure as the selector.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Dropdown list tooltip changing when scrolling over values in the list

    Hi,
      I have a dropdown list where the tooltip is bound to a context attribute.
      Once I select a value in the dropdown list the tooltip changes with it.
      What I would like to have is that when I scroll through the dropdown list (go over the values of the dropdown list) tooltip changes.
      How can I trigger an event on 'go over the value in dropdown list' ?
      Thanks in advance! 
    Kind regards,
    Amel Alic

    Hi Amel Alic ,
        Yes It is possible to due that for that you have to do following things
    1) Please connect tooltip to some element of context of Type string
    2) Now On select of particular value populate that text in element of node.
    Just take case you made some node called 'Ttip'  and make element as temptemp.
    now on select you will populate appropiate content based on condition of value
    Hope sample code I have made will surely help you.
      DATA:
        lt_attributes TYPE STANDARD TABLE OF  if_request_ior=>element_Ttip,
        wa_attributes LIKE LINE OF lt_attributes.
    if (condition1 of value1 choosed)
      wa_attributes-temptext = 'You have choosed value 1'
      INSERT wa_attributes INTO TABLE lt_attributes.
    endif.
    if (condition2 of value2 choosed)
      wa_attributes-temptext = 'You have choosed value 2'
      INSERT wa_attributes INTO TABLE lt_attributes.
    endif.
    *endif.
    Node->Bind_Table(
        New_Items =  lt_attributes
        Set_Initial_Elements = Abap_True ).
    If solution works give points.
    Cheers !!!
    Parag

  • How to select multiple values from the parameters in BI Publisher report

    How to select multiple values from the parameter drop down in BI Publisher, and how to handle this mulitple values from the report sql...

    Hi kishore,
    I have used all the steps as you mentioned in your previous reply....including checking Mulitple Selection Check Box..
    Iam able to get the results when I am selecting one value..
    and also I am able to handle multiple values the in the query by using IN :Parameter, but seems when we select more than one value from the parameter drop down i think the Bi Publisher is sending the values in concatenated form something ilke
    ex: "'ACCOUNT','HR','SALES'" ,and when trying to display the parameters values in the output, its throwing the error as 'missing right paranthesis' ....on the whole do you have any solution which would handle
    1.Single selection.
    2.Multiple selection.
    3.'ALL' Values.
    4.Separating the concatenated string into individual strings and dispaly them on the output of the report..etc..in case of Mulitple selection.
    Ex:
    Concatenated String from BI Publisher:"'ACCOUNT','HR','SALES'"
    Expected Output on the report:ACCOUNT,HR,SALES
    reply to this would be much appreciated....
    thanks,
    manoj

  • LR5 version 5.3 abends when selecting media type in the print module; on Mac OSX 10.9.1. Why?

    LR5 version 5.3 abends when selecting media type in the print module; on Mac OSX 10.9.1. Why? The printer is an Epson 4900.

    I contacted Epson and the following steps resolved the problem.
    Please close all of your programs to Repair Permissions:
    1. Go to your Mac Hard Drive > Applications > Utilities and open the Disk Utility.
    2. Click on and highlight your main Mac Hard Drive in the list on the left.
    3. Select Repair Disk Permissions and once this is finished, restart your computer.
    Once restarted, please do the following:
    1. Open your System Preferences
    2. Open Print & Fax (10.7/10.8/10.9 is Print & Scan)
    3. Highlight your Epson printer in the Printer List on the left hand side of the window if it is showing in the list. If it is not  showing up, continue to step 5
    4. Click on the MINUS sign below the Printer List and confirm deletion of the printer
    5. Click on the PLUS below the Printer List to re-add the printer
    6. Click on and Highlight the Epson Printer in the window and confirm that in the USE field it reads for "EPSON XXXXXX"
    7. If it does, click ADD and the printer should show up again in the Printer List and you can try to print again
    If you are still having issue, try printing from Apples Preview and see if it print fine. If so, the issue would be PS and/or LR and you would need to troubleshoot the program installation.
    We take your satisfaction seriously and hope that we have helped resolve your issue. If you receive a survey from us, we would greatly appreciate if you could take a few minutes to provide us with feedback about your support experience. Your ratings and comments are extremely important to us.
    If this did not resolve your issue, please reply to this email for further assistance. If you have a different support issue, submit a request via our U.S. or Canada Support Site and we will respond in a timely manner.
    Thank you again for contacting Epson.

  • How to select multiple values from the Parameters in the concurrent program

    How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?

    I think there's no way to do that using standard feature.
    Some workaround I use :
    1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
    Selection1 : <choose first selection>
    Selection2: <choose 2nd selection>
    ..etc.
    If you don't use it then leave it empty.
    2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc.

  • Acrobat 8 Professional 8.1.2 crashes When selecting "Rotate Pages" from the "Document" drop down men

    When selecting "Rotate Pages" from the "Document" drop down menu Acrobat 8 Professional 8.1.2 crashes. Every time, no error mesage. Have run "Repair Acrobat Installation" with no success. Any suggestions? Thanks

    I am also experiencing the same problem only recently.  I have used the program for almost a year without any problems except now.  Adobe Acrobat 8 standard, ver 8.1.5.
    Whenever I insert pages or rotate, I get an immediate shut down window, “Adobe Acrobat 8.1 ahs encountered a problem and needs to close.
    I am no longer able to use this program.  Abobe Acrobat 5.0 still works fine.  Does anyone have a solution?  I already did a repair and reloaded the program.

  • Values of fields cleared when navigating to a new page

    Hi
    In a transaction, I am giving values to the mandatory fields and other fields. From that page, i am navigating to other page for creating a relation or a new contact for that transaction. When i come back to the main page, values in 2 assignment blcoks and 1 field in 'Details'  section of the assignment block are displayed as blank. When i save this transaction, those fields are saved with the values which were previously entered. If i follwo this process for an already saved transaction, this problem does not come. I am not able to identify why is this happening. Please provide your inputs.
    Regards,
    Radhika
    Edited by: Radhika Chuttani on Dec 23, 2009 12:39 PM

    Hmmm I have read also about the Internet Explorer and Fingerprint Authentication Software issue.
    Found this
    http://support.toshiba-tro.de/kb0/TSB6701I80004R01.htm
    An update of the Fingerprint Authentication Software helped to solve the IE freezing.
    But as you said, this software was not installed on your Satellite.
    In your case I would recommend reinstalling the Internet Explorer on you computer. Maybe it helps.
    PS; Did you try to use the Firefox internet browser???

  • Af:table gets cleared when adding new record in it

    Dear All,
    I am having a af:table on my page, which has an dropdown. When the value of dd is changed then a record(blank) should be inserted in the same af:table.
    Now i have following problem.
    When i set row Selection to single, then every thing works fine,
    When i set it to none then when i add a row to table(on change of dropdown) then table gets cleared, means only newely added values gets cleared and not the one which are fetched from database.
    The reason behind setting row selection to none is that on single selection when ever the user tries to change the value of from other row then it hits server, sometimes it becomes slow also.So for the workaround i need to set autoSubmit="true" to all fields in table but then also whenever user changes the value it hits server.
    Please guys can any one give me proper solution...except rowSelection
    Thanks,
    Santosh
    jdeveloper 11.1.1.5.0

    Hi Frank,
    Thanks for the reply. I can get the correct input component to display on a given row in the table.
    The real issue is when a new row is added (via a createInsert operation on a button). The creation of a new row PPRs the table and the input Components are all set the same on any existing rows, irrespective of which component was used to input data.
    I'm assuming here that it should be possible to have one row show one component under the column, while another row shows a different input component under the same column..?
    Do I need to iterate through the af:table (if possible) when a new row is created to reset the correct input component??
    Thanks.

  • How do I get a field to automatically select a value and change color based on another automatic field?

    Here is the situation:
    I have a row on a form called Finding Risk Rating. In this row are four fields: Probability, Severity, Risk Rating, Color.
    Probability is a drop down menu with the following values: 1, 2, 3, 4, 5
    Severity is a drop down menu with the following values: A, B, C, D, E
    Risk Rating is a field that I have a custom calculation script:
    var riskRating = this.getField("Probability").value+this.getField("Severity").value;
    event.value = riskRating;
    So, when I pick Probability = 1 and Severity = D, Risk Rating will automatically change to 1D, etc. This works fine on the surface as far as I can tell.
    The part where I am stuck, is the fourth field Color.
    Ideally, I want Color to be automatically populated depending on the value of Risk Rating. For example, for 1E I would want it to say "YELLOW" and the field to change color to yellow. For 1A it would be "GREEN" with the color green, etc.
    I tried doing an if else for all cases, but it never refreshes to the correct value. I then checked using app.alert to see what fields riskRating and colorRank are (see code below), and I noticed that riskRating never changes, even though the value in Risk Rating changes. Is there a way to order script(s) so that if I execute one, the other will follow? I'm new to scripting for forms and haven't done any programming in 10+ years, so feel free to rip my code in favor or something more efficient, or direct me to a good resource I can learn from.
    Here's the basis of what I have for scripting on Color. It's brief because I wanted to test it out before writing every 'if else' statement.
    var colorRank;
    var riskRating = this.getField("Risk Rating").value;
    if (riskRating = "1E") colorRank = "YELLOW";
    else if (riskRating = "1A") colorRank = "GREEN";
    else if (riskRating = "5A") colorRank = "RED";
    event.value = colorRank;
    app.alert("colorRank = " + colorRank + ", riskRating = " + riskRating);
    Any help is appreciated. Thanks!

    One problem is if more than one combo box item has the same number associated with it, you cannot simply set the export value to the corresponding number since they need to be unique (or the user interface behaves weird). One thing you can do is set up an object to associate a list item with a value, and look up the value in code when a list item is selected.
    For more information, see: http://acrobatusers.com/tutorials/2007/js_list_combo_livecycle

  • Update fails when select list value isn't changed

    Hi Folks,
    I am using htmldb_item to create a report form that is updateable. There is a checkbox in the first column and I am using a technique discussed in the forum to make sure I am getting the values from the checked rows in order to perform the updates.
    However, I have noticed that if I do not change the selection in the select list, and check the "update row" checkbox, I get a "ORA-01722: invalid number" error.
    I'll provide both the select and update statements and would appreciate it if someone could help me discern a solution.
    == SELECT STATEMENT ==
    select
    htmldb_item.checkbox(1,rownum),
    htmldb_item.hidden (2, p.id) ||
    htmldb_item.text(3,p.project_name, 40) as project_name,
    htmldb_item.select_list(4, p.gts_dependant, 'Y;Y,N;N', null, 'NO')as GTS_Dependant,
    htmldb_item.select_list(5, p.gxp_relevant, 'Y;Y,N;N', null, 'NO') as GxP_Relevant,
    htmldb_item.select_list_from_lov(6, u.user_first_name||' '||u.user_last_name,
    'PROJECT_MANAGERS', NULL, 'NO') as project_manager
    from
    eprs_project p, eprs_project_monthly pm, eprs_user u
    where
    p.id = pm.project_id and
    pm.project_manager = u.id and
    to_char(record_date, 'MON YYYY') = to_char(sysdate, 'MON YYYY') and
    p.program_id = :P8_SELECT_PROGRAM== SUBMIT STATEMENT ==
    for i in 1..HTMLDB_APPLICATION.G_F01.COUNT
    loop
    update eprs_project set
    project_name = HTMLDB_APPLICATION.G_F03(HTMLDB_APPLICATION.G_F01(i)),
    gts_dependant = HTMLDB_APPLICATION.G_F04(HTMLDB_APPLICATION.G_F01(i)),
    gxp_relevant = HTMLDB_APPLICATION.G_F05(HTMLDB_APPLICATION.G_F01(i))
    where id = HTMLDB_APPLICATION.G_F02(HTMLDB_APPLICATION.G_F01(i));
    update eprs_project_monthly set
    project_manager = HTMLDB_APPLICATION.G_F06(HTMLDB_APPLICATION.G_F01(i))
    where project_id = HTMLDB_APPLICATION.G_F02(HTMLDB_APPLICATION.G_F01(i)) and
    to_char(record_date, 'MON YYYY') = to_char(SYSDATE, 'MON YYYY');
    end loop;
    Analysis
    I've narrowed the behavior down to the Select List. The "u.user_first_name||' '||u.user_last_name" assembles the first name and last name from the user table, but must not have a value associated with it, as the rest of the names do (because they come from the application LOV "PROJECT_MANAGERS." Therefore, when the user checks the "Update Row" checkbox (rownum), there is no value associated with the selection. This would explain the invalid number error message.
    If this is correct, then I am not understanding the SELECT_LIST_FROM_LOV function sufficiently. The documentation says about the p_value parameter: "This value should be a value in the p_list_values parameter." This is a small cut and paste typo because there is no p_list_values parameter, but rather a p_lov parameter. Anyway, the p_value is the default displayed value, which ideally would be one of the items from the p_lov list. It is, but not really. By that I mean, the current value is a valid name but isn't from the application LOV, per se. Therefore, I had proceeded merrily on my way believing I had fulfilled the API requirements because I had provided a "current value" and an application LOV.
    The example in the user guide provides only a column name for the p_value parameter, so I don't understand how I would associate a value with the display item (from the p_value parameter) to prevent the error message from being generated. Is there a best practice for this?
    Any guidance would be most gratefully appreciated.
    Yours,
    Petie

    Hi. I've tried a few things to get a value into the p_value parameter.
    Attempt 1:
    u.user_first_name||' '||u.user_last_name;u.idAttempt 2:
    'u.user_first_name||'' ''||u.user_last_name;u.id'Unfortunately, neither of these was successful. The first one wasn't valid syntax and the second was reproduced as a string literal.
    Have I stumped everyone? Or am I just missing something really obvious? Any thoughts? Any workarounds? Should I create an intermediate view with the first and last names already concatanated? That wouldn't put the ID into the p_value parameter. The examples in the Users Guide don't address the value part of the "Display/Value" pairing in the Select List. They provide either a static display or a single column.
    Right now, I have to put something like the following into the users manual:
    "When updating core project data, you must re-select the first occurance of the project managers name from the select list. If you do not re-select the project manager name, you will receive an error when you Submit the data for update."
    IMHO, this is pretty lame. Don't you agree?
    Thanks for reading and any thought you can offer.
    Petie

  • Populate separate internal table(alpha num) for select option value entered

    Hi Experts,
    Please tell me, How to read, validate and populate wage types field entered in select option selection screen to a separate internal table, Here wage types is alpha numeric(contains special chars '/' also). Thanks in advance....

    Hi:
    have a look
    [Link|http://www.sap-img.com/abap/check-length-and-alpha-numeric-variable.htm]
    Regards
    Shashi

  • Highlight table control rows when select all button is clicked

    Hi Experts,
    I have a table control and filling up rows through user input and i have also created button such as Select All* , De-Select All, and Delete.
    Now the issue is when i am pressing the select all button all the rows are marked for deletion(internal 'X' flag is set) but the rows are not highlighted(so that user will be able to know that all rows are selected).
    Anything that i am missing, please guide......
    Regards,
    Abhijit G. Borkar

    Ohh sorry there was some problem with the internet connect, that's why  this duplicate happened.
    Regards,
    Abhijit G. Borkar

Maybe you are looking for

  • My E90 review

    I have my new Nokia E90 for several weeks now and I had the chance to thoroughly "evaluate" it. I must say I am coming from a Nokia 9300 / 9300i, which means that I am influenced by them (I have used them for over 2 years now) First the good stuff ab

  • 10g RAC on Linux

    All, I am having strange problem while setting up 10g RAC on Linux box. This is two node cluster (rac1 and rac2) Two probelms.. 1. When I install CRS on rac1, it copies the files to rac2 and olsnodes -n works fine from both nodes, But when I run runi

  • Emailing a report in pdf format.

    Hi , I have a requirement of monthly getting a report in pdf format and mailing it as an attachment. Please tell me if this is possible on apex. thanks,

  • Error message KI203 when transferring non valuted stock cross company

    Hi, The posting of the stock transfers plant to plant is prevented by the error message KI203: Company code & is not assigned to CO area &. The Error is in following case :       1. The transfer posting is carried out between plants of different comp

  • Copy PO Line Item Functionality

    Hello SRM Team, We need to develop a scenario where we can copy the existing PO line Item. How to activate the copy functionality in Purchase Order? Regards, Lovkesh