|
ABAP Tutorials -
RFC
|
|
Written by admin
|
|
Sunday, 17 January 2010 12:02 |
|
Synchronous RFCs (sRFC) are most commonly used RFC. sRFC is ideal choice when you want the results of the function module immediately after the call. The sRFC call is passed immediately to the remote system and the caller program is halted until the response from the function module is not received. The function group of the function module is loaded into the internal session of the target system and the context is retained until the RFC session is closed. Thus, if repeated calls of the different function modules of the same function group and destination are made, then the global data of the function group can be accessed collectively. This makes an sRFC a great choice when data is repeatedly required from a target system.
The RFC session on the target system is kept alive until the calling program is being executed. The RFC session is closed automatically when the calling program terminates. You can close the RFC session explicitly also. The below diagram describes the functioning of an sRFC.
|
|
Last Updated ( Sunday, 17 January 2010 12:16 )
|