SAP Message AQ168 - Unable to generate InfoSet & (program & contains errors)

Diagnosis
This InfoSet is supposed to be defined using a data retrieval program.However, the program either does not exist, does not conform to theconventions for data retrieval programs, or contains syntax errors.
For this reason, the InfoSet cannot be generated.

Procedure
Before generating the InfoSet, the correct data retrieval program mustexist.
Either create the program or check that it contains the obligatorycomments * or * (for further information, seethe ABAP/4 Query manual). Check also that both the program and theInfoSet have the same fixed point arithmetic definition, and that theprogram contains no syntax errors.