Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Embed New View

Hi Experts,

Can anybody tell me whether we can embed a new view into an existing view .

Thanks a lot .

Former Member
Former Member replied

hi,

it is possible to embed one view inside another but with the help of "view container". Suppose you have 2 view, view1 and view2 And you have embed view2 in view1. Now select "view1" and right click on it. Select Create "View Container". And now within that view container you can ember view2. Now to navigate from view1 to view2 , you have to use "re-entrant plugs".Now view2 is the child view of view1.

Re-entrant navigation Links

When an outbound plug is fired, it means the current view controller is no more required, and we wish its space within the view container to be occupied by a different view controller.

However, a re-entrant navigation link is one where the outbound plug is joined to the inbound plug of a child view within the scope of the same view controller. In other words, the outbound navigation link re-enters the view controller you thought it was leaving.

Whenever such an outbound plug is fired, the current view controller instance is always retained in the view assembly, but a child view instance contained within a ViewContainerUIElement is replaced.

regards,

pinki

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question