Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Get selected Tabstrip

Hello.

I have a TabStrip with two Tabs.

In my programm i must reset my view, and so the tabstrip is default.

how can i get the latest tab and set it after reset view?

thanks.

marcus

Former Member
replied

You can do something like this:

METHOD wddomodifyview .

  DATA: l_tabstrip TYPE REF TO cl_wd_tabstrip.

  l_tabstrip ?= view->get_element( 'YOUR_TABSTRIP' ).
...

But I must insist you should try the approach with a context attribute first instead.

Regards

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question