Skip to Content
0
Former Member
Dec 18, 2006 at 05:27 AM

How to call subscreens within tabstrip

310 Views

Hi,

My program contains a tabstrip control with two subscreens loaded on it.The second subscreen of tabstrip contains ALV with event handling.

When iam triggering double click event on ALV it should call the first subscreen which is on the same tabstrip.

For this i have written the code

MYTAB-ACTIVETAB = 'PB1'.

LEAVE TO SCREEN '100'. (ITS THE MAIN SCREEN WITH TABSTRIP).

But for the first time when iam doing double click on alv it is only activating mytab-activetab but not loading the subscreen and for the second time when iam doing double click it is loading the subscreen.

What could be the problem? Why is it not loading for the first double click? Why is it loading for the second time double click event?

I have checked it in debugging mode, For the second time it is calling the PBO of first subscreen. For the first time it is not calling the PBO of first subscreen.

Please assist me at the earliest.