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

Differences bettween calling function in back ground task and normal call

PS_1978
Active Participant
0 Likes
583

Hi,

What is the difference between calling a function in Background task and calling it normally?

Regards,

Phani

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
534

Hi,

Normally when we want to do a RFC call or we can use the IN BACKGROUND TASK addition to the Function module,

If it is a normal function moduel and need to run in separate task i mean need to run it in a another seeion then we can use this one, so here the called program will run without waiting the function module results.

normal function module, the control will wait for the results from the function module

http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm

Regards

Sudhee

4 REPLIES 4
Read only

Former Member
0 Likes
534

hi

[EXCEPTIONS e1 = r 1.... e n = r n

                                ].

regards

ravish

plz reward points if helpful

Read only

Former Member
0 Likes
535

Hi,

Normally when we want to do a RFC call or we can use the IN BACKGROUND TASK addition to the Function module,

If it is a normal function moduel and need to run in separate task i mean need to run it in a another seeion then we can use this one, so here the called program will run without waiting the function module results.

normal function module, the control will wait for the results from the function module

http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm

Regards

Sudhee

Read only

Former Member
0 Likes
534

Hi sivapuram,

1. When we call the FM normally,

then the FM gets competed,

and after that the processing continues further.

2. Where as in background task,

the call for the FM is logged,

and the processing continues immediately.

(The FM runs behind the scenes paralelly)

regards,

amit m.