SAP ABAP Message Class AQ_AD_HOC Message Number 221 (Error when generating the report (see long text))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-QUE (Application Component) SAP Query
     SQUE (Package) Application Development R/3 SAP Query
Attribute
Message class AQ_AD_HOC  
Short Description SAP Query: Ad Hoc Query Messages    
Message Number 221  
Documentation status       Space: object requires documentation
Authorization check Error Message      
Changed On 20000912   
Message Text
Error when generating the report (see long text)
Help Document

Diagnosis

The report cannot be generated because the internal description is invalid or incomplete, or because the selection screen is too large.

Regenerate the assigned InfoSet, and read the log. If the InfoSet is OK, 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 display of the data.
If an output was generated, the query cannot work with actual data in the construction view. In this case, always use the 'Output' function to execute the query.

&SYSTEM RESPONSE&

Procedure

If the selection screen is too large, you need to reduce the number of your selections.

Make sure that the assigned InfoSet is correct. The name of the assigned InfoSet is stored in the menu option 'Extras -> Template Information'.

Output at least one field. Otherwise you will not be able to save or generate reports.

If you do not have this problem, execute the query using the 'Output' function.

Otherwise, there is an error in the InfoSet Query.

Procedure for System Administration

History
Last changed on/by 19991014  SAP 
SAP Release Created in