cancel
Showing results for 
Search instead for 
Did you mean: 

set default value in select options of WEBDYNPRO ABAP

former_member497277
Participant
0 Kudos

Hi.

How I can set a default value and that this value show it in a select options of webdynpro for abap??

Thanks in advance.

Ana

Accepted Solutions (1)

Accepted Solutions (1)

thomas_szcs
Active Contributor
0 Kudos

Hi Ana,

Just call method SET_RANGE_TABLE_OF_SEL_FIELD( ) or supply the range table that contains the default value while calling add_selection_field( ) in parameter it_result.

Best regards,

Thomas

Answers (2)

Answers (2)

former_member497277
Participant
0 Kudos

Thanks for your response.

I have problems with the paramether IT_RANGE_TABLE of type ref to data when I pass the table with the value.

is there any example what shows lines of code whith this?

Thanks in advance.

Ana

thomas_szcs
Active Contributor
0 Kudos

Hi Ana,

Yes, there are examples in WDR_TEST_SELECT_OPTIONS in action handler SPECIAL_CASES.

Best regards,

Thomas

Former Member
0 Kudos

Hi Ana.

Just have a look if you need more info:

Cheers,

Sascha