Skip to Content
0
Apr 30, 2018 at 11:48 AM

Multiple FPM chart selection/deselection

158 Views

Hi!

We have 2 charts within same FPM component and we would like to clear the selection of first one when selecting data from the other.

We are trying to do that at app controller feeder, using chart methods like: IF_FPM_CHART_TABLE_SELECTION~SET_SELECTION_BY_INDICES or CL_FPM_CHART_TABLE_MODEL->reset_selection

But when using any of them, the event "FPM_CHART_SELECTION" is triggered so we are not able to know if it is from the manual selection or the automatic deselection.

I mean, if we select some data from chart A, it is highlighted. Then we select data in chart B and we would like to unselect data from chart A.

We were able to unselect the data from chart A using mentioned methods, but both of them trigger a new event "FPM_CHART_SELECTION" with chart A information. We are not able to know if it comes from the manual selection of A chart (which should reset chart B selection) or the automatic event trigered selecting chart B (should not reset chart B selection)

Any suggestion?

Thanks a lot in advance,

Kr,

Agustín.