cancel
Showing results for 
Search instead for 
Did you mean: 

select-options clearance

Ramapavani
Participant
0 Kudos

hi,

i have used select-option (wd_select_option) for one field in my view and i have other 4 fileds also in my view.to clear the values entered in the fields i have used the following logic:

wd_context->get_Static_Attributes(

importing

Static_Attributes = 'structure name' )

clear 'structure name'.

mon_wd_context->set_static_attributes(

exporting

static_attributes = 'structure name'.)

the above logic works for the fileds which does not have "select-option ".but it is not clearing the values which are there in the select-option field.

could any body help me on this??

Regards,

Rama

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi.

You have to reset the selection field with the method:

RESET_SELECTION_FIELD( FIELDID ) in IF_WD_SELECT_OPTIONS.

If you followed the tutorial you should have the reference of the selectoptions helper class:

wd_this->mr_selop->reset_selection_field( 'ID' ).

Hope this helps,

Sascha

Ramapavani
Participant
0 Kudos

thnx,it works now