R/3 Profile Parameters in External Commands 
Definition
You can decide whether the value of an R/3 profile parameter is entered in the command text at runtime (for operating system commands and the pre-defined parameters). A placeholder for an R/3 profile parameter must have the following syntax:
$-SAPSYSTEMNAME-
The first place must always contain a '
$ ', followed by a separator which does not appear in the names of any R/3 profile parameters. The subsequent text is interpreted as the name of an R/3 profile parameter until the separator appears again. The complete character string from ' $ ' up to and including the second separator is replaced by a value defined for the R/3 profile parameter before the operating system command is executed. The value of the profile parameter is used as defined in the target system, provided an R/3 application server was started there.
/usr/sap/$-SAPSYSTEMNAME-/SYS/exe/run/sapgui
If the R/3 profile parameter
SAPSYSTEMNAME had the value ' ABC ', then the character string above would look like this:/usr/sap/ABC/SYS/exe/run/sapgui
Special Characters
Use the following special characters:
$ To identify R/3 profile parameters
? Placeholder for required parameters
& Placeholder for optional parameters
# Escape character
If you want to use '
$ ' as a regular character, then you need to precede it with ' # ' as escape character. You must enter the escape character ' # ' twice if you want to use it in the text.
See also:
Detailed Information Additional Parameters