Hi experts,
While executing an infoset query i am getting the error"Error when generating the report (see long text), Message no. AQ_AD_HOC221" This info set query used particularly to fetch data from IT 0008.I have 2 customized fields in infotype 0008.
When I execute query including one of the customized fields as output , i getting this error.If i run the report excluding the one custom field the report is generating without any error.I felt the problem is with the one customized field.The coding for the customized field was done long back & done by someone worked earlier.
I check all the below procedures mentioned in performance assistant.
Procedure
If the selection screen is too large, you need to reduce the number of your selections -Selected only pernr as selection filed & custom field and pernr as output.
Make sure that the assigned InfoSet is correct. The name of the assigned InfoSet is stored in the menu option 'Extras -> Template Information'. -Assigned InfoSet is correct
Output at least one field.-Selected more than one field as output
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.- Tried. still getting the same error.
Otherwise, there is an error in the InfoSet Query. At last i created a new info set query,but again i am getting the same error if i include the particular custom field.
Could you please suggest a solution for this error?.