cancel
Showing results for 
Search instead for 
Did you mean: 

select multiple from itab kind of popup

mike_mcinerney
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

mike_mcinerney
Participant
0 Kudos

Found another way using dynamic menus