cancel
Showing results for 
Search instead for 
Did you mean: 

Call a method in the view from Component Controller

former_member205363
Contributor
0 Kudos

Hi Friends,

I have written the code for calling the RFC in Component Controller.

My requirement is to change the properties of UI elements in the view, if I get any exception while calling RFC.

Can Call a method in the view from Component Controller.

Regards,

Lakshmi Prasad.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use context mapping and data binding. Calling a view controller method from the component controller is not possible. If needed, you can fire an event and handle it in the view controller.

Armin

Answers (2)

Answers (2)

Former Member
0 Kudos

I would suggest using events , that would be easy ..

Former Member
0 Kudos

HI,

You can get the error message during the exception of calling RFC in view itself.

Any way you may call the RFC at some action in the view only.

Can you explain me what you are trying to do?

Kind Regards,

Mukesh