17.08.2013 Views

Data Interfaces

Data Interfaces

Data Interfaces

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Asynchronous RFC: STARTING NEW TASK ...<br />

R/3 server A R/3 server B (same or other R/3)<br />

PROGRAM RS01.<br />

.<br />

CALL FUNCTION 'FUNC1'.<br />

DESTINATION 'B'<br />

STARTING NEW TASK 'ABC'<br />

EXPORTING ...<br />

TABLES ...<br />

.<br />

© SAP AG<br />

FUNCTION FUNC1.<br />

...<br />

ENDFUNCTION.<br />

You use STARTING NEW TASK to generate a new task which calls the function module. The<br />

original program continues to run after the remote function call has been started.<br />

The client program in the above example can receive no confirmation messages from the called<br />

function module since IMPORTING, CHANGING or EXCEPTIONS are not possible with CALL and<br />

because the connection is closed right after the CALL. You also cannot use the destination BACK in the<br />

called function module.<br />

If the called function module performs dialogs, the relevant screens are displayed in the client system in<br />

the new session.<br />

Using this technique, you can not only make connections to another remote R/3 System, but you can also<br />

execute remote function modules on any computer in your own R/3 System (with distributed systems).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!