Skip to Content
avatar image
Former Member

Tabstrip in tabstrip

hello everybody,

I'm trying to manage a tabstrip inside a tabstrip : consider the first one is ,of course a subscreen of a main screen,and when I move on the "second" tabstrip the "button strip"

does not allow to move on the other subscreen.

Should I need some particular code to manage subscreen<->subscreen ? Or is the same for normal screen<->subscreen?

Hope I've clearly explained the point.

Luka

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 01, 2017 at 01:21 PM

    Problem is that there is by default no function code management (no status/user interface, no ok_code field) in a subscreen, so your main screen should handle the ok_code, even ok_code from the subscreen of a sub-screen...

    If too complex, a common way to get around this problem is manage of sy-ucomm in a subscreen PAI (hoping the subscreen PAI is executed before the AT USER-COMMAND in the main PAI logic, this is most often the case) But conduct extensive testings as sometimes you will be required to clear the main ok_code once sy-ucomm was handled to prevent some error message or even dump. (cl_gui_cfw=>set_new_ok_code)

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Raymond,

      I just resolved my issue : it was because I was wrongly setting the name on <tabstrip>-activetab

      CASE sy-ucomm.
      WHEN 'TEST_NICK'.
      ktabstrip2-activetab = (filled with name of tab instead of function name).
      ...

      ENDCASE.

      Then I resolved this way.

      thank you anyway