cancel
Showing results for 
Search instead for 
Did you mean: 

Calling methods in controller from View.

Former Member
0 Kudos

Hi Experts,

Can any one let me know or point to the document which explains how to call a userdefined method in component controller from view.

Thanks,

James

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You have to define a "controller usage" using the controller editor. Then the code generator will create an accessor "wdGet<ControllerName>Controller()" to the component controller which can be used to call its methods.

See also this document:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ba2c45-0518-2a10-73be-9b785e10...

Armin

Answers (0)