cancel
Showing results for 
Search instead for 
Did you mean: 

[Tabbed UIBB] Change tab name dynamically?

guillaume-hrc
Active Contributor
0 Kudos

Hi,

Does anyone know how to change tab names dynamically?

There is not a single method in the Interface Controller of the Tabbed UIBB so Enhancement is not an option I think.

As far as I understand it, the tab name is stored in context path: VARIANT.TAB.NAME

There is a promising IF_FPM_TABBED~RENAME_TAB method in the Assistance class but how to get access to it at runtime?

Thanks in advance.

Best regards,

Guillaume

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Guillaume Garcia,

You can make use of RENAME_TAB method of interface IF_FPM_TABBED.

Follow the below mentioned steps to achive this.

1.  Implement IF_FPM_TABBED_CONF_EXIT interface in your APPCC(Application Controller Class).

2.  Implement method OVERRIDE_CONFIG_TABBED of the interface , in method you will get      IO_TABBED  instance type IF_FPM_TABBED.

3. You can call RENAME_TAB and you can change tab name dynamically.

Thanks & Regards

Praveen Gupta

Answers (2)

Answers (2)

guillaume-hrc
Active Contributor
0 Kudos

Thanks.

Awesome guys!

Former Member
0 Kudos

Hello Guillaume,

You need to have your Web Dynpro component implement interface IF_FPM_TABBED_CONF_EXIT. Then, in the method OVERRIDE_CONFIG_TABBED in your component controller, you will be able to use this method on object IO_TABBED (which is an input parameter of the method).

Your component also needs to be set as the "application controller" component in the component configuration of your main application.

Hope this helps,

Julien