Skip to Content
0
Former Member
Oct 12, 2011 at 11:22 AM

Launching URL clicking on a button of a view of BSP Component

90 Views

Hi Gurus,

I have a requirement of opening a webdynpro URL by clicking on a button in a view of a standard BSP component. I have created one transaction launcher and assigned it to a logical link " ZOPP_CRT". In the event handler of the button I have written the following code.

method EH_ONOPP_NEW.

  • Added by wizard: Handler for event 'OPP_NEW'

data: lv_nav Type ref to if_crm_ui_navigation_service.

lv_nav = cl_crm_ui_navigation_service=>get_instance( me ).

lv_nav->navigate( iv_link_id = 'ZOPP_CRT' ).

endmethod.

I have also checked the following links:

Event triggers transaction launch

Requirements using Transaction Launcher

Still it is not working. Please suggest.

Thanks