Learn R Programming

RSAP (version 0.9)

RSAPConnect: SAP RFC Open Connections

Description

Open connections to an SAP System for RFC calls

Usage

RSAPConnect(...)

Arguments

...
all SAP connection parameters for the NW RFC SDK

Value

Returns an object that contains the RFC connection object that you can then use to pass to RSAPClose, RSAPInvoke, and RSAPGetInfo.

Details

RSAPConnect establishes an RFC connection to the specified SAP system. There are two styles of passing the connection parameters: - RSAPConnect('sap.yml') where the name of A YAML encoded file containing NW RFC SDK connection parameters is passed in - RSAPConnect(ashost = "sap.host.name", user = "username", passwd = "", ...) The individual connection parameters are passed as per the requirements of the NW RFC SDK. These parameters are typically: * ashost - the host name of SAP or a SAP Router string * sysnr - The SAP system number - relates to the port or service number * user - SAP login user that is RFC enabled * passwd - user password * lang - login language * lcheck - login check on connection - don't wait until the first call * trace - activate the NW RFC SDK tracing facility - will produce log files

See Also

RSAPClose, RSAPGetInfo, RSAPInvoke