cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent FPM List from jumping back to 1st row?

mschaeufler
Explorer

Hello folks,

I have an FPM Application which uses the FPM_LIST_UIBB and a class implementing the IF_FPM_GUIBB_LIST interface.

Whenever I change a value in the resulting WebDynpro list (e.g. change a value for the dropdown), the list will jump back to the very first row and will not maintain the fokus on the row that I'm currently editing. See the following example:

Please be aware that in above screenshot the 1. row (which would have "Prio" = 1) is not visible because I scrolled past it. When I now change the dropdown field of row 6 to another value, the list will jump back to the 1. row, which will leave row 6 invisible:

This behaviour is not acceptable, because the user has to: Scroll -> Change Value -> Scroll -> Change another value -> Scroll ...

On productive system this table reaches over 100 entries and therefore scrolling will get really frustrating.

I didn't find any setting which would change this behaviour.

Can you please assist me?
Many thanks in advance!

PS: We're on a SAP BW 7.5 SP11

Accepted Solutions (0)

Answers (1)

Answers (1)

ulrich_miller
Active Participant
0 Kudos

Hi Markus,
can you check the feeder method if_fpm_guibb_list~get_data().

Beside others there the parameters ev_data_changed and cv_first_visible_row. Now whenever ev_data_changed = abap_true,
the parameter cv_first_visible_row is applied. Basically ev_data_changed should only be set to abap_true when the data really
did change. I. e. the most simple solution would be to NOT set ev_data_changed = abap_true.


Kind regards,
Ulrich