Substituting Variables in Profile Values

Process Flow

Parameter values in instance profiles can contain the following variables:


$(parameter name) is replaced by the value of the parameter name specified in brackets.

Param1 = ‘/usr/sap/C11/D53/dbg’

Param2 = $(Param1)/stats

Therefore Param2 = /usr/sap/C11/D53/dbg/stats


$$ is replaced by the SAP System number.

Param3 = logfile$$.

SAPSYSTEM = 29

Therefore Param3 = logfile29

You can also define local substitute variables. These values are not used by the SAP programs, their importance lies within a profile. They contain values used for setting up or filling parameter values. The names of these local substitute variables begin with an underscore (‘_’).


_SAP_PROFILE_DEFAULT = /usr/sap/C11/SYS/profile/DEFAULT.PFL

Param4 = _SAP_PROFILE_DEFAULT. Therefore

Param4 = /usr/sap/C11/SYS/profile/DEFAULT.PFL

No comments:

topics