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

can u create more than one selection screen?

Former Member
0 Likes
1,137

hi,

is it possible create more than one selection screen ?

if it is possible how can we create?

hi,

is it possible create more than one selection screen ?

if it is possible how can we create?

4 REPLIES 4
Read only

Former Member
0 Likes
860

Yes u can create more than 1 selection screen.

Example:

selection-screen begin of screen 1100.

selection-screen begin of block file_options with frame.

make_parameter p_filein fil_desc rlgrap-filename '/filename.txt'.

make_radiobutton rb_unix unx_desc src.

make_radiobutton rb_local dos_desc src.

make_parameter p_filety typ_desc rlgrap-filetype 'DAT'.

selection-screen end of block file_options.

selection-screen end of screen 1100.

To call this selection screen u have to use:

call selection-screen 1100. statement.

Regards,

Joy.

Read only

Former Member
0 Likes
860

Hi Devi,

Yes we can create more than one selection-screen..

Check the below snippet..



SELECTION-SCREEN BEGIN OF SCREEN 1111.
PARAMETER:
  w_matnr TYPE mara-matnr.
SELECTION-SCREEN END OF SCREEN 1111.

SELECTION-SCREEN BEGIN OF SCREEN 1112.
PARAMETER:
  w_vbeln TYPE vbak-vbeln.
SELECTION-SCREEN END OF SCREEN 1112.

CALL SELECTION-SCREEN 1111.
CALL SELECTION-SCREEN 1112.

The above snippet creates two screens like interactive list...

If you execute the program specifying the above code.. the at first you will be on screen 1112 and if you press back then you will be on 1111.

We call our defined selection screen by a statement...

CALL SELECTION-SCREEN <nnnn>.

Hope you understood how we create multiple selection-screens and call them.

Regards

Narin Nandivada

Read only

Former Member
0 Likes
860

Hi,

Yes, you can :



tables : bsis.

selection-screen begin of block b1 with frame title text-001.
selection-options : so_bukrs for bsis-bukrs.
parameters : sp_gjahr like bsis-gjahr,
                   sp_monat like bsis-monat.
selection-screen end of block b1.

selection-screen begin of block b2 with frame title text-002.
selection-options : so_hkont for bsis-hkont.
selection-screen end of block b2.

Thanks,

Sriram POnna.

Read only

uwe_schieferstein
Active Contributor
0 Likes
860

Hello

You may have a look at sample reports

DEMO_SEL_SCREEN_WITH_TABSTRIP
DEMO_SEL_SCREEN_IN_TABSTRIP

Regards

Uwe