ALV selection by default

Hi Experts,
I have a requirement for ALV done through OOPS.
I have a display of ALV with check box with some reocrds. When I select a set of records and navigate further to other screen and come back to the initial ALV output, how do we remain the selection that we made in the initial ALV output.
I mean when I come back to my ALV output, i should be able to see the records which i checked.
Thanks in advance.
Regards
RP.

Hi Max..
Its working if I use refresh_table_display.
But get_selected_rows is not working for the second time when i navigate to different screen..as it does not retrieve the newly selected rows..
to clearly explain get_selecte_rows works fine first time, but not for second time with the same reference...
Please suggest me ...
Require suggestions from experts..
Regards
Rp.

Similar Messages

  • ALV selection not displayed/shown

    Hello,
    I have a question concerning the ALV:
    In NW 7.0 everything was fine and working, as of EhP1 the selection for one ALV is not displayed.
    ...the selection is done alright and also corresponding events are raised. Nevertheless there is no visual representation for a selection - meaning the yellow/orange highlighting of a selected line. It is neither done for the lead selection nor for "normal" selections.
    Other ALV in the same application (though different component) work fine and as far as I can tell all are initilized similarly.
    Does anyone know this effect and - most important - how to correct it?
    Regards,
    Robert

    Hello all,
    We were able to solve the issue of selections not being visible - although they are correctly set in ALV/context.
    -> The default view of the window has to be set to the ALV usage!
    Don't ask me why, but in case the default setting is on the empty view, no selections will be visible on the UI. As soon as you set the ALV usage as default, the selections will be visible again.
    Kind Regards,
    Robert

  • How can I select the default greeting for a voicemail for the iPhone 4s?

    I am wanting to set up the voicemail feature for my iPhone 4s. (I have had this phone for years but never enacted a voicemail!) However, I am having trouble. When I click on the phone settings in my phone, the only options I have in regards to voicemail is to set up or change the password. I am not given the option to set up a voicemail. Whenever I try to set up the voicemail by dialing *86, I am given only the options of changing my password or to set up a custom greeting. I am not able to select the default/standard greeting as it is not mentioned. I am wondering how I can go about this. I am not sure why I don't have the options already available in my phone automatically or why it is not provided as an option when I call to set it up.
    Any help with this?
    Thank you!!

    nnd217, Help is here! The 4S is a great device, sorry to learn that you are having trouble with setting up the VM default greeting. I should be able to shed some light on this situation. If you go to your phone icon, as if you were making a call, you should see the voicemail icon down at the bottom right. Once you select that, in the upper left corner there is an option that says Greeting, so ahead and select that. From there you have two choices, default and Customer. If you select default there will be a check mark in that box, then hit save. You should now have your default greeting in place. If you do not have that or continue to have issues with it, please let me know! Thanks!  ErinW_VZW Follow us on Twitter @VZWSupport If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • FREE check box in PO should be selected by default for specific material

    Hi All,
    We have a check box  FREE in PO creation - ME21N in the item row  which is selected when ever we want the vendor to supply those items as free.
    - I have a list ot items which are supplied freely by the vendor which I have to mention in the PO. My requirment is when ever the specific material is in the PO the FREE check box should be selected by default. Is it possible?
    Please advice.
    Thanks ,
    Vengal Rao.

    Hi Vengal Rao,
    I don't think there's such flag in the material master. As far as I know any material can be supplied either free or chargeable - the buyer has to choose the applicable option it in each specific PO.
    If however in your business case certain materials shall always be supplied as free, then you can use the BAdI that I mentioned above to analyse which material is being procured and set the FREE flag in the PO accordingly.
    BR
    Raf

  • How do I change the download behavior so that the "save as" radio button is selected by default instead of "open with" in the download window?

    For most file types whose download behavior is set to "always ask" the "save as" option is selected by default in the download window. However, for a few others the "open with" option is selected instead.
    Note that Firefox is not automatically opening some files instead of saving them. I still get to choose between saving or opening them, but certain file types start with "open" selected whereas for others "save" is the default.
    What I'm looking for is a way to change all file types to default to "save as" in the download window.

    see : [https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file Change what Firefox does when you click on or download a file]
    see also : [https://support.mozilla.org/en-US/kb/set-how-firefox-handles-different-file-types Set how Firefox handles different types of files]
    thank you

  • A checkbox in a loop must be selected by default

    Hi all,
    There are two lists of checkboxes (in a loop), and one of the checkboxes list in the loop must be selected by default. I am trying to put the value of the checkbox to true but it is yeilding bizzare results... one of them being the checkbox doesn't get deselected sometimes...
    Any help would be appreciated,
    Thanks,
    Deepu.

    Even i have the same problem. Unable to figure that out. I have these checkboxes inside a loop and the name of the checkbox is being constructed dynamically using the loopIndex as follows
    <SimpleTable>
    <Field Loop....>
    <Field name='tempFields.checkBox_4_$(loopIndex)'>
    <Display class='Checkbox' />
    <Default>
    <s>true</s>
    </Default>
    </Field>
    </End Field Loop>
    </SimpleTable>
    I am incrementing loopIndex by 1 for every iteration of the loop.
    If i change the checkBox field name to be static (Ex: tempFields.checkBox_4_test) the checkboxes are being checked when the page loads..
    Anybody any ideas as to why it is not working when using a dynamic field name.
    Thanks
    SJ

  • How do I select a *Default* Browser?

    Hello!
    I have several browsers (IE 5.1.7, Mozilla 1.2.1, Opera 6.0.3) that I use for various reasons. I also use Eudora 6.1.1 for email. When I click on links within email documents (identified as http://... using the *Blah Blah* button), one of the browsers opens randomly (well, not quite. IE occurs about 50%, Mozilla and Opera about 25% each). I haven't discovered any pattern.
    Is it possible within OS 9.1 to select A default browser that will always open automatically in this situation?
    I will appreciate any help! TYIA!!
    Bill

    Hi, Bill -
    Welcome to Apple's Discussions.
    There is a setting for that. Open the Internet control panel, go to the Web tab. At the bottom of that page is the setting for default browser.

  • Variant in ALV selection screen

    Hi friends,
         How to protect a variant in ALV selection screen from changing or deleting by other users.
    Thanks,
    Rajesh

    Rajesh,
    You still need someone to be able to change the variant, right? That is what exactly PROTECT VARIANT does.
    If you select the field Protect variant, the variant can only be changed by the person who created it or last changed it.                         
    Regards,
    Ravi
    Note :Please mark the helpful answers  and close the thread if the quesiton is answered

  • How can I make PLAY button be selected by default in top menu?

    Hi, I usually have the PLAY button and all the scene selection buttons show up in the same top menu on my DVD's. Is there a way to have the PLAY button be the one that is initially selected when the DVD starts up. In other words, I don't want people to have to scroll the various buttons on the menu to get to the PLAY button. I want it to be selected by default, so all they have to do is hit the PLAY button on their remote control to start the movie.
    Thanks, Bob

    I think Robert was referring to the triangular play button on the simulator control panel rather than the button on his menu marked 'Play'...
    Robert - the 'Enter' button (or your 'Return' key on your keyboard) are the only ways you'll get the simulator to begin to play your project. The Triangular play button is for when you are in a motion menu or track and you pause and re-start playback, and isn't used to select entries on the menu. When you start a track, note how the triangular play button becomes a pause button when the track starts running, and it is no longer greyed out... if you click it, you'll see the triangle return and also not be greyed out.

  • How can I make JSF checkboxes selected by default?

    Hi everyone,
    I have a problem in setting default value for checkboxes. I use them in a table. tableRowGroup's sourceData property is a list data provider. In the page bean I have the following code to select rows:
    private TableSelectPhaseListener tablePhaseListener = new TableSelectPhaseListener();
        public void setSelected(Object object) {
            RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
            if (rowKey != null) {
                tablePhaseListener.setSelected(rowKey, object);
        public Object getSelected(){
            RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
            return tablePhaseListener.getSelected(rowKey);
        public Object getSelectedValue() {
            RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
            return (rowKey != null) ? rowKey.getRowId() : null;
        public boolean getSelectedState() {
            RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
            return tablePhaseListener.isSelected(rowKey);
        }I received a list of objects from a service using list data provider and use checkboxes to select them. Then I get the selected checkboxes in the action method of the page bean using
    RowKey[] selectedRows = getTableRowGroup1().getSelectedRowKeys(); What I want to do is to set all the checkboxes as selected by default. Normally, this is performed by assigning the same values to selected and selectedValue properties of the checkbox component. But, in my case this is not applicable since we take advantage of getSelected() and getSelectedValue() methods in the pagebean. Properties of my checkbox component are as follows:
    <ui:checkbox binding="#{MyPage.checkBox1}"
                                                        id="checkBox1" selected="#{MyPage.selected}" selectedValue="#{MyPage.selectedValue}"/>I cannot assign same values to selected and selectedValue. Can anyone help me to make these checkboxes selected as it is rendered?

    Hi Fanado,
    In Finder, click once on an Excel document then Get Info (command i)
    Choose Open with: Numbers
    Then Change All... to make Numbers the app for all Excel documents.
    The same for Word and Powerpoint
    Regards,
    Ian.

  • Can't get JInternalFrame to be selected by default

    For some reason the JInternalFrame isn't being selected as default:
    //Create a new internal frame.
    protected void newJobFrame() {
            EditJobInformationInternalFrame frame = new EditJobInformationInternalFrame();
            frame.setVisible(true);
            /* Doesn't work
            try {
                    frame.setSelected(true);
            } catch (java.beans.PropertyVetoException e) {}
            mainDesktop.add(frame);
    } // createFrame()
    //Create a new internal frame.
    protected void logonFrame() {
            LogonInternalFrame frame = new LogonInternalFrame();
            frame.setVisible(true);
            mainDesktop.add(frame);
            /* Doesn't work here either
            try {
                    frame.setSelected(true);
            } catch (java.beans.PropertyVetoException e) {}

    The following code sequence copied from my application works for me.
    public static ImageIcon frameIcon;
    frameIcon = new ImageIcon(getClass().getResource("images/smallwim.gif")); // 16X16
    Employee frame = new Employee();
    frame.setVisible(true);
    frame.setFrameIcon(frameIcon); // set frame icon
    desktop.add(frame); // add to desktop
    frame.setRequestFocusEnabled(true);
    try {frame.setSelected(true);}
    catch (java.beans.PropertyVetoException e) {} // ignore
    frame.toFront();rykk

  • MD07 : vendor selection by default

    Hi expert,
    I'll give you points if you tell me how to select by default vendor in MD07.
    Thanks a lot !

    in md07
    on the vendor field, selcet f1, then click on technical details...in this subscreen you can see technical details...ypu can see a field - parameter...
    If it is available, take that parameter field name and goto your user details in Su01
    in userv parameter in your user details...enter this field and maintain value,,,what you want to defaiult as vendor...
    pl come back if required

  • Select options default value and execute

    Hello,
    I managed to fill my select options default value. But what I also want is that the user does not have to press the execute button when the screen is shown at the first time. I would like to show the result screen for these default values at the same time the screen is shown first.
    I tried in WDDOINIT:
      data: l_ref_interfacecontroller type ref to iwci_wdr_select_options .
      l_ref_interfacecontroller =   wd_this->wd_cpifc_select_options( ).
      l_ref_interfacecontroller->execute(
    but this coding only works when the select-option screen was shown the first time.
    Any ideas?
    regards
    stefan

    Hello Sascha,
    I checked that WD_THIS->MR_SELOPT is filled.
    My coding in WDDOINIT is:
    *--- Instantiate select options component
      lr_usage = wd_this->wd_cpuse_usage_so( ).
      if lr_usage->has_active_component( ) is initial.
        lr_usage->create_component( ).
      endif.
    *--- Initialize selection screen
      lr_if_controller = wd_this->wd_cpifc_usage_so( ).
      wd_this->mr_selopt = lr_if_controller->init_selection_screen( ).
    *--- Configure layout options
      wd_this->mr_selopt->set_global_options(
                                 i_display_btn_cancel  = abap_false
                                 i_display_btn_check   = abap_false
                                 i_display_btn_reset   = abap_true
                                 i_display_btn_execute = abap_true ).
    *--- Create range tables
      lt_range = wd_this->mr_selopt->create_range_table(
                                                       i_typename = 'DATUM' ).
    *Range vorbelegen
      wa_dats = sy-datum - 30.
      wa_range_datum-sign = 'I'.
      wa_range_datum-option = 'BT'.
      wa_range_datum-low = wa_dats.
      wa_range_datum-high = sy-datum.
      assign lt_range->* to <fs_rangetable>.
      create data r_headerline like line of  <fs_rangetable>.
      assign r_headerline->* to <fs_range>.
      move-corresponding  wa_range_datum to <fs_range>.
      append <fs_range> to <fs_rangetable>.
      wd_this->mr_selopt->add_selection_field( i_id        = 'DATUM'
                                               it_result   = lt_range ).
      lt_range = wd_this->mr_selopt->create_range_table( i_typename = 'UZEIT' ).
      wd_this->mr_selopt->add_selection_field( i_id        = 'UZEIT'
                                               it_result   = lt_range ).
      lt_range = wd_this->mr_selopt->create_range_table( i_typename = 'UNAME' ).
      wd_this->mr_selopt->add_selection_field( i_id        = 'UNAME'
                                               it_result   = lt_range
                                               i_no_intervals = 'X'
                                               i_no_extension = 'X' ).
    data: event type ref to cl_wd_custom_event.
    create object event
      exporting
        name   = 'EXECUTE'
       parameters =
      wd_this->search_sel_opt(
        wdevent =    event                       " Ref to cl_Wd_Custom_Event
    Maybe you can see my mistake?
    regards
    stefan

  • ALV selection in Cliam Recon report

    Hello All,
    In Cliam Recon report ( RPCLMSU0 ), we are not able to select the ALV type from the ALV selection field in the report selection screen.
    We are in ECC 5.0.
    Thanks for any responses.
    Chakri.

    The same thing happens for us, and we are on ECC 6.0.  However, you can run the program without selecting anything for that field.  Once you are in the report, go to the top menu and choose "Settings -> Layout -> Choose...".  This will give you a pop-up with selections.  You can choose All, Global, or User-specific for the Layout Setting and then choose a layout from the table below.  I hope this helps.
    Actually, it looks like there might be a coding error in the program.  The same form is used for the value request on that field as is used to check whether an entered variant exists.  That form doesn't fill anything in if the field is initial, it just looks to see if something that was entered already exists.  If you look at the source code you will see that the same form is used for "AT SELECTION-SCREEN ON VALUE-REQUEST FOR sv_alvar" as is used for "AT SELECTION-SCREEN".  You may want to consider opening a note with SAP about this.
    - April King
    Message was edited by:
            April King

  • Feature Request: A way for edit-field text to not be selected by default.

    edit_field text is selected by default, which means as soon as the user starts typing, pre-existing content is wiped out - not cool...
    Thanks,
    Rob

    I've found a partial workaround to this: Once the dialog is showing, if the you first assign the empty string and then assigned the desired value:
    edit_field.value = ""
    edit_field.value = desiredValue
    then the contents of the field are not left selected.  This works when setting the contents from, say, the result of a button push, but I haven't figured out how to initially show the contents unselected.

Maybe you are looking for

  • MainStage 2 performance / CPU Spikes

    MainStage 1 was almost perfect. Just to join the misery ... Same problems (i am reading about on Forums everywhere) here with MainStage 2. Huge cpu spikes and stuttering audio from Virtual Synths. Basically unplayable. CPU usage is at least 30% highe

  • Can't Import MP4 Files Into DVD Studio Pro

    I'm trying to start a DVD Studio Pro 4 project, and have .mp4 video files. When I import them with the Assets>Import tab, they come in as MP4 audio files only, not movie files. The users manual says the integrated encouder auto encodes Quick Time ass

  • I want a REFUND for my s10-3. - Angry unsatisfied customer who feels cheated

    Here is the terrible story with the great company Lenovo. I bought a netbook for my bro on Nov 1st week(had a tough time to gather the money to buy one). After buying the netbook, i reached home and when i swithched it on, i saw blue screens and BSOD

  • Viewing Instance Variable Information for Automatic activities

    Hi, I have a process which is made up of all automatic activities that each do a specific set of activities and populate a few instance variables. I want to create a view so that a user can see the state and value contained in each of the instance va

  • Audio nearly non-existant when overdubbing- controls?

    I'm overdubbing using a decent microphone in the mic input on the back of the case. I've tried everything suggested in help to bring the input volume up, but nothing works. I can hear the sound track if I bring all volume controls up to full, so it i