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: 

HELP ME IN TABSTRIP CONTROL

Former Member
0 Kudos
172

HI,

CAN ANY ONE GIVE ME THE ADVICE PLEASE URGENT.

CAN I CREAT TAB STRIP CONTROL AND SUB SCREEN USEING SELECTION-SCREEN?

I KNOW WE CAN XCREATE IT USING DILOG PROGRAMING PLEASE HELP ME.

WITH WARM REGARDS.

KHADAR.

5 REPLIES 5

athavanraja
Active Contributor
0 Kudos
134

YES

checko ut this demo program

DEMO_SEL_SCREEN_WITH_TABSTRIP

Raja

Former Member
0 Kudos
134

hi

try with this ... it will work i think

SELECTION-SCREEN BEGIN OF TABBED BLOCK tabb1 FOR 14 LINES.

SELECTION-SCREEN TAB (15) tabs1 USER-COMMAND ucomm1

DEFAULT SCREEN 12.

SELECTION-SCREEN TAB (15) tabs2 USER-COMMAND ucomm2

DEFAULT SCREEN 2000.

SELECTION-SCREEN END OF BLOCK tabb1.

INITIALIZATION.

tabs1 = TEXT-001.

tabs2 = TEXT-002.

AT SELECTION-SCREEN

CASE SSCRFIELDS-UCOMM.

WHEN 'UCOMM1'.

tabb1-program = 'SAPLSVAR'.

tabb1-dynnr = 100.

tabb1-activetab = 'TABS2'.

ENDCASE.

Former Member
0 Kudos
134

Hello Kadhar,

Check the Tcode WE02 for ur reference.

Thanks,

Vasanth

Former Member
0 Kudos
134

Check this link

Regards,

Suruchi

former_member673464
Active Contributor
0 Kudos
134

hi,

We can create tabstrip control in selection-screens.Use the following syntax in

your reporting program.

SELECTION-SCREEN: BEGIN OF TABBED BLOCK <tab_area> FOR <n> LINES,

TAB (<len>) <tab1> USER-COMMAND <ucom1>

[DEFAULT [PROGRAM <prog>] SCREEN <scrn>],

TAB (<len>) <tab2> USER-COMMAND <ucom2>

[DEFAULT [PROGRAM <prog>] SCREEN <scrn>],

...

END OF BLOCK <tab_area>.

This defines a tabstrip control <tab_area> with size <n>. The tab pages <tab1>, <tab2>… are assigned to the tab area. <len> defines the width of the tab title. You must assign a function code <ucom> area to each tab title. You can find out the function code from the field SY-UCOMM in the AT SELECTION-SCREEN event.