Application Development 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: 

Executing Abap Queries in Abap Code and processing the result

Former Member
0 Kudos

Hi,

I want to execute ABAP Queries (designed by sq01) in an abap report and processing the result in an internal table.

How could it be work?

Thanks a lot for your responses,

with kind Regards

Reinhold Strobl

3 REPLIES 3

krishnendu_laha
Active Contributor
0 Kudos

Hi Friend,

After execution of the query.

In SQ01, give the query name and select Query-> More Functions -> Display report name. Select the report name and see in SE38.

It will solve the problem.

Regards

Krishnendu

Former Member
0 Kudos

Hello,

GO to SQ01 and select your query. Go to Menu QUERY--


>More Functions->Display Report Name.

You can then take that report name and go to SE38. Copy the code before END-OF_SELECTION and then modify as per your own requirements.

Regrads

Saket Sharma

Former Member
0 Kudos

Hi,

thanks a lot for your replies.

But,

I want dynamically call any query in a abap report and then get the result in an internal table, which used for further processing.

Any further ideas?

Thanks