cancel
Showing results for 
Search instead for 
Did you mean: 

FPM_TABBED_UIBB

Former Member
0 Kudos

i have created four tab using fpm_tabbed_uibb.

my requirement to get which tab is selected by user.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jitendra,

If you have implemented the feeder class for GUIBB tabbed then you must have used IF_FPM_TABBED. If not, you will need to implement this feeder class.

There is a method in this interface IF_FPM_TABBED->GET_CURRENT_TAB which returns the current selected tab as a STRING value.

Hope this helps you.

-Manish

Former Member
0 Kudos

Hi Manish,

i try but its not giving me selected tab .

for example  i have 4 tabs, i'm on 2 tab and i click on 3 tab but IF_FPM_TABBED->GET_CURRENT_TAB return 2nd tab not 3rd tab

Former Member
0 Kudos

Hi Jitendra,

As you said it returns 2nd tab that means the event is fired before the switch is made. Check when you are calling this method. It should be called after the switch is completed. Also, please debug the context and see if any other element contains the value of new selected tab.

It might be in the parameters. If its there, you can get it easily.

-Manish

former_member533584
Contributor
0 Kudos

Use method CL_FPM_TABBED->GET_CURRENT_TAB.

Thanks,
Ananth S