cancel
Showing results for 
Search instead for 
Did you mean: 

CRM Web UI, navigate to external URL from error message

phoenixming0912
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi all,

I am working on a navigation from error message just like:

I have defined the logical link and related URL ID and handler class as well.

And I subscribed and called navigation like this:

lr_msg->subscribe_message( iv_message_class = 'XXX'
iv_message_number = '188'
iv_subscriber = me
iv_activation = abap_true ).

lr_navigation->navigate( iv_link_id = 'ZLINKIT' ).

However, when I clicked the error message, nothing happened. And it even didn't go into the Parameter Class "CL_CRM_UI_LTX_NAVBAR_PARAM".

Does anyone know something about this and help me out? Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

bruce_li
Contributor
0 Kudos

Hi ,

Did you write code to get instance like lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).

I think you can refer to following standard method to understand the whole navigation.

1.CL_CRMCMP_N_SHORTCUTLINKS_IMPL

METHOD / DO_HANDLE_EVENT

LV_NAVIGATION = CL_CRM_UI_NAVIGATION_SERVICE=>GET_INSTANCE( ME ).

LV_NAVIGATION->NAVIGATE( IV_LINK_ID = HTMLB_EVENT_EX->EVENT_SERVER_NAME ).

2.Cl_bsp_wd_view_manager

method process_nav_queue

3.CL_CRM_UI_NAVBAR_SRV

METHOD GET_NAVIGATION_INFO_FOR_DESC

Best regards,

Bruce

Answers (0)