Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

tabbed selection screen

Former Member
0 Likes
397

Hi all,

I have a tabbed selection screen. How can I see during runtime which tab is active? I assumed sy-ucomm would do the trick, since I assign a user-command to a tab 'button'?

*.. build tabbed screen

selection-screen: begin of tabbed block mytab for 8 lines,

                   tab (20) button0 user-command push0

                                    default screen 100,

                   tab (20) button1 user-command push1

                                    default screen 101,

                   tab (20) button2 user-command push2

                                    default screen 102,

                   end of block mytab.

thanks!

1 ACCEPTED SOLUTION
Read only

jeroen_verbrugge2
Active Participant
0 Likes
359

Hi,

Have a look at demo program DEMO_SEL_SCREEN_IN_TABSTRIP or DEMO_SEL_SCREEN_WITH_TABSTRIP (can be found using transaction abapdocu). You have to hold the active tab in the TABSTRIP variable.

Kind Regards,

Jeroen

2 REPLIES 2
Read only

jeroen_verbrugge2
Active Participant
0 Likes
360

Hi,

Have a look at demo program DEMO_SEL_SCREEN_IN_TABSTRIP or DEMO_SEL_SCREEN_WITH_TABSTRIP (can be found using transaction abapdocu). You have to hold the active tab in the TABSTRIP variable.

Kind Regards,

Jeroen

Read only

0 Likes
359

Thanks,

that should do the trick!