Getting selected item from combobox itemrenderer and storing in object

Hi Guys,
Can anyone help me in this regard. Its very urgent.
I have a combo box itemrenderer in datagrid column. I want to get the user selected item from the dropdown of the row(s) (User may select values from combo box from multiple rows of datagrid) and corressponding values of all other columns of the rows and store it in an object . Then pass this object to database to update only those rows that user has changed.
I am able to get the selected item from combo box using "event.currentTarget.selectedItem" and corressponding values of all other columns of the rows using "valueSelect.ID", etc where valueSelect is object which contains data for datagrid. But am stuck up with, how to store the selected item value of the combobox  and corressponding values of all other columns of the rows into an Object ?.
Can anybody help me with sample to store selected item from combobox and its corressponding values of all other columns into an object which i can send to db...?
Kindly help me in this regard.
Thanks,
Anand.

Hi!
Are you using a collection of VO or DTO as the dataprovider of the combobox component?
If so, have you created some attribute there to control the user's selection in the combobox?
For instance:
private var selected:Boolean = false;
If your solution fits this approach, you may create a new collection that contains just the objects that were selected by the user, it means you can loop through the datagrid's dataprovider and only insert in this new collection those objects that have the attribute "selected" set to true.
For instance:
private function getSelectedRecords(datagridDataProvider:ArrayCollection):ArrayCollection
    var newCollection:ArrayCollection = new ArrayCollection();
    for each (var item:Object in datagridDataProvider)
        if (item.selected)
            newCollection.addItem(item)
    return newCollection;
Afterwards, you may serialize this new collection with your back-end.
Hope it helps you!
Cheers,
@Pablo_Souza

