on 07-26-2010 1:11 PM
HI,
I have a requirement where i have to reset values of select options.
Scenario is like this:
User enters values in select options and data is displayed.
User go back to main page and navigate back to page having select options, but old values are still there ion select options.
I need to reset those values.
Kindly let me know how to achieve this.
Regards,
Sangvir Singh
Hi you can reset your all selection fields values by the piece of code written below
Attribute tab :
WD_THIS IF_MAIN_VIEW " Self-Reference to Local Controller Interface
M_HANDLER IF_WD_SELECT_OPTIONS " reference to the interface
in on action reset :
wd_this->M_HANDLER->reset_all_selection_fields( ).
if you want to reset particular field
wd_this->M_HANDLER->RESET_SELECTION_FIELD( I_ID ='ID_MATNR' ).
Regards
chinnaiya P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
jsut simply get reference to select options and use method IF_WD_SELECT_OPTIONS~RESET_ALL_SELECTION_FIELDS to reset selection fields.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.