Destination Parameter (Connect-SAPERP Cmdlet)
Reference to an existing destination that is specified in a local saprfc.ini or sapnwrfc.ini file.
Syntax
Connect-SAPERP -Destination string
Data Type
cstr
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.
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.