Dynamic views in a Window (Web Dynpro for ABAP)
....Previous
Now go to
main view and create a second tray.
Then
create a UIcontainer in the tray2 as below
The
application and go to the window you can see the following hierarchy
Now right
click on the container1 and embed the view1 and secondview as below
Then again
do the same
Now go to
view1 and create inbound plug as below
Go to
second view and create inbound plug as below
Now click
on the to_view1 and right click and select the navigation
The
following popup will come now select destination view then select
second view
Similarly
click on the view1 and create navigation.
Now create
the Web Dynpro application
Then go to
main view and select the methods and provide following code.
Save and
activate then test the application
The output
will be as follows
|