Displaying Profile Parameters Inside the SAP System
The current values of the profile parameters can be displayed within the SAP system. There are two ways of doing this:
- You can use transaction RSPFPAR, which by the way, can also be run as a report with the same name.
- You can use transaction RZ11.
Both functions display the profile parameters for the instance to which the user is currently logged on.
Transaction RSPFPAR displays a list of all instance-specific profile parameters in a table view, including system-wide parameters. You can restrict this list to specific parameters. The table displays the system default value for the individual profile parameters as it is defined in the program code of the kernel or in the default profile. If the value of a profile parameter is set in the instance profile or if it has been overridden dynamically, the table also displays the user-defined (temporary) value. A short description and, if required, documentation of the parameters can also be displayed.
Transaction RZ11 displays information and documentation for individual profile parameters. It also shows whether the parameter is a dynamic parameter and can be changed while the system is running so a restart of the system is not required.
Note
If you want to display an overview of all dynamically switchable parameters, you can use the following method: call transaction RZ11
, then choose Goto → All Dynamic Parameters.
Values of profile parameters can contain set values or variables, such as parameter references or formulas.
Parameter references are indicated by a single $ symbol and the referenced parameter in round brackets. Double $$ symbol indicates the instance number.
As of SAP Basis 7.40 SP02 and higher, parameter values can be specified as formulas. A formula is always surrounded by round brackets ( ). The formula can reference other parameters and use standard operators such as +,-,*,/,^,(,). A formula can also include several standard functions such as min, max, sin, cos, tan, sqrt, exp, log2, log10, ceil, and floor. Use a period "." for decimal places. The individual values for the formula are displayed in transaction RSPFPAR. When long formulas are used, however, the formulas themselves cannot be displayed completely in this transaction. To display long formulas in their entirety, use transaction RZ11.
For more information, check the official documentation: https://help.sap.com/docs/ABAP_PLATFORM_NEW/e067931e0b0a4b2089f4db327879cd55/e05f0c5000efc06fe10000000a423f68.html
Example
The profile parameter rdisp/myname is set to $(SAPLOCALHOST)_$(SAPSYSTEMNAME)_$$ in the kernel. It references two other profile parameters, which is indicated by a single $ symbol. Double $$ symbol references the instance number.
If the two parameters are set, for example, as follows: SAPLOCALHOST=s4qhost, SAPSYSTEMNAME=S4Q, and the instance number is 12, the parameter rdisp/myname is derived from those values and is set to s4qhost_S4Q_12.
Error messages from formulas are logged in the stderr files during the start process. We recommend examining the stderr0 file first.
Hint
When evaluating profile parameters using the tools described, some profile parameter values are used system-wide, while others can be set differently for each instance. Transaction RSPFPAR
displays the configuration of the instance on which you are running the report.