cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically set a filter in a FPM list UIBB

mohit_dev
Contributor
0 Kudos

Hi Experts,

I am implementing a list based on FPM_LIST_UIBB, my question is, is it possible to apply a filter in the Feeder Class of the same?

I tried to search this functionality and found some existing questions already on this topic as below, but considering them as 5-6 years old, I thought to put this question again on this forum.

Old Questions
Question-1
Question-2

Accepted Solutions (1)

Accepted Solutions (1)

ulrich_miller
Active Participant

Hello Mohit,
yes, that is true, you can only set a filter via UI and not programmatically.

Kind regards,
Ulrich

ps: I highly recommend to use List ATS UIBB, the old List UIBB component is kind of deprecated.

mohit_dev
Contributor
0 Kudos

Thanks, ulrich.miller, for your response.

Actually, the reason I am using FPM_LIST_UIBB is that there is a standard component already created with FPM_LIST_UIBB, which I am just reusing.

Answers (1)

Answers (1)

simon_hoeg
Advisor
Advisor

Hello Mohit,

I recommend to use FPM_LIST_UIBB_ATS instead of FPM_LIST_UIBB, then you will get more generic features. See the documentation or this coding example.

When using FPM_LIST_UIBB you could simply work with toolbar functions and corresponding event handling in method IF_FPM_GUIBB_LIST~PROCESS_EVENT / GET_DATA. In addition you can combine it with a proper Search UIBB (-> WD component FPM_SEARCH_UIBB).

Best regards,

Simon

mohit_dev
Contributor
0 Kudos

Thanks, Simon, for your response.

I checked the documentation of the ATS LIST UIBB and the link you have mentioned above, but I think it is only possible to apply filter by the user directly on the UI, but my requirement is, to control this in the feeder class itself.

There is one standard LIST UIBB, which shows all the data in one tab. I am using the same standard component in another Tab, where I want to restrict the data based to one specific code only.