ABAP Keyword Documentation → ABAP - Short Reference
COMMUNICATION - Short Reference
Other versions: 7.31 | 7.40 | 7.54
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].
Effect
Obsolete
Additions
-
INIT DESTINATION dest
Initializes a connectiondest
. -
ALLOCATE
Establishes a connection. -
ACCEPT
Accepts a connection. -
SEND BUFFER buf
Sends data inbuf
. -
RECEIVE BUFFER buf DATAINFO dat STATUSINFO stat
Receives data inbuf
and status information indat
andstat
. -
DEALLOCATE
Terminates a connection. -
RETURNCODE rc
Receives a return value inrc
. -
LENGTH leng
Restricts the length of sent or received data toleng
. -
RECEIVED rec
Returns the number of received bytes inrec
. -
HOLD
Prevents the internal session being changed during the receiving process.