Skip to Content
0
Former Member
Mar 24, 2009 at 08:50 PM

How to get name/id of currently shown view of a window

763 Views

Hi all!

I have implemented a Web Dynpro Component with one "Component Controller", one Window and two Views which are embedded in the Window (but not shown in parallel).

Within the method WDDOBEFORENAVIGATION I would like to do some validation-checks but therefor I need to know which view is currently shown! Is there a way to determine this information.

I would prefer a solution where I don't have to store any information everytime a view is called. Is it possible to get a reference to the window-controller and to get the information about the currently shown view? I would store this reference in the component-controller and could then grab the necessary information (if possible 😉).

Thanks for your answers in advance,

Stefan