Skip to Content

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

regarding the creation of dynamic view by clicking on a tree.

Hi all:

There are two parts on the window. the left part is a tree with three tree nodes, by clicking on tree nodes, the other is an area to show the business content.

for example, three tree nodes are respectively "input customer infor", "change customer infor", "view customer infor".

the initial view is input customer infor, I know how to create the view initially in method init or wddomodifyview, but when I click tree node like "change customer infor", how create the view , or how to refresh the view , that is to say, to delete old elements in the view of " input customer infor".

can you please give me a hint?

Thank you very much !

Former Member


Creating views dynamically is not the solution of this problem and it is not recommended also.

What you can do is probably craete 3 view containers in Main View and embed 3 different view - Create, Change, Display in these view containers and based on link clicked you can make these view containers visible, invisible.

There are other options also available like FPM configuration, Usage of Navigation Plugs etc.

Hope these clue helps.


Manas Dua

0 View this answer in context

Helpful Answer

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