Show TOC Start of Content Area

Background documentation Interfaces to External RFC Programs  Locate the document in its SAP Library structure

The SNC configuration for external RFC client programs is located in the saprfc.ini file. For an RFC server program (for example, a program started from a gateway), the SNC parameters are passed to the server program from the client. (For information about starting external RFC programs, see:

·        RFC: TCP/IP Connection - Start an External Program on an Application Server

·        RFC: TCP/IP Connection - Start an External Program on an Explicit Host

·        RFC: TCP/IP Connection - Start an External Program over SAP GUI

·        RFC: TCP/IP Connection - Registered Program

You can also specify the parameters from the RFC interface using the function

RfcOpenEx    Open an RFC connection (SNC parameters are specified in the connect_param string)

You can use the following functions to obtain SNC information:

SNC-Relevant RFC Functions

Function

Description

RfcOpenEx

Returns whether SNC is active or not

RfcSncPartnerName

Returns the SNC name of the partner in printable form

RfcSncPartnerAclKey

Returns the SNC name of the partner in canonical form (“ACLKEY”)

RfcSncNameToAclKey

Converts an SNC name to canonical form

RfcSncAclKeyToName

Converts an SNC name from canonical form to printable form

For more information about these functions, see the help file saprfc.hlp, which is delivered with the RFC Software Development Kit.

 

 

End of Content Area