Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Handler methods

Former Member
0 Kudos

When I copied a class,

I am getting the following error, how to resolve this?

The handler method RECEIVE_VARIABLE_CHANGED is only defined for the trigger object CL_RSR_OLAP_VAR, but the program attempted to register a "

trigger object of ZCL_RSR_OLAP_VAR"

thanks

1 REPLY 1

Sm1tje
Active Contributor
0 Kudos

I don't have this class at here and now, but I assume that the class CL_RSR_OLAP_VAR has declared an event to which the handler method is registered. You probably have to set the event in your ZCL class and register to the event of your other ZCL Class.

Hope this makes sense. Can't give you more advise than this since we don't have these classes in our system.