Entering content frameCalling Requirements for Asynchronous RFCs Locate the document in its SAP Library structure

When you call a remote function with the optional suffix STARTING NEW TASK , the system starts the function in a new session. Rather than waiting for the remote call to be completed, the user can resume processing as soon as the function module has been started in the target system.

The remotely called function module can, for example, display a new screen using CALL SCREEN , allowing the user to enter a dialog that connects him or her directly to the remote system:

Client System

CALL FUNCTION ‘TRAVEL_CREATE_FLIGHT’

STARTING NEW TASK ‘FLIGHT’

DESTINATION ‘S11’.

 

Server System

FUNCTION TRAVEL_CREATE_FLIGHT.

CALL SCREEN 100.

ENDFUNCTION.

If you do not specify a destination, the asynchronous RFC mechanism starts a new session within the calling system.

Caution

You must not use IMPORTING when calling aRFCs.

 

 

Leaving content frame