Determine the selected element in a RadioButtonGroupByIndex UI Element??

I am using a RadioButtonGroupByIndex from which the user chooses one entry.
What I need to to know is the entry, the user has chosen, e.g.
       element 1
-> element 2 //users choice
       element 3
How can access the users choice in coding?
Thanks, Johannes

Hi Johannes Schnatz,
You need to bind the context element to the "text" property of the "RadioButtonGroupByIndex" .
Then after you need to write the code for know which is set to true which is not set to true by the loop or your own logic.
refer
[http://help.sap.com/erp2005_ehp_03/helpdata/EN/1d/99c941c04cc317e10000000a155106/frameset.htm|http://help.sap.com/erp2005_ehp_03/helpdata/EN/1d/99c941c04cc317e10000000a155106/frameset.htm]
points if useful
Thanks
Suresh

Similar Messages

  • How can I access the selected element of a DropDownByIndex-box?

    Hi,
    I want to create a WebDynpro with two web services. I created the first request with the first web service and the results are displayed in a DropDownByIndex-Box. Now the user should choose one of the results and I would like to use this for the request with my second web service. How can I access the selected Element of a DropDownByIndexBox in the Code?
    Thank you!!
    Julia

    Hi Julia,
    when user select one element in drop down it automatically set lead selection of node binded to dropdown.
    For example if you bind a dropdown to node myNode with value attribute myAttribute the lead selection of node myNode is set in the position of element choose from user.
    So to take this chooised element use this code:
    wdContext.currentMyNodeElement.getmyAttribute()
    bye
    Andrea

  • How determine the selected rows in a table

    Hi All,
    I have a table with a multi selection enabled. Now if the 3 and 5 rows are selected how do I determine this using properties or methods/apis?
    Thanks in advance.
    Best regards,
    Divya

    Let <i>Rows </i>be the context node to which the property Table.<i>dataSource</i> is bound.
    Then you get the selected context elements / table rows via the context API:
    for (int j = 0, n = wdContext.nodeRows().size(); j < n; ++j)
      if (wdContext.nodeRows().getLeadSelection() == j
        || wdContext.nodeRows().isMultiSelected(j)
        /* row at index j is selected */
    Armin

  • Function which determines the selection period dropdown on MSS Reporting

    Hi
    I need the function which detemines the dropdown of the selection period on the MSS reporting screen on the Portal.
    I know that function: HRWPC_GENERAL_KEYDATE_GET determines the default keydate.
    Can anybody please assist?
    Regards
    Margariet

    Hi
    Is there anybody who can assist me with this please?
    iet
    Regards
    Margar

  • ECMA2 - How do you determine the selected status of an attribute?

    This is an EMCA 2.0 Call Import question..
    How do we detect when a user has deselected an attribute?
    If someone deselects an attribute and I attempt to do an AttributeChange.CreateAttributeAdd()
     for the attribute, I get a
    Microsoft.MetadirectoryServices.NoSuchAttributeInObjectTypeException: Attribute "FIRST_NAME" is not usable with the object type in question.
    For now, I’m catching the exception and moving to the next attribute. Exception handling is very expensive and there must be a more elegant way to handle this.
    Ideas?
    I looked at the attribute inside the schema object and there's no difference in the attribute values - selected or not
    On a slightly related note, the build-in MA's show some attributes by default, and others require you to select the 'Show All' to see (such as the AD MA) There doesn't seem to be a way to do this in ECMA2
    Frank C. Drewes III - Architect - Oxford Computer Group

    Hi Frank
    Did you ever figured out if there was a way of determining if an attribute is selected in the schema?
    I have a problem now with FIM build 4.1.3508 that isn't even giving me the
    NoSuchAttributeInObjectTypeException exception any longer so now I'm really stuck with handeling attributes from the datasource that are not included in the MA attribute selection.
    All the best!
    Patrik

  • What determines the selection of first-listed reviews of an add-on?

    The first page listing an available add-on offers selected reviews, with the option to open another page presenting all reviews. What determines which reviews are selected for the first page?

    hello, the user reviews are sorted by date.

  • Determining the select-options of reports

    Gurus, is there a function module which will return a list of parameters and/or selct-options for a given program?
    I wish to write a generic program which will control the submission of other abaps and would like an easy way to determine what the parameters are of the abaps it's going to submit.

    hi ,
    look fm RS_VARIANT_CONTENTS
    or
    RS_ISOLATE_1_SELSCREEN
    or look in functin group SVAR
    A.
    Message was edited by: Andreas Mann

  • When using the google translate js api to dynamically translate a webpage the chosen option in a select element does not show up. This happens to me only in FF (using v4)

    I am asking you this because I did not find this problem in any of the other browsers I have (chrome, opera, ie, safari).
    I uploaded a simple html file to show this problem here: http://rvyu.com/mKLG
    Notice that if you don’t change the language you have no problem changing the value in the select element (the original one with 3 options, not the one generated by google translate) but if you do when you switch values the selected one does not show up.

    Ok thank you so much, for your timely response.
    RESPONSES:
    1)   When I set up my iMac, I did not transfer any data directly from my windows PC.  I simply used the same iTunes login and account.  I have access to all of the files via the "Purchased" section of the iTunes store.  If I click "Download Previous Purchases"  text, I can download ALL of the purchases I have ever made.
    2)   I have the Apple TV 2, so good news, question answered.  I thought maybe it was the Apple TV 1, but it is the Black model, so bam.  Good response for you.  Well the whole damned reply is an awesome response, just pointing out that one piece of awesome.  I stated that it was an Apple TV 2, and yet you were still good enough to figure I could be mistaken, and provide me with knowleedge just incase.
    QUESTIONS:
    3)   So can my iMac not stream the data directly from itunes, without download?  Apple TV can, but perhaps that is something among many things that maker it unique, and awesome.
    SERIOUSLY.... THANK YOU... 
    I work in the computer support section for the Military.  The only problem is we use Windows , lol.  Well that and i've been gone for nearly 6 months on recover.  I go back next month though I hope.  But working in that field gives me the abilty to judge responses that run inside the same vein.  Your response was so awesome that I half thought I might have written it myself. 

  • Get selected elements from a table

    Hi all,
    I have a requirement like i m enhancing standard component in that i have added one button on click of that i want fetch the selected line item from the table ( which is a normal table). selection mode is auto.
    i tried with  the following code.
    DATA:lr_element                   TYPE REF TO if_wd_context_element,
           lv_index                     TYPE i.
    *--Get selected element
      lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
    ****Here itself its throughing dump because lr_element is initial***************
    *--get selected element index.
      lv_index = lr_element->get_index( ).
    can any one help me what is the wrong.. else suggest me how to get the selected elements from a table....
    Thanks in advance.

    *--Get selected element
    lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
    if  lr_element is bound.
    lv_index = lr_element->get_index( ).
    endif.
    Instead you can directly read the node if that row is a lead selected one.
    lo_node = wd_context->get_child_node( name = 'EMP' ).  "Emp is node name
    lo_ele = lo_node->get_lead_selection( ).
    or
    lv_index = lo_node->get_lead_selection_index( ).
    where is the above code written..is it written in OnLeadSelect event of the TABLE..
    can any one help me what is the wrong.. else suggest me how to get the selected elements from a table....
    As the selection mode is Auto there is no multiple selection..hence try to use the lead selection only.
    Edited by: Lekha on Jan 3, 2012 6:47 PM

  • How to delete the last element of a collection without iterating it?

    how to delete the last element of a collection without iterating it?

    To add to jverd's reply, even if you could determine the last element, in some collections it is not guaranteed to always be the same.
    From HashSet:
    It makes no guarantees as to the iteration order of the set; in particular, it does not guarantee that the order will remain constant over time.

  • How to check the selected items of a selectManyListbox in doDML of an EO ?

    Hello,
    I have a VO based on en EO. During the doDML(UPDATE) of that EO, I would like to check what items of a af:selectManyListbox have been selected.
    How could I get the checked items in the selectManyListbox (which belongs to the ViewController) in the doDML method of an EO (which belongs to the Model)?
    Many thanks

    Hello John,
    I know I cannot access the component directly. This is why I asked my question.
    The real case is rather complex and long to be copied and pasted here.
    Let me simplify it without being too generic.
    The VO is based on a hierarchical SQL query. All its EO attributes are transient. This VO is shown as a Tree in the page.
    Each node of the Tree has a checkBox. During commit (doDML() of the EO to be precise), for each checked node I need to access the selected items of a selectManyListbox in some proper way to perform further operations on the DB (no matter what now). The selectManyListbox is based on a second VO. As you may understand, the problem is that from the EO I don't have a direct access to the selectManyListbox. Also, as far as I know, the VO the selectManuListBox is based on does not have any informations about the selected elements, since the checkBox in the list cannot be associated to the VO. Basically I cannot know what elements have been choosen.
    I hope the problem is clear.

  • Error Rendering SELECT Element in Safari Under iOS (iPhone & iPad)

    Hello,
    Our website contains three SELECT elements that are not rendering properly under Safari, iOS 4.2 on both an iPhone and iPad.
    If you load http://demo.campusguides.com in a normal browser (Chrome, FF, non-mobile Safari) you will see that the three "Browse By" boxes at the top of the page each contain text that you can select using your mouse. Each of those boxes is actually a SELECT element and each piece of text is an OPTION within that SELECT box. We have set a SIZE property on the SELECT element that allows the user to see more than one OPTION value at a time. Here is the W3C page that mentions the SIZE option for SELECT boxes - http://www.w3.org/TR/html401/interact/forms.html#adef-size-SELECT.
    On all the browsers I have tested the list displays properly, meaning that you can see multiple OPTION values at once as well as a scroll bar (when needed) that allows you to scroll up and down the list. On iOS Safari however the list is displayed as an empty box with no OPTION values visible to the user. If the iOS user clicks the SELECT element they are taken to the normal SELECT interface for Safari which does work fine, but without any content displaying in the box to begin with, I don't think many users would know they can / should click that element.
    So basically I think this is a bug, and that iOS Safari should either render that SELECT element with the OPTIONS visible to the user, or it should ignore the SIZE property and render that element like a "normal" SELECT menu where only one option is visible at a time.
    Thank you!

    Check here for Safari HTML guidelines: Safari HTML Reference
    If you regard the seen behavior as a bug then report it to Apple at: Bug Report Form
    Note: This is a user-to-user forum. You might get better response in the developers forums.

  • How to get the list element label ? Please help

    Dear all
    I have a problem.
    I need to get the current list element lable
    for example
    the emp_list displays the employee_name and return the employee_id
    I need the following:
    when_list_change , i need to put the label of the selected element in a text item :EMP_NAME_TEXT
    I can put the put the element value easily when the user select an element
    :EMP_NAME_TEXT := :emp_list ;
    I need to put the label not the value
    please help

    Hi,
    Try out the get_list_element_label built-in function.....
    Find info in the on-line help.....
    Regards,
    Simon

  • JScrollpane, scroll to selected element

    I have a JList of years inside a JScrollPane. The size of the scrollpane is the height of one row, so you can only see one year at a time. If the selected element in the list is changed, I want the ScrollPane to move to the selected element.
    It was suggested to me that I use the methods
    scrollRectToVisible()
    and
    getCellBounds()
    but I can't get that to work.
    Here is just a rough bit of code using these functions:
    import java.awt.*;
    import javax.swing.*;
    public class test {
         public static void main(String[] args) {
              JList selectYear;
              DefaultListModel selectYearModel;
              JScrollPane selectYearScrollPane;
              selectYearModel = new DefaultListModel();
              selectYear = new JList(selectYearModel);
              selectYear.setFixedCellHeight(25);
              selectYearScrollPane = new JScrollPane(selectYear);
              selectYearScrollPane.setPreferredSize( new Dimension(100, 25) );
              for(int i=1800; i<2200; i++) {
                   selectYearModel.addElement(""+i);
              selectYear.setSelectedIndex(5);
              selectYearScrollPane.scrollRectToVisible( selectYear.getCellBounds(selectYear.getSelectedIndex(), selectYear.getSelectedIndex()) );
              JFrame myFrame = new JFrame();
              myFrame.setVisible(true);
              myFrame.add(selectYearScrollPane);
              myFrame.pack();
    }If you run this you will see that the selected index is not scrolled to.

    I have a JList of years inside a JScrollPane. The
    size of the scrollpane is the height of one row, so
    you can only see one year at a time.Then you shouldn't use a JList. A JSpinner seems more appropriate.
    If the selected
    element in the list is changed, I want the ScrollPane
    to move to the selected element.
    It was suggested to me that I use the methods
    scrollRectToVisible()
    and
    getCellBounds()
    ensureIndexIsVisible(int index) might work better.

  • Type choices in select elements

    I have an order entry form that uses a select list as the id
    that will be inserted into another table.
    I want the user to be able to type in several characters to
    locate an exact name or id in a table. Currently, the user can only
    type in one character to find a match on the first character in the
    select element. Do I have to write a function to accomplish this? I
    don't see any reference to cfselect and onKeyDown on this forum.
    So, I thought I'd ask before I go and recreate the wheel.
    Thanks,

    I would like to use the combobox-multicharacter search
    dropdown script but I am having trouble adapting your code to my
    database query/insert. I have changed the names to reference my
    form and query but it doesn't seem that the javascript is being
    invoked.
    I get no errors.....just the same functionality that is
    inherent with the browser. Should I do something else to
    this?

Maybe you are looking for

  • Reading main VI front panel in SubVI

    Hi, I'm trying to create a subVI that writes a header text file containing info on essential parameters in my measurements. My mainVI front panel has a few dozen controls, some of them contained in a handful of clusters.  What I'd want is just to be

  • Mappings code generation : regular SQL / cursor PL/SQL

    Hi, When designing mappings, I fear that code generation can be potentially dangerous, because OWB automatically chooses the best method to generate the code (regular SQL or PL/SQL). I am looking for some examples where code generation for a mapping:

  • Music Store now a download, not a website??

    What is going on with the Nokia Music Store? It used to be a website where one could buy and download music. Now it is trying to force me to download and install a 70 Mb program to use it. There is no help or contact details on the site anymore. Anyt

  • Package objects

    Is possible to get a list of all objects encapsulated within a package. Is there any data dictionary view etc to see what all procedure, functions, objects etc are declared/defined in any package. user_sources doesnt help much and intention is not to

  • Assertion_Failed shortdump while activating and checking the transformation

    Hi All, I am getting shortdump while actiavting and check the transformation. Even i am not able to go in Edit mode of the transformation. I am getting   short dump (errior message - Assertion_Failed with Termination occurred in the ABAP program "CL_