cancel
Showing results for 
Search instead for 
Did you mean: 

Window vs view

Former Member
0 Kudos

I am new to WebDynpro and got a little confused about Windows/Views. The tutorials only show navigation among views. Where would I use multiple Windows?

Let's say an application has a login screen, some forms, and some list screens. Would I use only views (under only one window)?

If not, how would I navigate from window to window, since I can only connect plugs of views belonging to the same window. I guess I have missed something here.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Frank,

A window is a representation of a Web Dynpro component that is visible to the outside, that is in the Web browser. Within a window, you can make several views.

You can use multiple window for example a popup window.

Go through the following tutorial which will help you in working with multiple windows.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/di... boxes in web dynpro applications.pdf

Regards,

Vijith

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for your help!

Frank

Former Member
0 Kudos

You missing the important thing here -- component itself.

View is "privates" of component UI. You may compose several views inside window(s) of a component. They are not available outside.

On other hand, window is "publics" of component -- they are available to other component(s), that are embedding given one.

So, you may either use several views (login, list, input form) inside one component, or you may create several components for every task (login, list, input form) and afterwards embed these components into some composition as well as arrange their windows in composition window.

This is just a question of common sense how much logic should be place in one component and how to split functionality among components. There is no ready to use recipe.

VS

Former Member
0 Kudos

Hi Frank,

Please refer to the following link below.

http://help.sap.com/saphelp_nw04/helpdata/en/c7/9b8cbc18c75c46bf6f58bd656e1aa8/frameset.htm

You can make use of viewsets to degin your layout and place the views in the cells of the viewset.

Regards, Anilkumar