cancel
Showing results for 
Search instead for 
Did you mean: 

Default a value for CheckBoxGroup?

Former Member
0 Kudos

Hello experts,

I have looked but could not find an answer if there is a way to default a value for an item in a CheckBoxGroup.  I currently have fixed values in a domain and see on the attribute of the node there is a Default value and I am able to enter a valid value from the domain but it doesn't appear to be working.  Does anyone have an idea and if so, can provide an example of how to accomplish?

Thanks in advance!

Rene

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

Hi,

In WDDOINIT method, use SET_SELECTED method of if_wd_context_element to set the default/initial values to the check boxes.

Regards,

Kiran

Former Member
0 Kudos

Thanks all!

Answers (1)

Answers (1)

former_member197475
Active Contributor
0 Kudos

Hi Rene,

Can you please elaborate a bit.

Also once you fixed some values at your domain level, only those values can be accessed in your web dynpro screen.

BR,

RAM.