on 2019 Jul 16 1:40 PM
Hello Experts,
When am changing any attribute, the method ON_ATTRIBUTE_CHANGE of WD_SELECT_OPTIONS_20, gets triggered. But the method have only 2 parameters WDEVENT and IV_ROW_INDEX.. from this IV_ROW_INDEX how to get the name of the attribute which got changed ?
Regards,
Papps
Class CL_WDR_GROUPED_SELOPT_20 does have an instance attribute of its select-options attributes (MT_ATTRIBUTES) but unfortunately it's private is there is no accessor method. How are you adding attributes to the select-options? If it's via method ADD_ATTRIBUTES, then what you can do is store the table of attributes in either the componentcontroller or an assistance class, then use the row index you have in ON_ATTRIBUTE_CHANGE to lookup the attribute at that index.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
57 | |
11 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.