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: 

FM in Background task not calling

Subhankar
Active Contributor
0 Kudos
875

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

3 REPLIES 3

Former Member
0 Kudos
378

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

Former Member
0 Kudos
378

Please Check [ABAP parallel processing using RFC |http://wiki.sdn.sap.com/wiki/display/Snippets/ABAPparallelprocessingusingRFC]

Subhankar
Active Contributor
0 Kudos
378

Thanks for your kind reply.