Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

swapping UIBBS

Hi Experts,

Below is my scenario.

I have a section in an OVP floor plan Main Page.

In this section, I am supposed to show 4 LIST GUIBBs but one at a time.

I am supposed to load individual LIST GUIBBs based on some action from another section of the same page.

What I have done currently is, I have added 4 LIST GUIBBS in the section, set the 'Hidden element' attribute of all of them to 'Hidden but processed in the event loop'. And then in the OVP exit method OVERRIDE_EVENT_OVP, depending on the external event, I change the Visibility of the required LIST GUIBB. This works fine. However, I just wanted to know if  there is any other better alternative which will allow me to navigate back and forth between individual UIBBS ( Not the Page Navigation ). In my approach, all the GUIBBS are being instantiated at once even though they are not visible.

I want to load only the one which I want.

Thanks,

Ajith Cheruvally   

Former Member
replied

Hi Ajith,

In the OVERRIDE_EVENT_OVP method you can remove all unwanted UIBBs and add only the single one you want. Then only the visible one will be instantiated. Once you swap (with the analogous logic), the next one will be instantiated, so it is instantiation on demand.

Regards, Jens

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question