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

Tabstrip doubt?

Former Member
0 Likes
372

Hi

How can we give header texts in a tabstrip?

Thanks

2 REPLIES 2
Read only

Former Member
0 Likes
348

Hi,

If you are looking for Tab header text in the selection screen..Directly you can give text..Check this example..

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.

SELECTION-SCREEN BEGIN OF SCREEN 12 AS SUBSCREEN.

PARAMETERS: P_MATNR TYPE MATNR.

SELECTION-SCREEN END OF SCREEN 12.

SELECTION-SCREEN BEGIN OF SCREEN 2000 AS SUBSCREEN.

PARAMETERS: P_KUNNR.

SELECTION-SCREEN END OF SCREEN 2000.

<b>INITIALIZATION.

tabs1 = 'Tab1'.

tabs2 = 'Tab2'.</b>

Thanks,

Naren

Read only

Former Member
0 Likes
348

Hi,

For dialog program check the following demo programs

DEMO_DYNPRO_TABSTRIP_LOCAL

DEMO_DYNPRO_TABSTRIP_SERVER

Thanks,

Naren