Tabstrip : how to switch to a tab from a button in an other tab
I created a screen with a tabstrip 'TABSTRIP' (screen '0100' ) containing 2 tabs ('TAB1' in subscreen '0110' and 'TAB2' in subscreen '0120' ).
I would like to do the following thing :
- I click on a radiobutton positionned in the subscreen '0110'
- I want to switch to the subscreen '0120'
In the 'PROCESS ON VALUE-REQUEST' of subscreen '0110', I have implemented the following code :
tabstrip-activetab = '0120'.
It is correctly executed, but neither the PBO nor the PAI of the main screen 0100 are executed, so I do not switch to '0120'.
Do you have an idea to make possible what I want ?
Thak you for your help !
Here is my code for the main screen 0100 :
PROCESS BEFORE OUTPUT. MODULE status_0100. CALL SUBSCREEN: TAB1 INCLUDING SY-REPID '0110', TAB2 INCLUDING SY-REPID '0120'. PROCESS AFTER INPUT. CALL SUBSCREEN: TAB1, TAB2. MODULE user_command_0100.
MODULE user_command_0100 INPUT. CASE sy-ucomm. WHEN 'TAB1'. tabstrip-activetab = 'TAB1'. WHEN 'TAB21'. tabstrip-activetab = 'TAB2'. ENDCASE. CLEAR sy-ucomm. ENDMODULE. " user_command_0100 INPUT