‎2008 Apr 16 7:26 AM
hi all,
how to create multiple selection screens,
i need 3 selection screens how to do it?
wats the maximum number selection screen can be created in a report.
regards
Suprith
‎2008 Apr 16 7:30 AM
Hi,
You can do as below:
tables : bsis.
selection-screen begin of block b1 with frame title text-001.
select-options : so_bukrs for bsis-bukrs.
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-002.
select-options : so_gjahr for bsis-gjahr.
selection-screen end of block b2.
selection-screen begin of block b3 with frame title text-003.
select-options : so_monat for bsis-monat.
selection-screen end of block b3.
Thanks,
Sriram Ponna.
‎2008 Apr 16 7:30 AM
Hi,
You can do as below:
tables : bsis.
selection-screen begin of block b1 with frame title text-001.
select-options : so_bukrs for bsis-bukrs.
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-002.
select-options : so_gjahr for bsis-gjahr.
selection-screen end of block b2.
selection-screen begin of block b3 with frame title text-003.
select-options : so_monat for bsis-monat.
selection-screen end of block b3.
Thanks,
Sriram Ponna.
‎2008 Apr 16 7:30 AM
Hi,
u can create 0000-9999 selection screens.
default selection-screen number is 1000.
u can create different selection-screens like this.
SELECTION-SCREEN BEGIN OF SCREEN 200.
PARAMETERS:name1(10).
SELECTION-SCREEN END OF SCREEN 200.
SELECTION-SCREEN BEGIN OF SCREEN 201.
PARAMETERS:name2(10).
SELECTION-SCREEN END OF SCREEN 201.
rgds,
bharat.
‎2008 Apr 16 7:31 AM
Hi,
If you mean a logical block on the selection screen SELECTION-SCREEN BEGIN OF BLOCK block. You can create as many as you want.
Regards
‎2008 Apr 16 7:31 AM
SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
PARAMETERS: p1 TYPE c LENGTH 10,
p2 TYPE c LENGTH 10,
p3 TYPE c LENGTH 10.
SELECTION-SCREEN END OF SCREEN 100.
SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
PARAMETERS: q1 TYPE c LENGTH 10,
q2 TYPE c LENGTH 10,
q3 TYPE c LENGTH 10.
SELECTION-SCREEN END OF SCREEN 200.
SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 10 LINES,
TAB (20) button1 USER-COMMAND push1,
TAB (20) button2 USER-COMMAND push2,
END OF BLOCK mytab.
INITIALIZATION.
button1 = 'Selection Screen 1'.
button2 = 'Selection Screen 2'.
mytab-prog = sy-repid.
mytab-dynnr = 100.
mytab-activetab = 'PUSH1'.
AT SELECTION-SCREEN.
CASE sy-dynnr.
WHEN 1000.
CASE sy-ucomm.
WHEN 'PUSH1'.
mytab-dynnr = 100.
WHEN 'PUSH2'.
mytab-dynnr = 200.
WHEN OTHERS.
...
ENDCASE.
...
ENDCASE.