I'm building a suite of application using mainly FPM. In this specific case, FPM_OVP_COMPONENT with FPM_SEARCH_UIBB and the FPM_LIST_UIBB.
I'd like to allow my users to select one to many rows in the FPM_LIST_UIBB and perform actions for those selections using a button in the toolbar. This works just fine.
I'd like to enable the rendering style "ALV Rendering" on the FPM_SEARCH_UIBB, in order for the users to sort and filter the data. This works just fine.
However the combinations of the above fails. I.e. I want them to be able to select one or many of the rows in the table after they have sorted and/or filtered, and then perform the functions on those rows, by clicking a button in the toolbar.
In my implementation of if_fpm_guibb_list~process_event, how do i get the actually selected data?
IT_SELECTED_LINES contains indexes of the selected lines as displayed, but that does not match the indexes of my data table, which remains as found by my search feeder class.
Also IV_LEAD_INDEX and IV_EVENT_INDEX behaves as displayed and not according to my data table.
Please advice on how to proceed to get the data i want. Or is sorting and selection mutually excluded in FPM_LIST_UIBB?
Alternatively, please advice on another approach to allow users to sort data and select rows.