SAP Message AQ_AD_HOC221 - Error when generating the report (see long text)

Diagnosis
The report cannot be generated because the internal description isinvalid or incomplete, or because the selection screen is too large.
Regenerate the assigned InfoSet, and read the log. If the InfoSet isOK, make sure that at least one field is given as output.
If you used the 'Refresh' icon to start the query, use the 'Output'menu option to execute the query. This gives you a full screen displayof the data.
If an output was generated, the query cannot work with actual data inthe construction view. In this case, always use the 'Output' functionto execute the query.

Procedure
If the selection screen is too large, you need to reduce the number ofyour selections.
Make sure that the assigned InfoSet is correct. The name of theassigned InfoSet is stored in the menu option 'Extras -> TemplateInformation'.
Output at least one field. Otherwise you will not be able to save orgenerate reports.
If you do not have this problem, execute the query using the 'Output'function.
Otherwise, there is an error in the InfoSet Query.