Search code examples
abapsap-selection-screens

How to find the more selection button in more selection window sap?


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


Solution

  • 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).