17.08.2013 Views

Data Interfaces

Data Interfaces

Data Interfaces

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RFC Dialog<br />

R/3 System 1 R/3 System 2<br />

Variant 1: Synchronous<br />

PROGRAM RS01.<br />

...<br />

CALL FUNCTION 'DIALOG'.<br />

DESTINATION ...<br />

...<br />

Screen 100<br />

Variant 2: Separated<br />

PROGRAM RS01.<br />

...<br />

CALL FUNCTION 'DIALOG'.<br />

DESTINATION ...<br />

STARTING NEW TASK 'A'...<br />

Caller<br />

session<br />

© SAP AG<br />

Screen 100<br />

1st session 2nd session<br />

FUNCTION DIALOG.<br />

...<br />

CALL SCREEN '100'.<br />

...<br />

ENDFUNCTION.<br />

Screen 100<br />

RFC dialog (or RFC with screens) allows you to display screens (dialog and list screens) in the client<br />

system and process them in a remote system within a RFC.<br />

In the called function module, you can call a screen using (for example) CALL SCREEN. The screen is<br />

then transported and displayed in the client system. The same applies to CALL TRANSACTION,<br />

SUBMIT AND RETURN, and CALL DIALOG.<br />

There are two call techniques:<br />

1) Synchronous RFC:<br />

Here, the client program executes the call and waits until the called function module has finished. All<br />

dialog steps executed by the called function module are displayed in the original session of the client<br />

program. Only when the function module is finished does the client program continue processing after<br />

CALL FUNCTION.<br />

2) Asynchronous RFC (STARTING NEW TASK ):<br />

Here, the client program continues processing directly after CALL FUNCTION. The function module is<br />

run asynchronously on a remote system. All dialog steps executed by the called function module are<br />

displayed in a new session in the client system. RFC dialog thus behaves like a remote login.<br />

Transaction SC38 allows you to start a R/2 program. The list output of the this program is displayed in<br />

the R/3 SAPGUI.

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

Saved successfully!

Ooh no, something went wrong!