cancel
Showing results for 
Search instead for 
Did you mean: 

Deselect a row in FPM List

0 Kudos

Hi all,

I have an UIBB List with a list of customer in my sales application.

I need to allow my users to deselect a row from this list but I didn't find a solution (an event like FPM_LEAD_DESELECTION or similar ?).


Any help?


Thanks in advance,


Francesca

Accepted Solutions (1)

Accepted Solutions (1)

ulrich_miller
Active Participant
0 Kudos

Hi Francesca,

you can deselect a row by using feeder class method get_data( ). There you have the parameter ct_selected_lines (and cv_lead_index). You can change them, but when you do so you also need to set ev_selection_changed = abap_true.

Kind regards,

Ulrich

0 Kudos

Hi Ulrich,

thank you so much for your response.

I agree, I know the lines selected by my user (ct_selected_lines and cv_lead_index) but I can't understand what I have to modify in order to deselect them.

The ev_selection_changed = abap_true parameter is certainly needed but I suppose I have to do something before

Many Thanks,

Francesca

ulrich_miller
Active Participant
0 Kudos

äh, sorry, yes of course, just do a abap statement like this:

clear: ct_selected_lines, cv_lead_index.

ev_selection_changed = abap_true.


That should be all.

0 Kudos

Ooohh! It was very simple, I'm so sorry If I didn't understand before! 

It works fine, thank you so much!

Have a good day

Francesca

Answers (0)