cancel
Showing results for 
Search instead for 
Did you mean: 

cannot acess window-controller

Former Member
0 Kudos

Hey,

I have the following problem. I want to exchange data between several views (one at a time) and a popup-window. Depending upon user action in the popup the context of the component controller (mapped to the views) should be filled accordingly. depending on the view (maybe even more information is required) that is creating the popup different context-attributes have to be filled. My idea was to write the corresponding data to attributes in the popup-window controller. but when i try to do so (more specifically in the line: lo_popup_window_cntr = wd_this->get_popup_window_ctr( ).), i get the error "Controller for View, Window, Interface, and Configuration Cannot Be Created".

Can anyone help?

Or is there an alternative design that should be prefered?

KR

Felix

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can always access component controller attribute, so you could use that instead of window controller attribute.

You can also use a Singleton OO class attribute or method to get and set values.

Former Member
0 Kudos

I still do not understand the reason for the error, but the solution you proposed is an easy work around. Thank you.

Answers (0)