SAP COMMUNICATION - Reference ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for COMMUNICATION

COMMUNICATION

ABAP Reference
ABAP Code Snippet


ABAP Syntax COMMUNICATION { {INIT DESTINATION dest}

| {ALLOCATE}
| {ACCEPT}
| {SEND BUFFER buf}
| {RECEIVE BUFFER buf DATAINFO dat STATUSINFO stat}
| {DEALLOCATE} } ID id
[RETURNCODE rc]
[LENGTH leng]
[RECEIVED rec]
[HOLD].
ABAP Code Snippet

What does it do? Obsolete: Enables communication with external programs using the CPI-C interface; the connection number is in id.

ABAP Addition INIT DESTINATION dest
Initializes a connection dest.
ALLOCATE
Establishes a connection.
ACCEPT
Accepts a connection.
SEND BUFFER buf
Sends data in buf.
RECEIVE BUFFER buf DATAINFO dat STATUSINFO stat
Receives data in buf and status information in dat and stat.
DEALLOCATE
Terminates a connection.
RETURNCODE rc
Receives a return code in rc.
LENGTH leng
Restricts the length of sent or received data to leng.
RECEIVED rec
Returns the number of received bytes in rec.
HOLD
Prevents the internal session being changed when data is being received.


Return to menu