cancel
Showing results for 
Search instead for 
Did you mean: 

call_controller

Former Member
0 Kudos

How can I specify target(frame) in call_controller.

I have a sub controller which I would like to launch from DO_HANDLE_EVENT of my MAIN controller but would like to load the view in a particular frame.

How can I do this?

Please help.

Thanks,

Partho

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I know, this is an old Thread, but it is exactly the Problem, which I have at the Moment.

What I have is 3 controllers with 1 view each controller. 1 controller is the maincontroller and in the view is the frameset. In the frameset are the other 2 controllers. Ok till now no Problem.

But when I now have a button, lets call it leftframe, and when I click on it, I want that there is coming up a Tableview in the rightframe.

I know how to set up a button and get the event, but not how I get the controller to call in do_handle_event to call the controller of the view which should be shown up in the rightframe.

Any Clues?

Thanks Benjamin

Former Member
0 Kudos

HI

GOOD

CALL_CONTROLLER->

Calls the request handler (method DO-REQUEST) of the controller instance.

GO THROUGH THIS LINK

http://help.sap.com/saphelp_nw04/helpdata/en/ce/43473ccf20514ee10000000a114084/content.htm

THANKS

MRUTYUN

Former Member
0 Kudos

maybe this can help

call your controllers this way:

o_controller_view ?= create_controller( controller_id = 'view'

controller_name = 'view.do' ).

Message was edited by: Koen Labie