Tile List selection after pressing embedded Image button

Hi;
I am working on SAP Work Manager 6.0 customizing using Agentry 6.1.3. I have this tile list that contains items. At the bottom of this tile list, I have a button that targets the selected item on the tile list. This button has an action which changes the icon  of the selected item when pressed and also executes an edit transaction that prints/changes the selected item property values based on rules. After selecting a particular item from the tile list and clicking on this button, the selected item's image changes to the image that I want, but the selection highlighter toggles and always moves to the first item on the tile list. I have tried implementing a list selection but it somehow always ignores this and always toggles back to the first item on the tile list. I would like it to stay on the selected item, whose image has just been changed. How would I go about having the selection highlighter stay on the same item before and after pressing the button?
Your help is greatly appreciated!
Thanks in advance!
Sizo Ndlovu

Hi Jason;
Thank you for the prompt response.I'm using the .NET client to test on the development machine and the application is deployed onto an Android 4.0.4 device. I have tried implementing this as shown below:
The action steps:
The Navigation step:
The List Selection step:
The List Selection rule:
I have also tried implementing this using the navigation only or the list selection only, with no success.
Thanks and Regards;
Sizo Ndlovu

Similar Messages

  • Edit a selected row in an alv report after pressing a push button ?

    hi all ,
    I want to edit a selected row in an alv report but that too after i press a push button . After pressing the push button , a pop up shud *** showing all the entries of the selected row which shud be editable and after editing it shud be saved into the database table.
    How can i do this please help asap ???

    May this prog. of mine can solve your requirement.
    REPORT z_demo_alv_jg.
    TYPE-POOLS                                                          *
    TYPE-POOLS: slis.
    INTERNAL TABLES/WORK AREAS/VARIABLES                                *
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
          i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
          w_field TYPE slis_fieldcat_alv,
          p_table LIKE dd02l-tabname,
          dy_table TYPE REF TO data,
          dy_tab TYPE REF TO data,
          dy_line TYPE REF TO data.
    FIELD-SYMBOLS                                                       *
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
                   <dyn_wa> TYPE ANY,
                   <dyn_field> TYPE ANY,
                   <dyn_tab_temp> TYPE STANDARD TABLE.
    SELECTION SCREEN                                                    *
    PARAMETERS: tabname(30) TYPE c,
                lines(5)  TYPE n.
    START-OF-SELECTION                                                  *
    START-OF-SELECTION.
    Storing table name
      p_table = tabname.
    Create internal table dynamically with the stucture of table name
    entered in the selection screen
      CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
      ASSIGN dy_table->* TO <dyn_table>.
      IF sy-subrc <> 0.
        MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'.
        LEAVE TO LIST-PROCESSING.
      ENDIF.
    Create workarea for the table
      CREATE DATA dy_line LIKE LINE OF <dyn_table>.
      ASSIGN dy_line->* TO <dyn_wa>.
    Create another temp. table
      CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
      ASSIGN dy_tab->* TO <dyn_tab_temp>.
      SORT i_fieldcat BY col_pos.
    Select data from table
      SELECT * FROM (p_table)
      INTO TABLE <dyn_table>
      UP TO lines ROWS.
      REFRESH <dyn_tab_temp>.
    Display report
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_structure_name         = p_table
          i_callback_user_command  = 'USER_COMMAND'
          i_callback_pf_status_set = 'SET_PF_STATUS'
        TABLES
          t_outtab                 = <dyn_table>
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
      ENDIF.
    *&      Form  SET_PF_STATUS
          Setting custom PF-Status
         -->RT_EXTAB   Excluding table
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'Z_STANDARD'.
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  user_command
          Handling custom function codes
         -->R_UCOMM      Function code value
         -->RS_SELFIELD  Info. of cursor position in ALV
    FORM user_command  USING    r_ucomm LIKE sy-ucomm
                               rs_selfield TYPE slis_selfield.
    Local data declaration
      DATA: li_tab TYPE REF TO data,
            l_line TYPE REF TO data.
    Local field-symbols
      FIELD-SYMBOLS:<l_tab> TYPE table,
                    <l_wa>  TYPE ANY.
    Create table
      CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
      ASSIGN li_tab->* TO <l_tab>.
    Create workarea
      CREATE DATA l_line LIKE LINE OF <l_tab>.
      ASSIGN l_line->* TO <l_wa>.
      CASE r_ucomm.
      When a record is selected
        WHEN '&IC1'.
        Read the selected record
          READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
          rs_selfield-tabindex.
          IF sy-subrc = 0.
          Store the record in an internal table
            APPEND <dyn_wa> TO <l_tab>.
          Fetch the field catalog info
            CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
              EXPORTING
                i_program_name         = 'Z_DEMO_PDF_JG'
                i_structure_name       = p_table
              CHANGING
                ct_fieldcat            = i_fieldcat
              EXCEPTIONS
                inconsistent_interface = 1
                program_error          = 2
                OTHERS                 = 3.
            IF sy-subrc = 0.
            Make all the fields input enabled except key fields
              w_field-input = 'X'.
              MODIFY i_fieldcat FROM w_field TRANSPORTING input
              WHERE key IS INITIAL.
            ENDIF.
          Display the record for editing purpose
            CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
              EXPORTING
                i_callback_program    = sy-repid
                i_structure_name      = p_table
                it_fieldcat           = i_fieldcat
                i_screen_start_column = 10
                i_screen_start_line   = 15
                i_screen_end_column   = 200
                i_screen_end_line     = 20
              TABLES
                t_outtab              = <l_tab>
              EXCEPTIONS
                program_error         = 1
                OTHERS                = 2.
            IF sy-subrc = 0.
            Read the modified data
              READ TABLE <l_tab> INDEX 1 INTO <l_wa>.
            If the record is changed then track its index no.
            and populate it in an internal table for future
            action
              IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
                <dyn_wa> = <l_wa>.
                i_index = rs_selfield-tabindex.
                APPEND i_index.
              ENDIF.
            ENDIF.
          ENDIF.
      When save button is pressed
        WHEN 'SAVE'.
        Sort the index table
          SORT i_index.
        Delete all duplicate records
          DELETE ADJACENT DUPLICATES FROM i_index.
          LOOP AT i_index.
          Find out the changes in the internal table
          and populate these changes in another internal table
            READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
            IF sy-subrc = 0.
              APPEND <dyn_wa> TO <dyn_tab_temp>.
            ENDIF.
          ENDLOOP.
        Lock the table
          CALL FUNCTION 'ENQUEUE_E_TABLE'
            EXPORTING
              mode_rstable   = 'E'
              tabname        = p_table
            EXCEPTIONS
              foreign_lock   = 1
              system_failure = 2
              OTHERS         = 3.
          IF sy-subrc = 0.
          Modify the database table with these changes
            MODIFY (p_table) FROM TABLE <dyn_tab_temp>.
            REFRESH <dyn_tab_temp>.
          Unlock the table
            CALL FUNCTION 'DEQUEUE_E_TABLE'
              EXPORTING
                mode_rstable = 'E'
                tabname      = p_table.
          ENDIF.
      ENDCASE.
      rs_selfield-refresh = 'X'.
    ENDFORM.                    "user_command
    Regards,
    Joy.

  • I want to turn my macbook air off. the shut down button already appeared but the mouse/cursor just hang and won't work. even after pressing the enter button to shut my mac off won't work. what will i do?

    i want to turn my macbook air off. the shut down button already appeared but the mouse/cursor just hang and won't work. even after pressing the enter button to shut my mac off won't work. what will i do?

    This is not a reply. I just want to elaborate on this problem.
    My computer freezes occasionally when it is used after being sleep for a while. The spinning ball appears and everything is totally disabled. Nothing on the keyboard works.
    The mouse moves, but does not work.
    The only solution is to turn the power off and on (losing all data in open applications.)
    I kept the System monitor running on the side to find out which program was running when the computer froze. The Monitor as well as all other applications froze, but the data showed:
    Firefox 18.4%
    Activity Monitor 0.9%
    Firefox Plugin 0.2%
    This is all the information I have. By the way, I am using iMac with OS 10.6.

  • What should i do if my ipod doesn't light up after pressing the main button on the front?

    What should i do if my ipod touch doesn't light up after pressing the main button on the front of the screen?
    and also what should i do if i am unable to connect my ipod too the internet over wi-fi?

    Perhaps your iPod is turned Off? Try pressing the On/Off switch on the top side until the Apple logo appears on the screen.
    Regarding WiFi problems read the following:
    http://www.apple.com/support/ipodtouch/assistant/wifi/
    http://support.apple.com/kb/TS1398

  • Safari reloading previous page after pressing the back button

    Hey guys, here my question regarding Safari...
    Why is it that every time I do the two finger swipe on the trackpad to go back to the previous page I was viewing on the web, freaking Safari takes me back to that page instantly but then automatically reloads the page. WHY?!?!
    I don't have this issue while using Firefox. I swipe to go back to the previous page and it's instantly available for me to continue browzing / scrolling, etc.
    Another thing I noticed in Safari is that if I'm half way down a page and click on something, which takes me to that page but then I swipe to go back, it doesn't take me back to where I was on the page (say, half way down, for example) it take me up towards the top (not all the way at the top, mind you, just up higher, NOT WHERE I WAS WHEN I LEFT THE PAGE) Why does it do this?!?! You'd think that Apple would have designed Safari to be the next best thing since sliced bread and that it would work instantly and flawlessly. I'd imagine that Firefox and other browzers would be the ones taking forever to load but it's freakin Safari that is doing this, I don't get it.
    For the record, Firefox functions flawlessly. Instantly shows the page I was at when I press the back button or swipe back and it puts me BACK IN THE SAME SPOT THAT I WAS AT BEFORE I LEFT THE PAGE!!!!
    I use both browzers as I need two (use both for different things and have different bookmarks saved, etc) but I'm starting to HATE Safari simply for this one issue I'm having. It makes surfing the web take 2x as long as I not only have to wait for the page to RELOAD after pressing the back button, I also have to scroll back down to where I was before I left the page, which takes TIME!
    Someone please explain this to me. I looked at other posts regarding this issue but there is no clear solution to the problem.
    HELP.

    I think Apple should give the end user the choice whether to autoload the webpage when you press the back button or not. It would be a simple fix for this issue that it seems a lot of people are suffering with.
    I WANT to use the default web browser that my Macbook Pro came with (Safari) and don't really want to use the alternatives (Firefox, Chrome, etc) but surfing the web is a slow, time consuming process with this auto reload "feature".
    Apple, Please fix this ASAP!
    This is my first Apple laptop (was a long time Sony Vaio / Windows user) and I expected good things from my Mac, after hearing / reading all the reviews but this Safari issue is a MAJOR turn off for me. It needs to be address ASAP.

  • I have the iPhone 6 and after pressing the sleep button it will not come back on has this happened to anyone else

    Having trouble getting my iPhone 6 to start back up after pressing the sleep button. Have anyone has this problem?

    DDid you do a hard reset?   Sleep button and home button together until rebot.   Nothing erased.  

  • TS3274 My ipad does not go off, even after pressing the off button for minutes and re set. What could I do next?

    My Ipad does not go off again, even after pressing the off button and re set, what can I do to switch the I pad off.

    Try a reset a few more times.
    Hold the Sleep and Home button down until you see the Apple logo.
    Data will not be affected.

  • List-output after pressing button on Dynpro

    Hello,
    I have a dynpro with an alv grid and a button on the top. I need to print a text after pressing the button. I tried to do that by using WRITE, but nothing was shown. Can I show a textarea on another dynpro?
    How would You do that?
    Regards, Michael

    Hello Michael,
    I don't think you'd require another dynpro.
    Instead of giving you the complete solution, I'll just try to give you a teaser..:-). Please refer to the ABAP statements LEAVE TO LIST-PROCESSING and LEAVE LIST-PROCESSING.
    Regards,
    Anand Mandalika.

  • Tile List Selection indicator

    I have a tile list layout with some thumbnails.
    When one is selected it gets a default blueish background.
    Could someone explain how i would go about putting a nice green tick over a thumbnail once its selected?

    Thank you both for your replies.
    I'm already using a custom component that extends a spark List with layout property set to TileLayout. This is so i can mimick the user holding the CTRL key for multiple selection.
    I also already have a custom item renderer that displays the thumbnail and fires off an event when clicked.
    Really confused as where to put either of your code snippets.
    this is my custom component
    package
         import flash.events.MouseEvent;
         import mx.core.IVisualElement;
         import spark.components.List;
         public class CheckList extends List
              public function CheckList()
                   super();
                   allowMultipleSelection = true;
               * Override the mouseDown handler to act as though the Ctrl key is always down
              override protected function item_mouseDownHandler(event:MouseEvent):void
                   var newIndex:Number = dataGroup.getElementIndex(event.currentTarget as IVisualElement);
                   // always assume the Ctrl key is pressed by setting the third parameter of
                   // calculateSelectedIndices() to true
                   selectedIndices = calculateSelectedIndices(newIndex, event.shiftKey, true);
    and this is my item renderer
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        autoDrawBackground="true" width="300" height="315" click="thumb_clickHandler(event)">
         <mx:Image id="thumb" x="25" y="26" width="250" height="265" source="{data.thumburl}"/>
         <fx:Script>
              <![CDATA[
                   import flashx.textLayout.factory.TruncationOptions;
                   import mx.controls.Alert;
                   import mx.events.ItemClickEvent;
                   protected function thumb_clickHandler(event:MouseEvent):void
                        var ev:ItemClickEvent = new ItemClickEvent(ItemClickEvent.ITEM_CLICK, true);
                        ev.item = data;
                        ev.index = itemIndex;
                        //Alert.show(ev.item.imageurl);
                        dispatchEvent(ev);
              ]]>
         </fx:Script>
    </s:ItemRenderer>
    Any help you can give me would be great, the code is getting really messy, should i merge these into one class?

  • HT201412 Does not return to the Home screen after pressing the Home button

    My home button it's not works after pressing If I press it hard many time it's work but sometime not working at all. Can any apple store fixed this problem in any apple store at any country cause I purchased from apple stroe in Brighton and I live in Kuwait .. So please help me with this problem
    thank you for listen

    Check the following:
    1. Check credit card number
    2. Check security code
    3. Billing Address must be the same as credit card
    4. Check expiry date
    5. Make sure you have sufficient fund

  • Avoid window getting focus after pressing a mouse button on it

    I want that a window does not get focus although I press a mouse button on it, in Windows XP.
    I have search in Microsoft help and this fact is controlled by the Operating System itself. The notification that is sent after the user presses a mouse button is WM_MOUSEACTIVATE notification. The return value of this notification indicates the behaviour of the window after the mouse down, existing 4 options: MA_ACTIVATE, MA_ACTIVATEANDEAT; MA_NOACTIVATE & MA_NOACTIVATEANDEAT. The default is the first one, but I want to change the behaviour of the window to be the the third one: MA_NOACTIVATE, that does not activate the window, and does not discard the mouse message. The function that performs this is DefWindowProc according to the MSDN Help content.
    Any help about doing this in Labview? Is there any special function in Labview that allows setting this behaviour to a window or should I use a Windows dll? In that case how can be programmed? Has anyone done it before? I'm working with Labview 8.6.1, and I haven't found anything about this. Any help will be very useful.
    Thank you very much in advance.
    David Fernández

    It is the front panel window of a VI which I don't want to get focus. I have tried to achive this with property nodes, but the problem I think that cannot be solved in this way, because is the Operative System that gives the focus to the window when pressing a mouse button before Labview does anything. You can release the focus once the window have taken it with the Front Panel window focus property node, but what I really want is to keep the focus on the old window.
    My idea is that the VI act as a background of my application, so never can be over the rest of the windows. Some of them are floating but others are standard and I don't want to use modal windows, so I cannot solve this with the Window Appearance options.
    I have also tried to discard the mouse down in the Mouse Down? event, but I doesn't work, the window continues getting the focus although does not carry on any action.
    Any suggestion?
    Thank you for your interest
    David F

  • After pressing the apply button, all fields become readonly in page

    hello friends,
    i have a requirement that when i click the apply button , all the records should save into database then all the fields should become readonly in page.
    vary urgent....
    Thanks
    krishna.

    Krishna,
    To make bold use the CSS OraDataText on fields.
    cant we disable add another row button when we press apply button. why because after pressing apply button add another row can add new row and that row also becoming readonly. so how to control that addanother row button after pressing apply button.Yes you can disable the add another row button by using SPEL.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • HT4061 I have upgraded my iPhone 4 to OS 7.0.  I am going thru the setup, but cannot get past the Terms and Agreement page after pressing the Agree button

    I have upgraded my iPhone 4 to OS 7.0.  During the setup I pressed the "Agree" button for the Terms and Conditions.  I would not take me to the next stage in the setup.  Everytime I apress the "Agree" buttion it pops up a dialog with the "Cancel" or "Agree" buttons.

    Reset the device and try again.

  • Miix 2 8 wont start after pressing the power button

    Hey guys,i have this problem with my miix 2  tablet that whenever i press the power button the tablet goes to sleep but does not wake up agani.i can feel the vibrate by touching the windows logo but nothing happens.then again have try for like 5 mins to wake up the tablet ...i have switched off the hibernate option by command prompt but still the problem exist! if someone knows how to fix this,please tell me!!..i have been using the tablet for like 3 months already..Also i did change the broadcom settings but still the problem remains...Thanks

    I got this tablet 10 days ago and have been having the same problem. I think I solved it. It is not just the Broadcom adapter but many more (for example, Bluetooth HID device under HIDs in the device manager) that has the option of "Power Management" under the properties and there is an option called "Allow the computer to turn off this device to save power" (well, for Broadcom, it is under Advanced. I disabled what is known as Minimum Power Consumption). I hunted for all devices with this power management option and disabled in all of them (Well, the tablet might become more power hungry; I did not do this for the GPS). Now for almost a day, my tablet wakes up whenever I press and release the window button.

  • Pavilion dv6z notebook - shut down a few seconds after pressing the power button

    Pavilion vd6z powers up for 5 seconds (I see the HP logo screen and the Windows startup asks if it should launch the Repair or Start Normally) then it shuts off.
    I have removed the battery/disconnected the adapter and held the power button in for over a minute several times, removed and replaced the memory, blown the dust from the cooling fan & heat sink.  I also have tried booting with the hard drive removed.  The same issue exists if I have the battery in or not.  After all of the these steps, the system still starts up and then powers off after just a couple seconds.
    If I press ESC to enter SETUP, the system will still power off.
    The warranty expired a few weeks ago and HP tech support can not help me...other than suggesting that I put a post on the forum.
    Has anyone experience a similar problem and found a solution?

    Hello again visionpga.
    If you've used known working memory and the problem still exists then you've ruled out many of the causes as you've tried testing all the hardware which you can test. I believe you're experiencing a motherboard issue which is likely a short. This repair is possible for you to do yourself if you have technical experience or you could have the notebook repaired by HP.
    If you want to try repairing the notebook yourself I'll need your product number. This document shows how to locate the product number.
    The US/Canadian number for HP Support is 1-800-474-6836. If you're in another country you'll need to visit HP Support Worldwide to locate the contact information.
    If you have any other questions just let me know.
    Please click the white star under my name to give me Kudos as a way to say "Thanks!"
    Click the "Accept as Solution" button if I resolve your issue.

Maybe you are looking for