Skip to Content
0
Jul 01, 2015 at 02:06 PM

Active tab-screen

30 Views

Hi,

How is it possible to know which tab-screen is active when the users clicks on F8.

I got this code to create the 2 tabs:

"Tab screens

selection-screen begin of tabbed block t1 for 10 lines.

selection-screen tab (38) tsc2

user-command tsc2

default screen 2000.

selection-screen tab (38) tsc3

user-command tsc3

default screen 3000.

selection-screen end of block t1.

" Scherm wordt hier opgebouwd

"screen 2000

selection-screen begin of screen 2000 as subscreen.

selection-screen begin of block b01 with frame title text-b01.

parameters:

p_path type string,

p_fname type string.

selection-screen end of block b01.

selection-screen end of screen 2000.

"screen 3000

selection-screen begin of screen 3000 as subscreen.

selection-screen begin of block b02 with frame title text-b02.

parameters:

p_ddicst type string.

selection-screen end of block b02.

parameters:

p_alv radiobutton group gr1,

p_endwnl radiobutton group gr1.

selection-screen end of screen 3000.

initialization.

tsc2 = 'File upload'.

tsc3 = 'File download'.

start-of-selection.

"Here I need to know which tab is active