Application Development 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: 

Multiple default values in Select-options field Not ranges

0 Kudos

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

tan_michael
Active Participant
0 Kudos

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.
4 REPLIES 4

and23_julius
Participant

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

0 Kudos

Thank You Andre Julius. The Explanation helped. 🙂

tan_michael
Active Participant
0 Kudos

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.

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