Show TOC Start of Content Area

Background documentation RFC: TCP/IP Connection - Start an External Program over SAP GUI  Locate the document in its SAP Library structure

An external program started over SAP GUI is started by a user's SAP GUI on the workstation where the user has logged on.

For an RFC call that uses a TCP/IP connection to start an external program over SAP GUI, the AS ABAP is the initiator of the communication and the external program is the acceptor.

Initiator (AS ABAP)

To specify the SNC options for the initiator (AS ABAP), use transaction SM59. See Maintaining RFC Destinations and their SNC Options Using Transaction SM59. The SNC partner name is automatically taken from the SAP GUI connection.

Note

An RFC connection to start a program over SAP GUI is only protected with SNC if the respective SAP GUI also uses SNC protection. This is the only way to make sure that the external program can access the necessary SNC environment (for example, the external library or the logon to the external security product).

Acceptor (External Program)

You do not need to specify any additional SNC options for external programs that start over SAP GUI. The programs retrieve the SNC information that they need as follows:

·        SNC mode and quality of protection

The SNC mode (active or inactive) for the connection and the quality of protection are defined in transaction SM59 for the initiator and are automatically sent to the program to be started, a part over the command line and a part over messaging from the SNC layer.

     Name and location of the external library

The external program finds the name and location of the external library (SNC_LIB) in the SAP GUI parameters.

     SNC name for the external program

The SNC name for the external program is taken from the SAP GUI connection.

 

 

End of Content Area