Use
To write to a queue, call the function module QUEUE_PUT with a sequence of EXPORTING parameters:
CALL FUNCTION 'QUEUE_PUT'
EXPORTING NAME = name
STATE = state
LENGTH = length
BUFFER = buffer.
Parameters
Assign a value to each of the folowing parameters:
Parameters |
Type |
Explanation |
NAME |
C(20) |
Name of the queue to write to |
STATE |
C(1) |
Start/end of a Queue unit S : Only a single element is written to the queue F : First element in the queue Element is not the first, only or last L : Last element in the queue |
LENGTH |
I(4) |
No. of bytes in the buffer to pass |
BUFFER |
Buffer to pass (like DDIC field APQD-VARDATA) |