We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
... ${INIT DESTINATION dest$}
$| ALLOCATE
$| ACCEPT
$| ${SEND BUFFER buf$}
$| ${RECEIVE BUFFER buf DATAINFO dat STATUSINFO stat$}
$| DEALLOCATE ...
1. ... INIT DESTINATION dest
2. ... ALLOCATE
3. ... ACCEPT
4. ... SEND BUFFER buf
5. ... RECEIVE BUFFER buf DATAINFO dat STATUSINFO stat
6. ... DEALLOCATE
There are different alternatives for specifying comstep, each of which is responsible for a connection step.
... INIT DESTINATION dest
The connection between the programs initialized by specifying dest. dest expects a flat character-like data object of the length 8 that, when executing the statement, contains a value from the column SDEST of the DDIC database table TXCOM.
During initialization, the system automatically runs an authorization check on the
authorization
object S_CPIC. The authorization can be checked before the connection is established using the function module AUTHORITY_CHECK_CPIC.
... ALLOCATE
Establishes a connection to the partner identified in the previous addition DESTINATION. At the same time, a start request is passed to the partner, if it is a program.
... ACCEPT
This addition can be used to accept the established connection in a called partner program. After authentication, the called program is in receive status.
... SEND BUFFER buf
Sends data to the partner program. A data object can be specified for buf, for which all
flat elementary types
are allowed and the memory requirement of 32000 bytes cannot be exceeded. If the statement COMMUNICATION is executed, the content of buf is passed to the partner program.
... RECEIVE BUFFER buf DATAINFO dat STATUSINFO stat
Receives data from the partner program. A data object can be specified for buf, for which all flat elementary types are allowed and the memory requirement of 32000 bytes cannot be exceeded. When the statement COMMUNICATION is executed, the content of buf is taken from the partner program.
After the execution of the statement, the data object dat contains information about whether
the data is sent completely, and the content of the data object stat indicates whether the current
program is in send or receive mode. Only byte-like data objects are allowed for dat and stat, the length should not be less than 4 bytes. The encoding for the values in dat and stat can be taken from the
include program RSCPICDF. Here, data objects with a descriptive name and
start values are declared which can be compared with dat and stat.
A connection step opened with RECEIVE must be followed by a connection step opened with SEND.
... DEALLOCATE
The connection is closed, and all memory areas are released.
Leave us your contact details and we will call you back. Fields marked with * are mandatory.
We offer holistic SAP solutions from a single source to shape digital change and develop new business areas.
Switzerland
Schaffhausen
Germany
Mannheim, Düsseldorf, Munich
USA
Haverhill
Greece
Thessaloniki