on 02-07-2013 5:23 PM
Hi Guys,
I am using OVP component and in a page I have a Tabstrip component and another component. This tabstrip contain several tabs. How I could know what is the current tab from the another component?
Thanks
Hi Sergio,
You can use method GET_CURRENT_TAB of IF_FPM_TABBED interface. Set this tab name as public attribute and access it from another component.
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.
Hi Sergio,
Here step by step guide to achive it.
1. First implement the method OVERRIDE_CONFIG_TABBED of IF_FPM_TABBED_CONF_EXIT interface in appcc class.
2. Place this source code into your OVERRIDE_CONFIG_TABBED method.
Data : lv_cur_tab type string.
lv_cur_tab = io_tabbed ->GET_CURRENT_TAB ( ).
Now lv_cur_tab variable will have your current selected tab.
Thanks
PraveenGuta
Hi Sergio,
Above code need to be placed in App CC class of ovp application.
Create a general ABAP class and implement the IF_FPM_TABBED_CONF_EXIT interface.
Then place above source code in OVERRIDE_CONFIG_TABBED method.
Now you need to assign this class to the application controller settings of the ovp application as per below snap shot.
Thanks & Regards
Praveen Gupta
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.