17.08.2013 Views

Data Interfaces

Data Interfaces

Data Interfaces

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Setting Up Connections Actively (ALLOCATE)<br />

ABAP/4 C<br />

... ...<br />

COMMUNICATION<br />

ALLOCATE<br />

ID ID convid convid<br />

[ [ RETURNCODE rc rc ] ]<br />

... ...<br />

© SAP AG<br />

The connection is set up physically to a partner program.<br />

...<br />

CMALLC (<br />

convid,<br />

&rc );<br />

convid: The value returned by INIT must be specified here.<br />

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

ABAP/4: CONVID C 8<br />

RC X 2<br />

C: convid PCONVERSATION_ID<br />

rc CM_RETCODE<br />

If CMALLC is executed without error, the program for this connection will be in SEND mode.<br />

...

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

Saved successfully!

Ooh no, something went wrong!