Skip to Content
avatar image
Former Member

How to differentiate between sRFC and AsyncRFC ?

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 ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 03 at 02:02 AM

    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,

    Add comment
    10|10000 characters needed characters exceeded