cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Navigation between Views

former_member184867
Active Contributor
0 Kudos

Hi Experts,

I have a requirement where I need dynamic navigation between views.

I am dynamically able to navigate from first view to dynamic second view in the same window using code .

    call method l_nav_services->do_dynamic_navigation

     exporting

       source_window_name        = 'W_FIRST'  

       source_vusage_name        = 'V_FIRST_USAGE_0' 

       source_plug_name          = 'BT_PROCEED'           

       target_view_name          = 'V_COLLECTIONS' 

       target_plug_name          = 'IN_V_COLLECTIONS'  .

Now I need to dynamically navigate from the current second view ('V_COLLECTIONS')  to another  third view 'V_ERROR_PAGE'  in the same window.

call method l_nav_services->do_dynamic_navigation

     exporting

       source_window_name        = 'W_FIRST' 

       source_vusage_name        = 'V_FIRST_USAGE_0'

       source_plug_name          = 'OUT_V_COLLECTIONS'

       target_view_name          = 'V_ERROR_PAGE'

       target_plug_name          = 'IN'.          


the above code does not give any dump. But control does not navigate from dynamic second view to the dynamic third view.

Can anybody help me on this ?

Accepted Solutions (1)

Accepted Solutions (1)

chandani_kaur
Active Participant
0 Kudos

Hello Atanu,

I have not tried, but I think you have not changed the  source_vusage_name to second view usage name.

Thanks & Regards,

Chandani

former_member184867
Active Contributor
0 Kudos

Thanks Chandni... It worked.

Answers (1)

Answers (1)

former_member199126
Participant
0 Kudos

try to do what chandini said ...