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 default values in Select-options field Not ranges

Former Member
0 Likes
2,310

I want to pass multiple select single values in select-options fields by default. Is there any way to do that?
I do not mean ranges from low to high. it will be all single values. The default values (sales org), ex. DE01, UK05, FR03, FR10. I need to display these values by default in select options.

1 ACCEPTED SOLUTION
Read only

tan_michael
Active Participant
0 Likes
1,968

Please also see below sample code.

SO_FIELD "select option

so_field-sign = 'I'.
so_field-option = 'EQ'.
so_field-low = 'DE01'. append so_field.
so_field-low = 'UK05'. append so_field.
so_field-low = 'FR03'. append so_field.
so_field-low = 'FR10'. append so_field.

I want to pass multiple select single values in select-options fields by default. Is there any way to do that?
I do not mean ranges from low to high. it will be all single values. The default values (sales org), ex. DE01, UK05, FR03, FR10. I need to display these values by default in select options.

4 REPLIES 4
Read only

and23_julius
Participant
1,968

Hi dsudeepdsudeep

Select option is basically internal table with SIGN, OPTION, LOW, HIGH field. you should insert values like below for individual items.

Best Regards

Andre Julius

Read only

Former Member
0 Likes
1,968

Thank You Andre Julius. The Explanation helped. 🙂

Read only

tan_michael
Active Participant
0 Likes
1,969

Please also see below sample code.

SO_FIELD "select option

so_field-sign = 'I'.
so_field-option = 'EQ'.
so_field-low = 'DE01'. append so_field.
so_field-low = 'UK05'. append so_field.
so_field-low = 'FR03'. append so_field.
so_field-low = 'FR10'. append so_field.
Read only

matt
Active Contributor
1,968
so_field = value #( ( sign = 'I' option = 'EQ' low = 'DE01' )
                    ( sign = 'I' option = 'EQ' low = 'UK05' ) ).