QUEUE_GET 

Use

To read data from a queue, you must first call the function module QUEUE_GET with a sequence of parameter. The data buffer must have the same type and length as the DDIC field APQD-VARDATA. Larger data objects cannot currently be imported using this module.

FUNCTION 'QUEUE_GET'

EXPORTING

NAME = Queue Name

OPENMODE= Open Mode

UNIT = Queue Unit

POS = Queue Element

 

IMPORTING

BUFFER = User Data

LENGTH = Length of Data

STATE = State of Unit/Message

UNIT = Unit

POS = Element

 

EXCEPTIONS

EOQ

BUFFER_ERROR

INVALID_PARAMETER

MEMORY_ERROR

Q_ERROR

SQL_ERROR.