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

Function Module to run as Background Job

Former Member
0 Likes
7,071

Hi All

Could anyone tell how can i run a RFC function module as Background job,

Right now, one external application calling this RFC FM, when this is getting executed, i can see a dialog process is occupied in SM50. Now o avoid this, i want when external application calls this RFC FM, it should get executed as a background job in SM50.

Regards

Munish Garg

3 REPLIES 3
Read only

Former Member
0 Likes
2,327

Hi Minish,

Normally, we can call an RFC in background task as below:

CALL FUNCTION func IN BACKGROUND TASK

[DESTINATION dest]

parameter_list

[AS SEPARATE UNIT].

But I am not sure whether your external application can call this RFC in background. But you can create an another RFC and inside call this RFC in background.

Then call the new RFC so that it will internally call the required RFC in background and Immediately after it will be closed.

Regards,

Selva K.

Read only

Former Member
Read only

Former Member
0 Likes
2,327

requirement is to call from external application. Now done by creating dynamic program and then submitting it background using JOB_OPEN and SUBMIT.