2010 Jan 21 7:35 PM
Hello Gurus,
I am trying to find a technique where I can create tab within a tab block. On a selection-screen report I am working I am creating a tab as follow. But I need two more tabs within this tab. Is it possible ? How ?
SELECTION-SCREEN BEGIN OF BLOCK BSD-2 WITH FRAME Title text-030.
SELECT-OPTIONS :
S_DSD FOR sy-datum,
S_DD FOR sy-datum,
SELECTION-SCREEN END OF BLOCK BSD-2.
SELECTION-SCREEN END OF SCREEN 700.
SELECTION-SCREEN: BEGIN OF TABBED BLOCK tab_block for 5 LINES,
TAB (24) tab1 USER-COMMAND tabpush6
DEFAULT SCREEN 700,
END OF BLOCK tab_block.Regards,
Jainam.
2010 Jan 22 3:27 AM
Hi Shah,
SELECTION-SCREEN BEGIN OF SCREEN 500 AS SUBSCREEN. " Use these Subscreen as mentioned below
PARAMETERS: carrid type spfli-carrid,
connid type sflight-connid.
SELECTION-SCREEN END OF SCREEN 500.
SELECTION-SCREEN BEGIN OF SCREEN 600 AS SUBSCREEN.
PARAMETERS: matnr type mara-matnr,
maktx type makt-maktx.
SELECTION-SCREEN END OF SCREEN 600.
SELECTION-SCREEN: BEGIN OF TABBED BLOCK tab FOR 10 LINES,
TAB (20) button1 USER-COMMAND ucom1,
TAB (20) button2 USER-COMMAND ucom2,
tab (20) button3 USER-COMMAND ucom3, " Other Tabs
tab (20) button4 USER-COMMAND ucom4, " Other Tab
tab (20) button5 USER-COMMAND ucom5, " Etc
END OF BLOCK tab.
INITIALIZATION.
button1 = 'Flight Details'.
button2 = 'Material Details'. " Tab Description
button3 = 'Material Details'. " Tab Description
button4 = 'Material Details'. " Tab Description
button5 = 'Material Details'. " Tab Description
tab-prog = sy-repid.
tab-dynnr = 500. " Initially Assign a Screen
tab-activetab = 'PUSH1'.
AT SELECTION-SCREEN.
case sy-ucomm.
when 'UCOM1'. " Based on the User Command Assigned above
tab-dynnr = '0500'. " Assign a relavent Sub Screen as declared above
WHEN 'UCOM2'.
tab-dynnr = '0600'.
ENDCASE.Cheerz
Ram
Hello Gurus,
I am trying to find a technique where I can create tab within a tab block. On a selection-screen report I am working I am creating a tab as follow. But I need two more tabs within this tab. Is it possible ? How ?
SELECTION-SCREEN BEGIN OF BLOCK BSD-2 WITH FRAME Title text-030.
SELECT-OPTIONS :
S_DSD FOR sy-datum,
S_DD FOR sy-datum,
SELECTION-SCREEN END OF BLOCK BSD-2.
SELECTION-SCREEN END OF SCREEN 700.
SELECTION-SCREEN: BEGIN OF TABBED BLOCK tab_block for 5 LINES,
TAB (24) tab1 USER-COMMAND tabpush6
DEFAULT SCREEN 700,
END OF BLOCK tab_block.Regards,
Jainam.
2010 Jan 22 3:27 AM
Hi Shah,
SELECTION-SCREEN BEGIN OF SCREEN 500 AS SUBSCREEN. " Use these Subscreen as mentioned below
PARAMETERS: carrid type spfli-carrid,
connid type sflight-connid.
SELECTION-SCREEN END OF SCREEN 500.
SELECTION-SCREEN BEGIN OF SCREEN 600 AS SUBSCREEN.
PARAMETERS: matnr type mara-matnr,
maktx type makt-maktx.
SELECTION-SCREEN END OF SCREEN 600.
SELECTION-SCREEN: BEGIN OF TABBED BLOCK tab FOR 10 LINES,
TAB (20) button1 USER-COMMAND ucom1,
TAB (20) button2 USER-COMMAND ucom2,
tab (20) button3 USER-COMMAND ucom3, " Other Tabs
tab (20) button4 USER-COMMAND ucom4, " Other Tab
tab (20) button5 USER-COMMAND ucom5, " Etc
END OF BLOCK tab.
INITIALIZATION.
button1 = 'Flight Details'.
button2 = 'Material Details'. " Tab Description
button3 = 'Material Details'. " Tab Description
button4 = 'Material Details'. " Tab Description
button5 = 'Material Details'. " Tab Description
tab-prog = sy-repid.
tab-dynnr = 500. " Initially Assign a Screen
tab-activetab = 'PUSH1'.
AT SELECTION-SCREEN.
case sy-ucomm.
when 'UCOM1'. " Based on the User Command Assigned above
tab-dynnr = '0500'. " Assign a relavent Sub Screen as declared above
WHEN 'UCOM2'.
tab-dynnr = '0600'.
ENDCASE.Cheerz
Ram
2010 Jan 22 8:44 PM
2010 Jan 22 10:05 PM
>
> Any response will be appreciated....
Are you sure? What about the one from Ramchander Krishnamraju?
Rob
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |