cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide FPM SubView

ged_hurst
Participant
0 Kudos

Hi there,

I need to hide an FPM subview depending on some logic. This view has been added at design time but should be made invisible until a condition is met.

I've checked the method OVERRIDE_EVENT_OIF and the object IF_FPM_OIF but it doesn't seem to offer any means for making a view invisible.

Any clue how to do so?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

One of the way is to see the possibility to add_uibb and remove uibb dynamically. Other solution might be create a visibility attribute in component controller and bind this to the views root ui element.

Set the value of the attribute based on your condition.

ged_hurst
Participant
0 Kudos

Hi Baskaran,

thank you for your input, I've given you points.

However that's not exactly what I want:

1) I don't want to add or remove UIBB dynamically. My UI is defined at design time and I don't want to remove and afterwards add a UIBB, it's not correct

2) If I define a context attribute WDUI_VISIBILITY and I bind it to the ROOTUICONTAINER of the view I want to hide then the content of the view is made invisible of course but the heading or title of the view is still there in the tabbed view, which is even worse

I need to make a certain tab invisible in its entirety.

Ideas?

Answers (0)