Similar Messages

  • How to get selected items from a tree in backing bean without adfbc

    Hi ADF Experts,
    Below is my code for af:tree. My question is how can I get selected Items from the selectionListener (without adf bc) this uses formation of tree from backing bean.
    Using Jdev 11.1.1.7.0
    <af:tree var="node" value="#{pageFlowScope.MerchandizeBean.model}"
                      binding="#{pageFlowScope.MerchandizeBean.treeModel}"     id="tree" immediate="true" autoHeightRows="0"
                           styleClass="AFStretchWidth" rowSelection="multiple"
                           selectionListener="#{pageFlowScope.MerchandizeBean.treeNodeSelection}">
                    <f:facet name="nodeStamp">
                      <af:commandLink text="#{node.classDescription}"
                           actionListener="#{pageFlowScope.MerchandizeBean.createListManyItemForMerchandise}"           id="displayTable" partialSubmit="true">
                      </af:commandLink>
                    </f:facet>
                  </af:tree>
        public void treeNodeSelection(SelectionEvent selectionEvent) {
            // Add event code here...
            RichTree tree = (RichTree)selectionEvent.getSource();
                    TreeModel model = (TreeModel)tree.getValue();
                    //get selected value
    Thanks
    Roy

    Hi,
    in a multi select case, try
    RowKeySet rks = tree.getSelectedRowKeys();
    Iterator iter = rks.iterator();
    while(iterator.hasNext()){
    Object aKey = iterator.next();
    tree. setRowKey(aKey);
    Object rowData ? tree.getRowData();
      .... do something with the data here ...
    Frank

  • Get Selected Items from ListBox

    Hi,
    How do I get the Selected items of a List in Flex.
    I am using a multi-select List.
    Thx

    Never mind..I got it.
    it as simple as that:
    Alert.show (lst.selectedItem.fieldname);
    ;)

  • How to get select items from multi select in an array or list in jsp

    i have the following multi select which is basically an array coming from the database how can select couple of them and put them in an array in jsp and then save them in the session so when i click the next button they continue till i reach the last finish button of my wizard:
    <SELECT MULTIPLE SIZE=5>
    <OPTION VALUE="o1">Option 1
    <OPTION VALUE="o2">Option 2
    <OPTION VALUE="o3">Option 3
    <OPTION VALUE="o4">Option 4
    <OPTION VALUE="o5">Option 5
    <OPTION VALUE="o6">Option 6
    </SELECT>
    Option 1Option 2Option 3Option 4Option 5Option 6

    Hi,
    As you are tracking changes in ALV data you must define a event handler for ALV evenr ONDATA_CHECK.
    On defining an event handler you will be getting a structure called t_param.
    It contains an element called t_deleted rows.
    See this code to have an idea.
    method ONDATACHECK .
      DATA: x_delete_row LIKE LINE OF r_param->t_deleted_rows.
      "      i_addr_factr TYPE STANDARD TABLE OF ycot_addr_factr,
       "     x_addr_factr LIKE LINE OF i_addr_factr.
    TYPES t_proj_constr TYPE ycot_proj_constr.
      FIELD-SYMBOLS: <fs_row> TYPE t_proj_constr.
      IF wd_comp_controller->ya_optyp = 'DELETE'.
        LOOP AT r_param->t_deleted_rows INTO x_delete_row.
          "x_addr_factr ?= x_delete_row-r_value.
          ASSIGN x_delete_row-r_value->* TO <fs_row>.
        DELETE FROM ycot_proj_constr  WHERE plant = <fs_row>-plant
                                     AND   yr_nbr = <fs_row>-yr_nbr
                                     AND   period = <fs_row>-period
                                     AND  billback_pr_fmly = <fs_row>-billback_pr_fmly
                                     AND  prd_nm = <fs_row>-prd_nm.
      ENDLOOP.
    I hope it helps.
    Regards,
    Sumit Oberoi

  • User Exit - Get Select Item from ME22n

    Hi
    I need get the select in me22n
    is there any u-exit /badi with a parameter like actua_item or select_item?
    thks and regards
    Luis
    Edited by: Luis  Constantino on Sep 7, 2009 2:07 PM

    Hi Margaret,
    There are a few things in this form that may help. Look at the exit event of the dropdown.
    https://acrobat.com/#d=khu3Ik*9LUz60afNWuCUsA
    Hope that helps,
    Niall

  • How to get selected item from AutoSuggestBox in Windows Phone 8.1

    In CS File "SelectedItem" is not working what is the alternative to "SelectedItem" for AutoSuggestBox in WP8.1
    In XAML File:
    <AutoSuggestBox x:Name="tblkpersonname" Width="380" Margin="0,-7,0,0" ItemsSource="{Binding}" TextChanged="tblkpersonname_TextChanged">
    <AutoSuggestBox.ItemTemplate>
    <DataTemplate>
    <TextBlock Text="{Binding Name}"
    Tag="{Binding PersonID}"/>
    </DataTemplate>
    </AutoSuggestBox.ItemTemplate>
    </AutoSuggestBox>
    In Cs File:
    private void tblkpersonname_TextChanged(AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs args)
    try
    if (tblkpersonname.SelectedItem != null)
    tblkdes.Text = ((values)tblkpersonname.SelectedItem).Description;
    persononlineimg.Source = new BitmapImage(new Uri(((values)tblkpersonname.SelectedItem).FlickrPersonImageUrl, UriKind.RelativeOrAbsolute));
    catch (Exception ex)
    Exceptions.SaveOrSendExceptions("Exception in tblkpersonname_SelectionChanged_1 Method In AddCast.cs file.", ex);
    Devi Prasad.P

    Hi
    Not sure about the code you have mentioned here, there is no property named selecteditem in msdn. Please refer
    https://msdn.microsoft.com/en-us/library/windows.ui.xaml.controls.autosuggestbox.aspx
    <AutoSuggestBox x:Name="suggestions"HorizontalAlignment="Left" Margin="52,62,0,0"
    ItemsSource="{Binding }"VerticalAlignment="Top"
    Width="296" TextChanged="suggestions_TextChanged"
    SuggestionChosen="suggestions_SuggestionChosen"/>private void suggestions_TextChanged(AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs args)
                if (args.Reason == AutoSuggestionBoxTextChangeReason.UserInput)
                    Suggestions.Clear();
                    Suggestions.Add(sender.Text + "Tea");
                    Suggestions.Add(sender.Text + "Tatt");
    private void suggestions_SuggestionChosen(AutoSuggestBox sender, AutoSuggestBoxSuggestionChosenEventArgs args)
                suggestions.Text = "Choosen";
    Something like this can be used
    Regards
    Varun Ravindranath Please 'Mark as Answer' if my post answers your question and 'Vote as Helpful' if it helps you.

  • Getting multiple items from a Jlist

    hi i am trying to get selected items from a Jlist to print out
    but can only seem to get one item at a time using getSelectedValue()
    when i try and use getSelectedValues().toString(); i get
    the following print out [Ljava.lang.Object;@ed783f68 can anyone show me
    where i am going wrong and tell me why i get that print out
    cheers
    submitdetails.addActionListener(
                                                   new ActionListener() {
                                                           public void actionPerformed( ActionEvent e )
                                                      String data = privilegesList.getSelectedValue().toString();
                                                      Object data2 = privilegesList.getSelectedValues().toString();
                                                      System.out.println(data);
                                                      System.out.println(data2);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    The getSelectedValues(...) method returns and ARRAY of OBJECTS. You have to loop through the array to get each object separately:
    Object[] values = privilegesList.getSelectedValues();
    for (int j = 0; j < values.length; j++)
    System.out.println ( values[j].toString() );

  • How to get the selected items from listbox

    Regarding listbox i have two questions
    1) I want to get the selected items as per the order in which ihave selected.Presently i'm getting in the ascending order.For example after selcting the 1,2,6 if i select 3 then its giving 1,2,3,6.But i want it in the order 1,2,6,3
    2)I want to select items from a single list box to many other listboxes.(ie) my first selection should goto first,second one to the second listbox and like this.How should i write the logic.
    please give me a suggestion.

    In order to have the selected items line up in accordance to the selection order, please do it one at a time. (That's the limit for that VI)
    If you need more than that (i.e. to regconize which item clicked first and which one comes later), you may have to figure it out ya
    Wish you good luck. Perhaps, someone else has a already made vi.
    Cheers!
    ian.f
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • Focus lost  after selecting an item from combobox

    After I select an item from combobox first component is focused even though it is invisible. But if I press tab or enter without selecting any item, next component is focused as expected.
    How can I solve the problem?

    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • How to get selected values from selectManyCheckbox ?

    Hi,
    I am a SOA developer and using 'Auto generated adf form' of Human Task. I did some customization in the form. I need to show one dynamic list (contains multiple string values) on a form, from which user will select desired values. For this I have used <af:selectManyCheckbox> adf component.
    It has generated code as follows...
    <af:selectManyCheckbox value="#{bindings.Response.inputValue}"
                                             label="#{bindings.Response.label}"
                                             id="smc1">
                        <f:selectItems value="#{bindings.Response.items}" id="si9"/>
    </af:selectManyCheckbox>
    I am able to show list on a form and can select multiple values also.
    Now, I want the multiple selected values back in my BPEL process. I need only those values which are selected by user.
    Currently I am getting complete list as it is back in BPEL process.
    Please help me out..!
    Thanks..
    Suraj

    Unwinding ADF: How to retrieve Selected Items from selectManyCheckbox using ValueChnageListener

  • How to get selected value from SelectOneChoice

    Hi,
    I'm facing a problem to get selected value from SelectOneChoice. I have valueChangeListener event on a (SelectOneChoice)item. After user makes a choice I want to store selected value in a bean property to pass it to a method.
    For example List item shows dname from dept table after user makes a choice I want to get deptno and populate into bean which I use to pass into my method.
    If I use valueChangeEvent.getNewValue() I always get negative value instead I want deptno selected. Sample code pasted below.
    public void setDeptno(ValueChangeEvent valueChangeEvent) {
    BindingContainer b = getBindings();
    OperationBinding oB = b.getOperationBinding("setDeptno");
    //Checking instance of because same method is called from another text inputText item.
    if (valueChangeEvent.getSource() instanceof CoreSelectOneChoice){
    CoreSelectOneChoice cN = (CoreSelectOneChoice)valueChangeEvent.getSource();
    if (columnName.getId().toString().equals("deptDname")){
    JSFUtils.setManagedBeanValue("dept.deptDeptno",valueChangeEvent.getNewValue());
    }

    if your selectOneChoice has value equal to #{bindings.deptno} bound to the iterator Dept1Iterator,
    then the backing code will look more like
                    public void setDeptno(ValueChangeEvent valueChangeEvent) {
                        BindingContainer b = getBindings();
                        OperationBinding oB = b.getOperationBinding("setDeptno");
                        //Checking instance of because same method is called from another text inputText item.
                        if (valueChangeEvent.getSource() instanceof CoreSelectOneChoice){
                            CoreSelectOneChoice cN = (CoreSelectOneChoice)valueChangeEvent.getSource();
                        if (columnName.getId().toString().equals("deptDname")){
                            FacesContext ctx = FacesContext.getCurrentInstance();
                            Application app = ctx.getApplication();
                            ValueBinding bind = app.createValueBinding("#{bindings.Dept1Iterator.currentRow}");
                            Row row = (Row)bind.getValue(ctx);
                            JSFUtils.setManagedBeanValue("dept.deptDeptno", row.getAttribute("deptno"));
                    } I haven't tested it, so it could perfectly not work at all

  • Removing selected items from listbox

    Hi ADF Experts,
    I have a selectmanylistbox with few values displaying in UI and a Remove Button at the bottom.
    User selects certain items from the listbox and clicks on Remove button. The selected items should be reomved. Can anybody suggest how to do this.
    Thanks,
    Animesh

    Duplicate of https://forums.oracle.com/thread/2562542
    User, please don't ask the same question multiple times. If you don't get the answer you want it may be because you did not give the right information and or use case me understand.
    Timo

  • Why iam unable to get the valu from combobox

    when i run this code
    everytime iam getting blank alert
    y iam unable to get the selected item from combo box
    thank u
    <%@ page import="java.util.Date"%>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%><%@page import="java.sql.*,java.util.*,java.text.*,java.util.ArrayList, java.util.List,org.joda.time.DateTimeConstants,org.joda.time.LocalDate,
    org.joda.time.Weeks"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <HTML>
      <HEAD>
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <TITLE>Reading Data From Text Fields</TITLE>
      </HEAD><BODY onload=Datevalue()>
         <form name="form1" action ="" method="post" onSubmit="update();">
        <img src="nendrasys_logo.gif" align="right"></img>
      <b><font color="669900"><h4 align="left">UserName:</font> 
    <jsp:useBean id="user" scope="session" class="nendrasys.User" />
    <jsp:getProperty name="user" property= "name"/>
    &nbsp&nbsp&nbsp&nbsp
    <b><font color="90be00"><h4 align="left">Designation:</font>
      <jsp:getProperty name="user" property= "designation"/>
      <br><font color="669900"><h4 align="right">Project:</font>
        <select name="Projects">
         <option>Project:1</option>
         <option>Project:2</option>
         <option>Project:3</option>
         <option>Project:4</option>
         <option>Project:5</option>
    </select>
    <%! String s; %>
    <% DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd");
            Date date = new Date();
            //out.println(dateFormat.format(date));
                s=  dateFormat.format(date);
    %>
    <select name="Dates" sizes=1 id="dates" onchange="Datevalue(this.value)">
    <script type="text/javascript">
    <!--//
    var begDate = new Date("10/01/2008");
    var endDate = new Date();
    var previousDate =new Date();
    var presentDate =new Date("<%=s %>");
    endDate.setDate(presentDate.getDate()+14);
    begDate.setDate(begDate.getDate()+(6-begDate.getDay()));
    while (begDate <= endDate) {
    var datestring=[begDate.getDate(),(begDate.getMonth()+1),begDate.getFullYear()].join('/');
    //  var datestring=[begDate.getDate().padZero(2),(begDate.getMonth()+1).padZero(2),begDate.getFullYear()].join('/');
    if(previousDate < presentDate && presentDate <= begDate )
        document.writeln('<option selected>'+(datestring)+'</option>')}
    else   
    document.writeln('<option>'+(datestring)+'</option>')};
         previousDate.setDate(begDate.getDate());
        previousDate.setMonth(begDate.getMonth());
         previousDate.setYear(begDate.getYear());
        begDate.setDate(begDate.getDate()+7);
    document.writeln('</select>');
    //-->
    </script>
    <br><br>
    <TABLE BORDER="2" BORDERCOLOR="#336699" CELLPADDING="2" CELLSPACING="2" WIDTH="100%">
    <TR>
    <TD>&nbsp&nbsp&nbsp</TD>
    <TD bgcolor="669900"><label  id="sun"></label></TD>
    <TD bgcolor="90be00"><label for="mon" id="Mon">Mon</label></TD>
    <TD bgcolor="669900"><label for="tue" id="tue">Tue</label></TD>
    <TD bgcolor="90be00"><label for="wed" id="wed">Wed</label></TD>
    <TD bgcolor="669900"><label for="thu" id="thu">Thu</label></TD>
    <TD bgcolor="90be00"><label for="fri" id="fri">Fri</label></TD>
    <TD bgcolor="669900"><label for="sat" id="sat">Sat</label></TD>
    <TD bgcolor="90be00"><label for="tot" id="tot">Total</label></TD>
    </TR>
    <tr>
    <th>Project Work</th>
    <td bgcolor="669900"><input type="text" name="c11" size="2" value="7" onBlur="javascript:document.frm.c12.value = document.frm.c11.value"></td>
    <td bgcolor="90be00"><input type="text" name="c12" size="2" value="3"></td>
    <td bgcolor="669900"><input type="text" name="c13" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c14" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c15" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c16" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c17" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c18" size="4"></td>
    </tr>
    <tr>
    <th>Internal N/C</th>
    <td bgcolor="669900"><input type="text" name="c21" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c22" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c23" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c24" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c25" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c26" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c27" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c28" size="4"></td>
    </tr>
    <tr>
    <th>Public Holidays</th>
    <td bgcolor="669900"><input type="text" name="c31" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c32" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c33" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c34" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c35" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c36" size="2" ></td>
    <td bgcolor="669900"><input type="text" name="c37" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c38" size="4"></td>
    </tr>
    <tr>
    <th>Holidays Taken</th>
    <td bgcolor="669900"><input type="text" name="c41" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c42" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c43" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c44" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c45" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c46" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c47" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c48" size="4"></td>
    </tr>
    </TABLE>
    <br>
    <center><input type="submit"  value="Submit" /> </center>
    <%
    String username   = request.getParameter("userid");
    String pwd  = request.getParameter("pwd");
    String connectionURL = "jdbc:mysql://localhost:3306/timestamp";
    Connection connection = null;
    Statement statement = null;
    ResultSet rs = null;
    String sql=null;
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    connection = DriverManager.getConnection(connectionURL, "root","nendrasys");
    statement = connection.createStatement();
    //rs=statement.executeQuery(sql); %>
    </form>
    <SCRIPT language='Javascript'>
    function update()
        alert("ciaoooooo");
        <%
            try
                String value=request.getParameter("c11");
                String value1=request.getParameter("c12");
             //   if(value!=null)
              //  System.out.println(value);             
               // System.out.println(value1);
            catch(NullPointerException n)
        %>
    </script>
    <SCRIPT language='Javascript'>
    function Datevalue(date)
           //  document.getElementById("dates").innerHTML=document.getElementById("sun").value;
      alert(date);
             //  alert( document.getElementById("dates"))
                <% System.out.println("bye");%>
    </SCRIPT>
    </BODY>
    </HTML>

    You mixed Java and Javascript in the expectation that they runs simultaneously.
    You are Wrong.
    You need to distinguish between the server side languages and client side languages. Java/JSP runs at the server side and produces a HTML page with other client side stuff in it like CSS and Javascript. When the HTML page is finished, it will be sent to the client and then Java/JSP stops. Once the HTML page is arrived at the client, there is no one line Java code in it, only its output/result. Do a View Source in your favourite web browser to see it. Only from that moment on, Javascript runs and/or can be invoked.
    Whenever you want to use Java variables in Javascript, you need to print them out as a Javascript variable. Whenever you want to use Javascript variables in Java, you need to invoke a request to the server and pass them as parameters. The request can be either synchronous (a link or a form submit) or asynchronous (ajaxical).

  • How to get selected value from selectOneRadio ???

    Hi...i want to how to get selected value from selectOneRadio and use it in another page and in backing bean.
    Note i have about 10 selectOneRadio group in one page i want to know value of each one of them.
    Plzzzzzzzz i need help

    You have a datatable in which each row is a question, correct?
    Also in each row you have 5 possible answers that are in a radio, correct?
    So,
    You need to put in your datatable model, a question, and a list of answers (5 in yor case) and the selected one.
    So you will have a get to the question, an SelectItem[] list to populate the radios and another get/set to the selected question.
    ex:
    <h:selectOneRadio value="#{notas.selectedString}" id="rb">
    <f:selectItem itemValue="#{notas.valuesList}"/>
    </h:selectOneRadio>
    Search the web for examples like yours.

  • How to get selected value from a listbox

    Hi !
    I use following code to fill in my LISTBOX with values :
    AT SELECTION-SCREEN OUTPUT.
      val-key = 1.
      val-text = '0016'.
      APPEND val TO list_values.
      val-key = 2.
      val-text = '0028'.
      APPEND val TO list_values.
      val-key = 3.
      val-text = '0035'.
      APPEND val TO list_values.
      val-key = 4.
      val-text = '2001'.
      APPEND val TO list_values.
      val-key = 5.
      val-text = '0515'.
      APPEND val TO list_values.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING id     = 'p_list'
                  values = list_values.
    My question is - how to get a selected key/text value ? i dont need it to be done dynamically - i just need it in START OF SELECTION to perform tasks.
    Thx in advance.

    Unfortunetly it does not work
    i Define parameter as follows :
    PARAMETERS:
      p_list AS LISTBOX VISIBLE LENGTH 10.
    Then i add values to it :
    AT SELECTION-SCREEN OUTPUT.
      val-key = 1.
      val-text = '0016'.
      APPEND val TO list_values.
      val-key = 2.
      val-text = '0028'.
      APPEND val TO list_values.
      val-key = 3.
      val-text = '0035'.
      APPEND val TO list_values.
      val-key = 4.
      val-text = '2001'.
      APPEND val TO list_values.
      val-key = 5.
      val-text = '0515'.
      APPEND val TO list_values.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING id     = 'p_list'
                  values = list_values.
    Then when i add a blank section :
    AT SELECTION-SCREEN ON p_list.
    I set a breakpoint in START OF SELECTION block - but the value is empty no matter what do i select.
    Actually when i select value from the list and hit enter key on selection screen the selection in a listbox goes empty :/
    Whats the cause of this ?
    Edited by: Jacek Zebrowski on Feb 26, 2009 12:38 PM

Maybe you are looking for

  • How can I find out if my iphone has been synced to another computer? (Backup/Sync Privacy)

    So it would seem easy for someone (lets just say a girlfriend for example) to plug my iPhone into her computer while I am staying the night and backup to iTunes.  I have my settings to "require a passcode immediately", however there was one day there

  • Problem with the "Wait" function in dialing a number with an extension.

    I inserted a "wait" into phone number, followed by an extension. When I tap the number, it dials the call. Next to the "End" button, there is a button that shows "Dial..." and the extension. HOWEVER, the next calls for other numbers will always show

  • Bounded Task Flow Navigation Issue

    Hi, I'm using Studio Edition Version 11.1.2.3.0. I have a main page with a panel splitter. The right side has a dynamic region and the left side contains links to launch a bounded task flow in the dynamic region. One of my task flows is a search form

  • Batch convert WMV to quicktime

    Hey all, I would like to batch convert 30 movies in WMV format to quicktime (or MP4). I can play the movies fine in quicktime (i've got flip4mac). Could some kind sould help me get started in writing an automator action, or an applescript, or a bash

  • System message problem

    Hi All I have created a form using screen painter I have done all the functionalities and validation. No problem, Every thing is clear. But When I close the form(that is while pressing the X symbol) A system message appears. Do you want to save the c