SAP Message AQV022 - Incorrect interface for assigned function module

Diagnosis
The interface of the corresponding function module does not adhere tothe specification.
For interface type 0 the interface must be :
Import:
Import parameter: Reference field: Reference type:
PROGRAM SY-REPID
LIST_ID RSAQLDESC-LID
LISTTEXT C
LISTOFFSET I
No EXPORT and no CHANGING parameter.
Tables:
Tables parameter: Reference structure: Reference type:
LISTDESC RSAQLDESC
FPAIRS RSAQFPAIRS
DTAB

System Response
Error message

Procedure
Only function modules that have the above interface may be used as afunction in the additional functions.