Skip to Content
Former Member
Oct 28, 2010 at 09:13 AM

No navigation but to the first called target


I have added links to the business partner factsheet with contact person as target. The first call runs smoothly but afterwards this contact partner will be the only one to be navigated to.

Here is the crucial part of the coding:

lr_nav_descr = cl_crm_ui_descriptor_obj_srv=>create_entity_based( 
        ir_entity           = lr_entity
        iv_ui_object_action = if_crm_ui_descriptor_object=>gc_action_display
        iv_component        = 'BP_CONT_MAIN' ).
lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
if lr_navigation->is_dynamic_nav_supported( 
    ir_descriptor_object = lr_nav_descr ) = abap_true.
    iv_bo    = lr_nav_descr
    iv_index = 1 ).
  raise event history_trigger.
  lr_navigation->navigate_dynamically( lr_col ).

Let me clarify the situation:

factsheet(Person A) -> Person A // Win!

factsheet(Person B) -> Person B // Fail!

lr_entity contains the correct data for navigation. I suppose that there is something like a navigational cache that has to be cleared. Anyone knows something about this?

Kind regards


Edited by: romanglass on Oct 28, 2010 11:20 AM Clarification