SAP Message AQ022 - Incorrect interface for assigned function module

Diagnosis
The interface of the function module that has been attached does notconform to specifications.
With interface type 0 the interface must look as follows:
Import:
Import parameter: Reference field: Reference type:
PROGRAM SY-REPID
LIST_ID RSAQLDESC-LID
LISTTEXT C
LISTOFFSET I
No EXPORT or CHANGING parameters.
Tables:
Table parameter: Reference structure: Reference type:
LISTDESC RSAQLDESC
FPAIRS RSAQFPAIRS
DTAB

System Response
Error message

Procedure
Only function modules that have an interface like the one shown abovecan be used as additional function pool functions.