2010 Mar 26 7:31 PM
HI Experts,
This might be a simple one but I failed to find out the reson. I am calling one custom RFC Enabled function module in background task. But this FM actually do not processed any more. I try to find the task in SM58 and SM51, but did not find any task.
Can any one suggest me what I need to do more to call the FM in background task.
call Function 'ABCD'
IN BACKGROUND TASK AS SEPERATE UNIT
exopting
x
y
Z
Thanks
Subhankar
2010 Mar 26 8:30 PM
Hi Subhankar,
Do you have a commit work statement after the function call in background?
In order to catch the remote function call from SM58 you need to have a commit work after the call function statement. Also in the debugger set - Settings->Display/Change debugger Settings and click on "tRFC (In Background Task): Block Sending" option to enable RFC debugging.
Refer to my article below for more details-
[Debug Remote Function Calls|http://divulgesap.com/blog.php?p=Mjg=]
Cheers,
Ravikiran
2010 Mar 26 8:44 PM
Please Check [ABAP parallel processing using RFC |http://wiki.sdn.sap.com/wiki/display/Snippets/ABAPparallelprocessingusingRFC]
2010 Mar 29 10:58 AM