Thursday, September 6, 2012

abap class method parallel processing

I've been trying to call a class method in parallel.

Again, in C# Java or whatever other language this would be so freaking trivial, in ABAP, things get so dirty, just like the company culture of SAP.

CALL FUNCTION func STARTING NEW TASK task               [DESTINATION {dest|{IN GROUP {group|DEFAULT}}}] 
              parameter list               [{PERFORMING subr}|{CALLING meth} ON END OF TASK].


This is all they have. And wait a minute, this is CALL "FUNCTION".

So, you'll have to wrap your class method into a function. Oops.

No comments:

Post a Comment