on 01-29-2008 8:53 PM
I am using OVS to populate a value in a table column. However, I can't see any way of determining, within OVS phase 4, which table row to update with the help result. Any help would be greatly appreciated.
Hi ,
In the Phase 3 only where u get the selected row from the ovs assigning to the field is done ... to get on which table row the event is made means the OVS is called can be known through the WDEVENT object ... see the below example ...
FIELD-SYMBOLS: <selection> TYPE TY_VALUE_TAB ( type of the structure of the OVS table .
IF ovs_callback_object->selection IS BOUND.
ASSIGN ovs_callback_object->selection->* TO <selection>.
data : lr_elem type ref to if_wd_context_element .
" use the wdevent object to get the details on which row the OVS is called .
lr_elem = wdevent->get_context_element( name = 'OVS_CONTEXT_ELEMENT' ).
set single attribute
lr_Elem->set_Attribute(
Name = 'CNTNO' " attribute name
Value = <selection>-CNTNO ).
Hope this will solve ur problem.
Regards
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. That solved it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.