ADO.NET Provider for SAP ERP

Build 24.0.9060

Destination

Reference to an existing destination that is specified in a local saprfc.ini or sapnwrfc.ini file.

Data Type

string

Default Value

""

Remarks

If the connection is not described completely by the remaining properties, this property is used as a key into an .ini file where the connection should then be described. The name and the location of the .ini file will vary depending on the ConnectionType specified:

  • For the CLASSIC type, the file is named saprfc.ini and the file path can be defined in the RFC_INI environment variable.
  • For the Netweaver type, the file is named sapnwrfc.ini and the file should be located in the current execution directory, which usually means next to the executable for the tool you are running.
The contents of the .ini file will vary depending on your specific connection configuration, but a sample follows that would work for Destination=MYSAPDEST. Note that User and Password still need to be separately.
DEST=MYSAPDEST
TYPE=A
CLIENT=001
LANG=EN
ASHOST=10.0.1.123
SYSNR=00

See the SAP RFC SDK for more information about using .ini files with the RFC library.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060