Hiding Tab in Tabbed UIBB

The below post describes how to make visible/hide of a tab ( containing any number of UIBBs) in a tabbed UIBB in floorplan manager. The post uses an OVP application containing a tabbed UIBB with 3 tabs and each tab contains only one form UIBB.

Fedder Class 1.

123

Fedder Class 2.

45

Fedder Class 3.

67

Go to Tx- FPM_WB and create an OVP applcation.

8

Add a tabbed uibb component and  create a configuration.

9

Provide a variant ID & Variant Name for the tabbed UIBB configuration.

10

Add three tabs and in each tab add a from component and create its configuration.

111213

Form configuration under  TAB1.

14

 

15

Form configuration under  TAB2.

16

17

Form configuration under  TAB3.

1819

Test the application and here we have 3 tabs and n each tab we have only one form uibb.

202122

Now the task is to hide a particular tab , in this case let’s hide TAB2. Create a class and implement the interface: IF_FPM_TABBED_CONF_EXIT

2324

The method gives an object of the interface  IF_FPM_TABBED.

25

It contains a lot many methods but for our task now we can use the method SET_TAB_VISIBLE.

2627

Put the below code in the method.

28

Go to the Tabbed UIBB configuration and form GUIBB Settings.

29

Choose application controller settings.

30

Provide the class and continue with OK.

31

Save and test the application.

32

So here the TAB2 named as  Splfi is hidden(invisible).

3334


 

Advertisements

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s