Application Development and Automation 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: 
Read only

Call class method from within UPDATE TASK

MichiFr
Participant
0 Likes
2,925

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
Read only

former_member182670
Contributor
0 Likes
1,264

[The same|] applies here

2 REPLIES 2
Read only

former_member182670
Contributor
0 Likes
1,265

[The same|] applies here

Read only

Former Member
0 Likes
1,264

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