on 01-07-2013 6:10 PM
Hi Experts,
I working with a table ui and in that three columns are f4 (ovs).When i am selecting f4 help in the table at first row i am getting the data into the row but if select 2nd row and click on f4 the first row is getting the data and second row is not getting the value.because i am not selecting the leadselect directly clicking on the second row column f4.
Please Provided with required Information
Thanks & Regards
Krishna.
Hi Krishna,
You don't need to do anything special with lead selection to use OVS in a table. In method ON_OVS, parameter OVS_CALLBACK_OBJECT has an attribute CONTEXT_ELEMENT that references the table row which requested the OVS help.
Take a look at the document, . In method ON_OVS in the Phase 3 handling, you can use ovs_callback_object->context_element to set the value the user selected. The referenced context element points to the object that requested OVS help, whether that is a flat field or a field in a table.
case ovs_callback_object->phase_indicator.
...
when if_wd_ovs=>co_phase_3. " Set user selection in the context
* Apply result of user selection back to the context
ovs_callback_object->context_element->set_attribute(
name = 'ATTRIBUTE'
value = <ls_selection>-value ).
endcase.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.