on 07-16-2009 12:29 PM
Hi everybody,
i have a custom controller cc_main and a main view v_main. In my cc_main i have created an event: my_event. If i understand the sap help correctly in my v_main should appear a method with the name MY_EVENT_HANDLER but i can not find a method like this in my view. What could be my mistake?
http://help.sap.com/saphelp_nw70/helpdata/en/eb/ed6f4169e25858e10000000a1550b0/content.htm
regards,
Sid
Edited by: Sid on Jul 16, 2009 1:42 PM
Hi,
No method will appear automatically in the VIEWs when EVENT is created in CONTROLLER. But instead you will have to create a new method NEW_METH(with any name) in any VIEW subscribing to that event sothat this method will be executed when that EVENT is triggered.
Create a new method in your view controller with method type EVENT HANDLER and then from the EVENT value help, select the event that was created in your CUSTOM CONTROLLER.
Regards,
Manne.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.