on 05-17-2010 5:08 PM
We have an internal table displayed through an alv. (context ND_DATA)
The itab has a boolean field named rowactive.
The grid has a filter (invisible) set so that it only shows rows that are active.
Lets say we have 20 rows, 8 of which are active (and therefore displayed).
The user needs to be able to activate additional rows to be displayed in the grid.
I wanted to give the user a button to push, and on its action, display an itab
of the (12) unasserted rows for him to select(multiple) from. On exit, this would
set the active flag on ND_DATA for the selected rows so that they would
appear in the grid. ( I hard coded this and the presentation through the grid works fine).
My question is what is the best way to present for selection
certain columns from the the values which have not been asserted .
So, I think that I am looking for a select multiple from itab kind of popup - is there such a thing ?
loop at context node where rowactive = false
append context node record to itab
endloop
popup for multiple selection from itab
loop at selected rows
set ND_DATA-rowactive=abap_true
endloop
BTW I want the underlying grid to remain visible during this operation
Other ideas welcomed...
Thanks...
...Mike
Found another way using dynamic menus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.