Skip to Content
author's profile photo Former Member
Former Member

Tabstrip

hi all,

i have designed a program with three tabstrip, Fisrtly show an ALV report where I select a row giving double click and then show tabstrip to explore information, but when i back to return the alv report and choose other row giving double clic show the last tabstrip displayed. How can i refresh tabstrip control or there is another solution, please?

Thanks in advance.

regards.

Marisol.

<LOCKED BY MODERATOR - USE APPROPRIATE TITLES>

Edited by: Alvaro Tejada Galindo on Dec 23, 2008 11:06 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 08:29 PM

    could you please describe more on program flow ?

    Thanks,

    Aditya. V

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 08:52 PM

    hi all,

    In my program i have defined the following tabstrips: General data, details and payments. When a execute program i am displaying an alv report then i give double clic on row to go to the tabstrips if the last tabstrib actived was details and i press the button back to return to ALV report and select another row the tabstrips displayed is details and it must be general data.

    main_tab-activetab = i_main_tab-pressed_tab.

    CASE i_main_tab-pressed_tab.

    WHEN c_main_tab-tab1.

    i_main_tab-subscreen = c_sub_dgr. "general data

    WHEN c_main_tab-tab2.

    i_main_tab-subscreen = c_sub_det. "Details

    WHEN c_main_tab-tab3.

    i_main_tab-subscreen = c_sub_val. "Payments

    ENDCASE.

    Thanks in advance.

    regards.

    Marisol.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 08:53 PM

    Hi,

    How are you getting back from tab strip to you ALV output? Did you use your custom button in the tab strip ? If yes you can clear the internal table of the tabstrip you have used by capturing the function code. If you use standard back ( green arrow ) still you can clear the internal table that you have used to populate the tabstrip. I hope i have understood your problem.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 09:01 PM

    clear the tab strip structure fileds before you populate evey time on the button click ...

    Thanks,

    AV .

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      In tabstrip you are reusing the subscreen area hence only one tabstrip can be active at a time a better way to use tabstrip tabs one by one would be something like this

      when 'tab1'.

      tabstrip-activetab = 'tab1'.

      when 'tab2'.

      tabstrip-activetab = 'tab2'.

      when 'tab3'.

      tabstrip-activetab = 'tab3'.

      try to write in this format would be more easier

      Regards

      sumeet malhotra

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 10:45 AM

    Please check the data that is sent from ALV list. Once you come back from Tab Strip screen and double click on ALV Again, check the data that is selected.

    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.