0

in my report I have a selection option

SELECT-OPTIONS: s_var for myvar.

If i click the button 'more selection' I got a popup with standard SAP option. BUT I dont find the button 'multiple selection' inside this window. Is there a way how to activate the button?

thanksMultiple Selection

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
ayahya82
  • 374
  • 3
  • 6
  • 18
  • Your question is kind of unclear. 1) How is myvar defined? 2) do you mean the "Multiple Selection for S_VAR" window with "Select Single Values", "Select Ranges", "Exclude Single Values", "Exclude Ranges" or do you mean some other window? – Bryan Cain Mar 28 '14 at 13:48
  • I add some screenshot, which you can see the multiple selection button. in my code i can't see it. any ideas? – ayahya82 Mar 31 '14 at 11:44
  • I see it in my system. How is myvar defined in your code? – Bryan Cain Mar 31 '14 at 14:53
  • Yes, I can see it also in my system. My question was I have implemented some selection s_var for myvar. And I declared myVar like myVar type /my_data_e/ which have at the end the type char. If I click the more selection button I can't see the multiple selection button in it. – ayahya82 Apr 01 '14 at 08:41
  • I think i figured out what the problem is but using descriptions like myVar and my_data_e really don't help. This problem is context dependent. You should specify exactly what the data element is, and if it's custom, how the data element is defined. – Bryan Cain Apr 01 '14 at 13:32

1 Answers1

0

You need to add a search help.

data: myvar type ybctest-werks.

SELECT-OPTIONS: s_var for myvar MATCHCODE OBJECT H_T001W_C.

That should fix your problem.

This "just works" for standard fields like:

data: myvar type t001w-werks.

SELECT-OPTIONS: s_var for myvar

because that field has an explicit search help defined in the data dictionary (SE11->T001W->entry help/check tab).

Bryan Cain
  • 1,736
  • 9
  • 17