cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with DO_DYNAMIC_NAVIGATION

Former Member
0 Kudos

Hi

I created topic about Dynamic Navigation

Problem was solved, but create new problem.

E.g.

I have 2 component (comp1 and comp2 and MAIN compM).

When I use dynamic navigation to comp1 - I navigated to comp1 - OK.

When I use dynamic navigation to comp2 - I navigated to comp2 - OK.

But when I again use dynamic navigation to comp1 - still stay in comp2 - mistake!

E.g.2

When I use dynamic navigation to comp2 - I navigated to comp2 - OK.

When I use dynamic navigation to comp1 - I navigated to comp1 - OK.

But when I again use dynamic navigation to comp2 - still stay in comp1 - mistake!

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi,

Try to delete all the existing navigation targets before calling method do_dynamic_navigation( ).

Sample code:

data      lo_view_usage           TYPE REF TO if_wd_rr_view_usage.


     " get view usage

    

" delete the navigation targets info

lo_view_usage->delete_all_navigation_targets( plug_name = 'TO_OTHER_VIEW'  ).


Hope this helps you.


Regards,

Rama

Former Member
0 Kudos

yeah

Thank you

ramakrishnappa
Active Contributor
0 Kudos

You are welcome

Answers (0)