on 02-10-2016 12:54 PM
What is best way to create connection between multiple UIBB ,e,g 2 set of Form,list ,i.e over all 3 UIBB. Is static attribute better way .
Hi,
Wiring is only recommended if you are working with generic feeder classes or at least with a significant reuse potential of your feeder classes. For individual applications it is easier to use event parameters or central instances (e.g. a singleton) for the implementation of data flows between UIBBs.
Best regards
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jens,
Thanks for reply .
I have requirement, which is developed using Feeder class . FPM application is OIF_Tabbed based . In one tab , there are 3 FORM_UIBB and one LIST_UIBB . Means over all 4 UIBB ,and all are implemented using Feeder class .
Now , I need data across are 4 UIBB .I am planning to use "Static Attributes" in all 4 feeder classes , to have data available across user session .
However , I checked in below link , we can use "Event based approach" as well . Wiring,I understand ,might not be that helpful for my case .
Can you please tell ,which is more better way of doing,since I am new to FPM
Hi Deepa,
the shared data component is not suitable if you use GUIBBs i.e. feeder classes. The event based approach is fine but you need to take into account that UIBBs can miss events if they are not processed: For instance, when a UIBB is on a different page or on a hidden tab of the Tabbed UIBB, then its event loop methods are not processed. Using static attributes is maybe not the most beautiful approach ever, but for simple use cases it is absolutely fine. A singleton is also fine.
But by the way: Static attributes do not hold data across ABAP sessions.
Best regards
Jens
Hi Jens
Thank you again for reply .
My understanding :
Please correct me,,
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.