Hi,
You need to do coding in GET_OCA_T_TABLE in context node class and you need to create methods GET_THTMLB_OCA and GET_P_THTMLB_OCA in context node class.Then addTHTMLB_OCA attribute in configuration.
GET_OCA_T_TABLE
ls_one_click_action.
ls_one_click_action-id = 'DELETE'.
ls_one_click_action-icon = 'delete.gif'.
ls_one_click_action-text = ''.
ls_one_click_action-tooltip = text-005.
ls_one_click_action-active = 'X'.
APPEND ls_one_click_action TO rt_actions.
ls_one_click_action.
ls_one_click_action-id = 'EDIT'.
ls_one_click_action-icon = 'edit.gif'.
ls_one_click_action-text = ''.
ls_one_click_action-tooltip = text-005.
ls_one_click_action-active = 'X'.
APPEND ls_one_click_action TO rt_actions.
GET_P_THTMLB_OCA
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_oca.
WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
rv_value = 'ONE_CLICK_ACTION'. "#ec notext
ENDCASE.
no code needed in GET_THTMLB_OCA.
Regards,
Deepika.