on 10-14-2008 6:36 PM
When I create an enhancement for component IUCONFIG, this enhance let me generate GET_I* , GET_M, GET_V and GET_P* in node ISUORDERITEM, but in node ISUORDERITEMCONFIG (This node is of type Tree struct) doesn't let me redefine this methods GET_I, GET_M, GET_V, GET_P.
I would like to get one of the possible values of a dropdown listbox with the methods GET_I, GET_M, GET_V, GET_P. Is this possible??
Why can't I redefine this methods in node ISUORDERITEMCONFIG ???
Thanks in advance.
Regards
Hello,
Normally you should be able to redefine these methods, but the node ISUORDERITEMCONFIG doesn't have attributes because it's the root node, attributes can be found in the proxy nodes.
Which one do you want to redefine ?
Regards,
Benoî
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello again, and a lot of thanks for you time.
I would like to detect when a user makes a change in a combobox (attribute configurable of the product) and the methods GET_V_ATTR_VALUE_TXT is not created in attribute ATTR_VALUE_TXT (Proxy Node).
And how I can detect when a user change in the combobox (the combobox is a configurable attribute of Proxy node) ???
I think that if I create the method GET_V_ATTR_VALUE_TXT, and put a breakpoint, when user select an option I could check this.
Thanks in advance.
Edited by: Javier Garcia on Oct 15, 2008 4:54 PM
Hello,
Proceed in this following way for your requirement
1) In the method GET_P_ATTR_NAME_TXT, put the following code
CASE iv_property.
Set the field type
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
rv_value = 'DROPDOWN_VALUE'.
ENDCASE.
2) Create an event handler with the name DROPDOWN_VALUE. This method will be called always when there is any change in the value of the dropdown.
Hope this helps.
Regards,
Vinay
A lot of thanks for your help
I have created a subclass ZCL_IUCONFIG_CONFIGTREE_PX02 from CL_IUCONFIG_CONFIGTREE_PX02,
and I have redefined the method GET_P_ATTR_NAME_TXT.
But when I put a breakpoint in this method and doesn't stop but call to method to standard class (CL_IUCONFIG_CONFIGTREE_PX02) CL_IUCONFIG_CONFIGTREE_PX02. Do you know why it happen???
Thanks in advance
A lot of thanks for your help
I have created a subclass ZCL_IUCONFIG_CONFIGTREE_PX02 from CL_IUCONFIG_CONFIGTREE_PX02,
and I have redefined the method GET_P_ATTR_NAME_TXT.
But when I put a breakpoint in this method and doesn't stop but call to method to standard class (CL_IUCONFIG_CONFIGTREE_PX02) CL_IUCONFIG_CONFIGTREE_PX02. Do you know why it happen???
Thanks in advance
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.