on 04-15-2014 8:34 PM
Hi Experts,
As per requirement I have created custom field with dropbox and with popup box to cofirm user decision if value from field changes.
Now on Popup when user press Yes then its Ok as no need to change the current value in the field.
but when user press the NO button I want to display the old value on Web UI so now I am able to catch the old value and pass it into the field at backend but I am not able to make the change on the web page.
Please reply if anyone have solution for it.
BR
Gaurav
Hi Gaurav,
I was telling to update the table with set_collection in the other thread. However, the following is something which I have already tested and is working. Only difference is the field is text box instead of dropdown.
DATA: l_if_current | TYPE REF TO if_bol_bo_property_access. |
* Get context node value for PRD as node
l_o_context_node = ci_if_compprodsearch_popup->get_context_node( iv_cnode_name = l_c_prd ). |
* Get the value for current transaction
l_if_current = l_o_context_node->collection_wrapper->get_current( ). |
* Get the iterator value
l_if_it | = l_o_cw->get_iterator( ). |
* Get current value
l_if_current = l_if_it->get_by_index( iv_index = ci_v_index ). |
* Set the value for product design field
l_if_current->set_property( iv_attr_name = 'YOUR_FIELD' iv_value = old_value ). |
Thanks,
Faisal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
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.