--- title: "system-sap-check()" slug: "system-check-sap-alias-connected" updated: 2026-08-17T12:40:18Z published: 2026-08-17T12:40:18Z canonical: "docs.lobstersoftware.com/system-check-sap-alias-connected" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # system-sap-check() This function checks whether the SAP system **a** is connected by calling "RFC_PING". ## Parameters | Parameter | Description | | --- | --- | | a | The alias of the SAP system to be checked (see configuration file ./etc/sap.xml). | | b | (optional) Mode. Allowed values: "boolean", "text". Default: "boolean". "boolean" - The result is "true" if the check is successful, otherwise "false", but the function does not terminate with an error, even if the alias does not exist. "text" - Like "boolean", but if the check is unsuccessful, an error text (after the prefix "ERROR:") is output instead. **NOTE:** This text always returns "false" if evaluated as a Boolean. | ## Environment check The function can be used in the environment check (class [EnvironmentCheckByFilter](/v1/docs/en/environment-check-by-filter)) to suspend jobs while the SAP system is not available. Use properties "filter.id=415" and "filter.parameter.a=" (and if necessary "wait.time" and further properties).