cancel
Showing results for 
Search instead for 
Did you mean: 

OCA functionality for value nodes

Former Member
0 Kudos

Hi Experts,

Is it possible to provide OCA functionality for the value nodes. My requirement is to display data from custom table values. Where they want the one click action. Kindly advice me how should I go for this requirement?

answers would be appriciated.

Thanks,

Albert

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Albert,

If you plan to display a table view using the Z table, OCA is possible.

You need to put the code in the event handlers to update and delete the entries in the Z table based on the action.

Regards,

Masood Imrani S.

Former Member
0 Kudos

Hi Masood,

Thanks for your reply. I had create method GET_P_THTMLB_OCA and GET_OCA_T_TABLE . but still not able to see the THTMLB_OCA as an attribute under context node. I had created event handler EH_ONONE_CLICK_ACTION as well but still not getting THTMLB_OCA as an attribute. Is I am missing somthing?

Thanks,

Albert

former_member202474
Contributor
0 Kudos

Hello ALbert,

Can you please check if the new paramter is existing in the method GET_TABLE_LINE_SAMPLE

thtmlb_oca TYPE crm_thtmlb_one_click_action.

Hope this helps.

Regards,

Ruby.

Former Member
0 Kudos

Hi,

You need to add an empty method called 'GET_THTMLB_OCA' with the parameters same as any of the existing 'GET_XXX' method of other attribute at the context node class. Then only it will be available at the configuration tab under available fields. Once you move this field to the visible column and name it as 'Actions'. At Web UI you will be able to see the Actions column with the buttons which you have added in your GET_OCA_T_TABLE method. Hope this helps you.

Regards,

Bharathy.

Edited by: Bharathy Gopal on Nov 27, 2009 3:44 PM