# Close Connection

Closes the open connection to SAP, as well as the SAP GUI program.

<table data-header-hidden><thead><tr><th width="199.5833740234375" valign="top"></th><th width="283.08319091796875" valign="top"></th></tr></thead><tbody><tr><td valign="top">Connection Link</td><td valign="top"><p>[Link] SAP connection object.</p><p>The variable name in this property must match the variable name in the "Connection Link" property of the "Create Connection" or "Join" blocks from the SAP group.</p></td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that blocks will output during operation. Possible values:</p><ul><li>"Default" - default;</li><li>"Release" - output is disabled;</li><li>"Debug" - main information output;</li><li>"Detailed" - detailed information output.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block's work.</td></tr></tbody></table>
