on 06-20-2013 12:15 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks.
Awesome guys!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.