Skip to Content
Former Member
Jul 23, 2010 at 06:19 AM

ON_CLIENT_CLICK for link in assignmentblock table



on the header of opportunities we have an own button which opens the corresponding record in SAP recordsmanagement with

    ls_button-text     = 'Presales-Akte'(001).
    ls_button-type     = cl_thtmlb_util=>gc_icon_foldershortcut.
    ls_button-tooltip  = 'Presales-Akte'(001).
    ls_button-page_id  = me->component_id.
    ls_button-enabled  = lv_enable.
    ls_button-on_client_click = 'OpenRMPopUp()'.

In the table assignmentblock of opportunities BP_BPBT/AccountOpportunitiesOV i want to have for each line an icon which does the same.

I already realised the icon with link to an eventhandler.

But i don´t know how to call this "on_client_click" inside of the eventhandler.

Could one of you experts please assist?

Thanks a lot.

Best regards