cancel
Showing results for 
Search instead for 
Did you mean: 

How to differentiate between sRFC and AsyncRFC ?

BODHISATTWA__20
Participant
0 Kudos

As per the article (link given below ) cant a asyncRFC have an CHANGING parameter .Is that the only way whether an RFC call in syn or async ?

https://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/89673284b84e6fe10000000a421937/frameset.htm

And what are the ways we can differentiate between sRFC and AsyncRFC ?

Accepted Solutions (1)

Accepted Solutions (1)

roberto_forti
Contributor

Hi Bodhisattwa,

SAP documentation:

1. sRFC (synchronous RFC).

This is done using the CALL FUNCTION ... DESTINATION p_dest ... ABAP statement and valid RFC destination that has been maintained using Transaction SM59. The function module is therefore executed within a single database LUW. Synchronous RFC is normally used to read data.

2. aRFC (Asynchronous RFC) involves the client program continuing directly after the function module is called, without waiting for the called function module to be processed. This means tasks can be processed in parallel and It is only available for ABAP programs, not external programs. The STARTING NEW TASK addition enables to start a function module and no export parameters and exceptions can be received during the call.

Regards,

Answers (0)