2007 Mar 12 8:55 AM
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.
2007 Mar 12 8:58 AM
YES
checko ut this demo program
DEMO_SEL_SCREEN_WITH_TABSTRIP
Raja
2007 Mar 12 8:59 AM
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.
2007 Mar 12 9:00 AM
Hello Kadhar,
Check the Tcode WE02 for ur reference.
Thanks,
Vasanth
2007 Mar 12 9:01 AM
2007 Mar 12 9:18 AM
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.