cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple List UIBB components from different data sources

Former Member
0 Kudos

Hi,

I'm quite new to FPM, up to now all of the applications I've created have been reports based on CDS Views using the Application Creation Tool, so the whole process is very simple with only SQL development required, which i'm very familar with.

I'm not an ABAP'er but I'm learning, I can deal with most basic situations.  I'm actually an LE functional specialist, but trying to branch my knowledge into the technical world.

My requirement is to create an FPM application with three list UIBB components.  The first list populated from a search UIBB, the 2nd list populated by selecting a record of the first list, and the 3rd from the second.  Each list has it's own data source, in my case i'll be using CDS views.

I've attempted to create this using ACT using the generic feeder class (CL_FPM_SADL_SEARCH_RESULTS) and wire the lists together, but this doesn't seem possible, as the business entity is different with each list and as such they aren't linking together, as they would in the case where they are all from the same entity (such as a list and chart etc).

Maybe i'm missing something?

Assuming this isn't possible using the generic feeder class and wiring, I'm assuming I need to create my own feeder class?

How would i go about this?

  • Do i continue to use the generic search feeder class for the search component, or would this also need a custom class?
  • I'm unclear on the logical flow if i were to create my own feeder class for the lists, would each of the three lists need a class each and how do they interact with each other when selecting the line to populate the follow-on list?
  • I can't find any examples that would give me a basic introduction to create my own feeder class, although i've looked at the IF_FPM_GUIBB_LIST interface and methods, however i'm still unclear how i would go about this.

What would be perfect is to see a basic example of a feedber class, with field definitions, get data and how this would trigger from an action of someone selecting a record of a previous list (the interaction part).

Any info you can provide would be great to get me started, then I can build on that foundation of knowledge.

I've attached a screenshot of the component configuration i've built so far, assuming my explanation isn't clear.

Many thanks,

David

Accepted Solutions (0)

Answers (2)

Answers (2)

AbhishekSharma
Active Contributor
0 Kudos

Hi Dave,

I have posted full example on wiring please have a look on below URL.

  • Do i continue to use the generic search feeder class for the search component, or would this also need a custom class?

     Depends on your easyness to use existing one or to create new one.

  • I'm unclear on the logical flow if i were to create my own feeder class for the lists, would each of the three lists need a class each and how do they interact with each other when selecting the line to populate the follow-on list?

     You can have single class also for both the list UIBB.  and you can differentiate the events of      each List by mv_config_id parameter which will contains the configuration ID of list from      where the event is raised.

     Once event is raised you need to pull data from Model class and put it on Wire and need to      handle it on inbound of another list.

  • I can't find any examples that would give me a basic introduction to create my own feeder class, although i've looked at the IF_FPM_GUIBB_LIST interface and methods, however i'm still unclear how i would go about this.

Hope this will help.

Thanks-

Abhishek

jens_boeckenhauer
Active Participant
0 Kudos

Hi Dave,

this is possible in principle if your SAP_UI 7.40 SP is high enough. You could connect the lists by the same sort of wire as the standard result list is connected with the search UIBB ("transfer of filter criteria"). The first and second list would need a redefined feeder for which method HAS_CUSTOM_LEAD_SEL_OUTPORT returns true. The transferred filter objects are then enriched with the key field values of the selected rows.

Overall this is a little bit tricky, and it can only work if all your CDS views used for the lists are compatible in the sense that the second list needs to have the key fields of the fist list included etc.

Regards

Jens