cancel
Showing results for 
Search instead for 
Did you mean: 

MDK Multi select Confirm

srujanam
Explorer

Hi , My client has a requirement to confirm multiple operations from the following screen, instead of navigating into each operation. I looked at options provided by MDK, but could not find an option in WEB IDE to use. Below is the screenshot of the Sell all Operations screen which I want to Enhance. The client wants to select multiple Work Order operations with a "Confirm" button at the bottom.

untitled.png

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

srujanam

Were you able to resolve your issue? If below response helped you, then please mark the helpful answer by accepting it OR post an answer so others might benefit from your findings.

Regards, Jitendra (SAP Community Moderator)

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

srujanam

Update:

Multi-select support in ObjectTable lists is now available as part of the MDK 5.2 release.

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert

Enabling an edit mode on a list to select one or more items is on our roadmap for MDK already. In the meantime you can still achieve a similar experience though the use of rules and images.

Assuming your page is opening in multi-select mode you would...

  1. Have two images in your application for selected and unselected states of an item
  2. Use the icon stack to display the current state every item when the page loads
  3. Use a rule to check if the current item is in the page client data selected list and show the appropriate image
  4. Use the OnPress action for the row to toggle the selected state
  5. Toggle of state would include checking client data array to see if the current row key is in the "selected" list (initially empty), if found in the list remove the row, if not add the row
  6. In the Confirm button, loop over all the entries in the selected list and preform the necessary action on each one
srujanam
Explorer
0 Kudos

Thanks for the quick reply Bill. I will try out your solution and check.