Skip to Content
0
Former Member
Oct 04, 2005 at 09:17 PM

MVC Controller Communication

260 Views

Hi Guys,

after a short glance at the MVC tutorial on help.sap.com i want to create my own application.

I have one main contoller, two sub-controller of which one has a model calss connected that gets data from function modules.

One subcontroller calls different views that gets data from function module calls.

My problems are:

1) how can i get two subcontroller to communicate with each other? is there a direct way without main controller possible and if not, can i manage the communication. is it possiblejust with DO_HANDLE_DATA and DO_REQUEST?

2) does it always have to be the way with data collection via model class that the result of a function from the model is stored first in an attribute of model class and then has to be set as page attribute of the called view?

Can anyone please help me as there is no clear help from sap...