on 12-01-2009 8:17 AM
hi experts,
I have a table which bind to node ND1. one of the column having OVS Help . I get the help and when i select the value and press ok in OVS Help Window, i am not getting value back to cell. i did the code as below in co_phase_3:
---> In OVS Help Window i get the keyword & text as coulmns.
---> Node ND1 having attribute called SUMPLUS having OVS Help which needs to get its value from OVS Help.
when if_wd_ovs=>co_phase_3.
apply result
if ovs_callback_object->selection is not bound.
TODO exception handling
endif.
assign ovs_callback_object->selection->* to <ls_selection>.
if <ls_selection> is assigned.
ovs_callback_object->context_element->set_attribute(
name = `SUMPLUS`
value = <ls_selection>-KEYWORD ).
LO_EL_ND1->SET_ATTRIBUTE(
VALUE = <ls_selection>-KEYWORD
NAME = `SUMPLUS`
).
endif.
plz solve it.
Thanks
Saurin Shah
solved by myself. actually node ( which is binded to table ) should belong to view only locally. it should not mapped with comp. controller node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ovs_callback_object->context_element->set_attribute(
name = `SUMPLUS`
value = <ls_selection>-KEYWORD ).
Your code seems perfect.
Just make sure the context attribute name is SUMPLUS and also debug and check ls_selection-KEYWORKD has any value or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
gi thru this link
http://help.sap.com/saphelp_nw70/helpdata/en/47/9b298c66eb3376e10000000a421937/content.htm
also go thru this thread
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Code looks ok for me, just clarify what is this stmt for
LO_EL_ND1->SET_ATTRIBUTE(
VALUE = <ls_selection>-KEYWORD
NAME = `SUMPLUS`
).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
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.