17.08.2013 Views

Data Interfaces

Data Interfaces

Data Interfaces

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Closing Connections (DEALLOCATE)<br />

ABAP/4 C<br />

...<br />

COMMUNICATION DEALLOCATE<br />

ID convid<br />

[ RETURNCODE rc ]<br />

...<br />

© SAP AG<br />

...<br />

CMDEAL (<br />

convid,<br />

&rc );<br />

This call closes the CPI-C connection. If there is still data in the buffer, it is transferred before the<br />

connection is closed. The local system resources are then released.<br />

Only the sending program should close the connection.<br />

You should assign appropriate types and lengths to variables:<br />

ABAP/4: C:<br />

CONVID C 8 convid PCONVERSATION_ID<br />

RC X 2 rc CM_RETCODE<br />

...

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!