Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Query

Former Member
0 Likes
637

Hi Experts,

I have included 7 fields of similar type to infoset (SQ02 -> My Infoset -> Additional fields ). And i have written logic for each field under FIELD CODE. And logic is fine.

If i wish to display any one of them in the output, i am getting correct result.

But the problem is if i select more than 1 field among those 7 fields ( 2 or 3 or ...), i am getting an error like " Error when generating the report (See long text )".

And i assigned field group also for those fields.

<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>

Thanks

Edited by: Alvaro Tejada Galindo on Aug 21, 2008 4:04 PM

4 REPLIES 4
Read only

Former Member
0 Likes
585

Check the long text of the message..may be u will get the detail error info. from it.

Regards,

Joy.

Read only

0 Likes
585

I checked that long text. But i didnt see any usefull information in that.

Read only

0 Likes
585

Can u pl. paste the long text along with message class and message no?

Read only

0 Likes
585

This is the info in long text..

Error when generating the report (see long text)

Message no. AQ_AD_HOC221

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.

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.