Skip to Content

Cancel tabstrip navigation

I have a problem with navigation in my Web Dynpro.

I have a tabstrip in a view. When the user click on a tab, I check if any changes are made. Here I use get_changes( ). If there are any changes I show a popup (use create_popup_to_confirm( ) ) but the popup is shown on the new tab and I want is on the old one where the changes where make.

I have tried to place my code in WDDOBEFOREACTION but that do not solve my problem.

Can anyone tell my why ?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 01:46 PM


    you can add an event to your tabstrip ( in the layout : add event onSelect ).

    bind the selected tab to an attribute : say Tab.

    in your method ( event handler) you've got 2 parameters ( old_tab and tab ) :

    - you do your control

    and then

    IF continue = abap_true.



    name = `TAB`

    value = tab ).




    name = `TAB`

    value = old_tab ).


    there you are. I hope this resolves your problem.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.