Skip to Content
0

Tabstrip in tabstrip

Aug 01, 2017 at 12:52 PM

45

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Aug 01, 2017 at 01:21 PM
0

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)

Show 1 Share
10 |10000 characters needed characters left 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

0