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

Multiple Selection in select option

Former Member
0 Likes
653

Hi Guru' s

My requirment is to import vlaues form Excel file to the the multiple selection of the select options.

Thanks,

Jagan.

4 REPLIES 4
Read only

Former Member
0 Likes
595

Hi Jagan,

If you want to preload the select-options from the file, then you can do this:

initialization.

call function 'GUI_UPLOAD'..."To upload the file into an internal table say, itab.

loop at itab.

s_opt-sign = 'I'.

s_opt-option = 'EQ'.

s_opt-low = itab-field1.

append s_opt.

clear s_opt.

endloop.

Regards,

Ravi

Read only

0 Likes
595

Beware Ravi ! clear s_opt. should not be used.

Read only

Former Member
0 Likes
595

Just copy the column you need into the clipboard and then paste it into the select-option using the 'upload from clipboard' icon.

Rob

Read only

Former Member
0 Likes
595

Hi Rob,

can we add custom icon or button like 'Import from Execl' and write our own functionality like the example given by Ravi .

Jagan.