CloseConnection Method
Closes a connection to the SAP system.
Object Oriented Interface
public function doCloseConnection();
Procedural Interface
inerp_idocwriter_do_closeconnection($res);
Remarks
This method disconnects from the current connection to the SAP system. This method should be used for a normal disconnection. If you wish to terminate the connection because of an error, use the AbortConnection method instead.