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: 

Call class method from within UPDATE TASK

MichiFr
Participant
0 Kudos

Hi,

Is it possible to call a class method from within an UPDATE TASK similar to a function module call?

Of course I could use a FM for this task and intantiate the class inside and call the method, however, this requires to code one or more FMs for each method I would like to call this way. This is IMO not the best practice. So far I did not find any alternatives, do you know of a way to do this?

Thanks,

Michael

1 ACCEPTED SOLUTION

former_member182670
Contributor
0 Kudos

[The same|] applies here

2 REPLIES 2

former_member182670
Contributor
0 Kudos

[The same|] applies here

Former Member
0 Kudos

I am not sure as to what exactly you want to accomplish, but why don't you have your class method as a static.