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

SQ02-Query error-'Commentary or is missing'.

Former Member
0 Likes
1,719

Hi,

Has any body tried this. I've setup the structure and written the ABAP code for data retrevial.

I then create the infoset using transaction SQ02, Checked the radiobutton Data retrevial by program in the first screen with the structure name and external ABAP Program name which are created earlier.

Then get into the Change infoset but when I try to activate or generate the infset I get a generation error in the retrival program as 'Commentary <Query_head> or<Query_body> is missing'.

I cannot find any sap docs on this and hope someeone has an answer or some sample code.

Regards,

Rajesh

5 REPLIES 5
Read only

Former Member
0 Likes
1,156

Anybody with a solution on this am facing the same problem.

Read only

jogeswararao_kavala
Active Contributor
0 Likes
1,156

Hi Rajeshwar,

I haven't worked on this, but I have just tried.

Try by selecting Integrated Program instead of External program,

In both cases, I understood that this error is triggering from the code given in Data Reading Program in Extras.



Jogeswara Rao K

Read only

0 Likes
1,156

Thanks for the response but it doesn't sort out the issue.....

Read only

Former Member
0 Likes
1,156

The create and running of an external program must have a certain structure.  See the documentation for creating the program at
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/d2/cb45b2455611d189710000e8322d00/content.htm?frame...

Read only

Burad_to
Discoverer
0 Likes
1,156

try to put comment *<Query_head> and *<Query_body> in your program ,maybe it's usefull for you