cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multiple Single Values with Select Options

Former Member
0 Likes
6,210

hi,

I'm using the SELECT_OPTIONS to accept the multiple input values through CREATE_RANGE_TABLE and it is working well but

1) i have requirement for some input fields that should accept multiple single values means without RANGES(From .. To).. Usually we achieve this by statement SELECT-OPTIONS in ABAP, could you help me out how i can achieve same functionality in webdynpro application.

2) i'm using dictionary search helps for WD4A, here i need to select multiple rows in the F4 results.

kindly provide suggestion how to achieve above functionalities.

thanks,

gupta.

View Entire Topic
Former Member
0 Likes

Hi,

I assume you use the standard component WDR_SELECT_OPTIONS in your WD4A application. Check interface IF_WD_SELECT_OPTIONS.

When creating the SO fields with mth <add_selection_field> use:

1) I_NO_EXTENSION = abap_true and I_NO_INTERVALS = abap_true

2) just I_NO_INTERVALS = abap_true

Regards,

George

Former Member
0 Likes

hi,

I have already used the method I_NO_INTERVALS = abap_true. It simply disables the TO field but if you click the SELECT OPTIONS button, still opens with all options like OPTION, FROM & TO in the Range Table popup. I want to disable here as well, so that user cannot give TO value any where.

Sharathmg
Active Contributor
0 Likes

To add a single value field, then use method add_parameter_field instead of add_selection_field. This is used while building the select options.

While retreiving the value, use the method get_parameter_field and obtain the data of the single value field.

Regards,

Sharath

Former Member
0 Likes

Hi,

In addition, use parameters I_USE_COMPLEX_RESTRICTION = abap_true, and

I_COMPLEX_RESTRICTIONS-m_include-eq = abap_true

Regards,

George