OIF with multiple GUIBBs- Save data
I have come up with a requirement which is very common I am sure but I juts need some help.
My requirement is - I will have a OIF screen and inside that I will have a tabbed UIBB or lets say multiple GUIBBS. IN each GUIBB there are a set of fields. The user will open the application and fill out those fields and will be able to save them.
Now, while saving those values will go into different tables so wherever I write the logic for save I will need the data entered in all the GUIBBs.
Lets say I use same feeder for all the GUIBBs. Then how is it going to be possible to get all the data for all the UIBBs..
Many thanks in advance.
Vivek Priyadarshi replied
Like Katrice suggested you could write code in process_event interface method of respective webdynpro component/ feeder classest and it will work just fine.
However, in my experience OIF tend to get very complicated very fast, I would highly recommend implementing an AppCC ( Application specific configuration controller). AppCC interface will provide you with the method OVERRIDE_EVENT_OIF where you can implement code for event FPM_SAVE at one central place ( unlike in the previous approach where you implement SAVE for each GUIBB/ Web dynpro ). (AppCC how to ).
In order to get values from all your GUIBBs/Webdypros at one central place you will use a singleton class.
I feel this way you have better control over the entire application and in a way you have created a Data model (singleton class) and Controller (AppCC).