tclsap Command Sap_Open

Sap_Open
Open a connection to an SAP Instance

Example:
Sap_Open System Client User Password Trace
Return:
If Successful - Returns "OK" and TCL_OK status

If Not Successful - Returns "RFC Open Error" and TCL_ERROR status

Discussion
The Sap_Open function tries to make a connection and then login into a SAP System. This requires that a SAP sideinfo file be present (in the local directory or in other normal places).

Please note that ALL SAP userids and password MUST be in upper case.
(I did not convert to all caps because I keep hoping that they will go to mixed upper and lower case - grk)

Sap_Open returns TCL_OK if a successful connection was made. There is no guarantee that the login was also successful. To verify login, it is recommended that an Sap_RfcPing command; be attempted.



If there are questions about this document please direct them to Garth Kennedy (garth@mcs.net)

garth@mcs.net