cancel
Showing results for 
Search instead for 
Did you mean: 

Default the value in Parameter in wdr_select_options

Former Member
0 Kudos

Hi all ,

How can we default the value in Parameter field if we use add_parameter method using wdr_select_options.Its possible if we use add_selection_filed method and if we set to parameter but i need without using this method how can default the value ony using add_parameter method . Send me any code if you have come across this situation.

Thanks and regards,

venkat

Accepted Solutions (1)

Accepted Solutions (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

data: lr_value type ref to data.

field-symbols: <fs> type <parameter_type>.

create object lr_value type <parameter_type>.

assign lr_value->* to <fs>.

<fs> = 'Set default value'.

and use ADD_PARAMETER_FIELD method and pass value as lr_value

Abhi

Former Member
0 Kudos

Hi Abimanu,

Thankyou somuch ,it was resolved my problem.

Thanks and regadrs,

Venkat

Answers (0)