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

Issues regarding Abap Query

Former Member
0 Likes
1,209

We have created a query " AQYZSYSTQV000001WBSLIST======= "

and then query program was copied to ZFI_WBSLIST

On execution of ZFI_WBSLIST,got the below error.

A RAISE statement in the program "SAPLAQGF" raised the exception

condition "NO_QUERY_REPORT".

"RAISE_EXCEPTION" " "

"SAPLAQGF" or "LAQGFU02"

"RSAQ_DECODE_REPORT_NAME"

Kindly help us in resolving the above problem.

Regards,

Rachel

5 REPLIES 5
Read only

Former Member
0 Likes
933

Hi,

It is due to you do not know querry name for the program.

pls. use FM RSAQ_DECODE_REPORT_NAME, as import parameter you only enter the generated program name and you get back all information you want,

thanks & regards,

ShreeMohan

Read only

rajesh_akarte2
Active Participant
0 Likes
933

Hi,

First check the server(developement,quality or production) where you have created the query.

Try to create the query in quality server and then copy the program in development.This kind of problem I faced once in that I had create the query in development so I was facing prolem but after create the query in quality it generate some different code.

That quality code in copied in development and then tried to execute it was working fine.

Check in program whether at some place they are passing program name as value.If it like that then replace it with your program name.

Hope it will help you.

Regards,

Rajesh Akarte

Read only

Former Member
0 Likes
933

Hi,

It seems to be the location of Query created and T.Code Created is different.

I mean, Query is developed in some other server other than Development and T.Code is in Development.

So untill unless object is not existing in same server, how could you test the t.code.

So just transport the t.code into same server and then run.

System will not give any error during transport for T.Code like 'Object Missing'.

So just go ahead.

Regds,

Anil

Read only

Former Member
933

Hello,

Thanks for the valuable inputs.

problem got resolved by commenting call function 'RSAQ_DECODE_REPORT_NAME'.

Thanks & Regards,

Rachel

Read only

Former Member
933

This function module mght b ur problem

comment it from program


RSAQ_DECODE_REPORT_NAME'