Dear All
I have couple of Setter Methods generated in a table view Context node attributes and coded with the custom SET Logic .
And I need to allow current->set_property to be executed only when the ENTER key is pressed and not in other case(say while clicking the Custom Button).
So the Question is how to identify the Event in the Setter method of a Table View Content Node ?
Please advise.
Cheers
RJ
Any one to help on this?
Please....
RJ
Hi RJ,
The point to be understood is that SETTER method is called in the next roundtrip after there is a change on UI. So you need to somehow identify the two cases and prevent the actual setting of attribute to the BOL in the SETTER method itself.
Regards,
Shiromani
hi,
I think you need to first get the event name and based on that you need to set the value. you can get the event name as below.
DATA: event_data TYPE REF TO if_htmlb_data.
event_data = cl_htmlb_manager=>get_event_ex( request ).
CASE event_data->event_server_name.
when 'enter'
*Set value.
Thanks.
HI,
IN DO_FINISH_INPUT will trigger event for Enter.Please note that event and declare a variable use it in Setter Method.
Try This it works.