sap_close()

Read(2868) Label: close, sap server connection,

Description:

Exit an SAP server connection.

Syntax:

sap_close(client)

Note:

This external library function (See External Library Guide) closes the connection to an SAP server.

Parameter:

client

SAP connection file handle

Example:

 

A

 

1

=sap_client@f ("C:/sap/ABAP_AS_WITH_POOL.jcoDestination")

SAP server connection.

2

=sap_close(A1)

Exit the SAP server connection.