cancel
Showing results for 
Search instead for 
Did you mean: 

can view navigation depend on the input value

Former Member
0 Kudos

Hello,

Is it possible to navigate from a view to two different views depending on the value entered in the input field? If yes, can someone please elaborate on the same.

Thanks & Regards,

Ravindra

Accepted Solutions (1)

Accepted Solutions (1)

former_member186016
Active Contributor
0 Kudos

Create two outbound plugs for two navigations.

In code put if statement and fire the plug which is relevant.

if something.

     wd_this->firePlug1

else

     wd_this->firePlug2

Regards,

Ashwani Kr Sharma

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Ashwani and Manish.

manish_bisht5
Explorer
0 Kudos

Hi Ravindra,

Navigation from in Web dynpro is done through calling the outbound plug , you can decide based of on you condition which Plug you want to call.  

If  x =1.

wd_this->fire_Page1_plg( ).

else

wd_this->fire_page2_plg( ).

endif.

Thanks     

Manish