Assign subscreen to the tabstrip pushbutton
I have made a tabstrip in the dialog program and there are 3 tabs in it. For that I have made 3 subscreens.I have done all the relevant coding in flowlogic of the main acreen like this:
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN: SUB1 INCLUDING sy-cprog '0100',
SUB2 INCLUDING sy-cprog '0110',
SUB3 INCLUDING sy-cprog '0120'.
PROCESS AFTER INPUT.
CALL SUBSCREEN: SUB1,
The module coding :
MODULE user_command_5001 INPUT.
IF sy-ucomm EQ 'SCREEN1'.
screen_no = 100.
tabstrip-activetab = 'SCREEN1'.
IF sy-ucomm EQ 'SCREEN2'.
screen_no = 110.
tabstrip-activetab = 'SCREEN2'.
IF sy-ucomm EQ 'SCREEN3'.
screen_no = 120.
tabstrip-activetab = 'SCREEN3'.
But still I am getting the error message "No suscreen is assigned to tabstrip pushbutton SCREEN1".When I am running the subscreens seperately they are working but when I am running the main screen I am getting the error message.
In the element list of the main screen I am able to see SCREEN1, SCREEN2, SCREEN3