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

CALL A CREATED QUERY FROM REPORT

Former Member
0 Likes
1,078

Hi Experts,

I have created a 'user group' and a 'infoset' using transaction 'sq03' and 'sq02'. Then i have created a query 'zquery_add' on this infoset using 'sq02' and it is running fine.

Now i need to call this created query from my report. what is the syntax for calling the query from the ABAP report ?

plz help............

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
774

hi,

you may use function module: RSAQ_SUBMIT_QUERY_REPORT

greetings,darek

Hi Experts,

I have created a 'user group' and a 'infoset' using transaction 'sq03' and 'sq02'. Then i have created a query 'zquery_add' on this infoset using 'sq02' and it is running fine.

Now i need to call this created query from my report. what is the syntax for calling the query from the ABAP report ?

plz help............

3 REPLIES 3
Read only

GauthamV
Active Contributor
0 Likes
774

hi,

once u created that query a program will be generated

internally ,so when u are running the query, in your

selection screen, go to system- status and find the program name.then in your report u can call this using submit statement.

hope this works for u.

Read only

Former Member
0 Likes
775

hi,

you may use function module: RSAQ_SUBMIT_QUERY_REPORT

greetings,darek

Read only

Former Member
0 Likes
774

Hi Basu,

Once you create a QUERY then the system automatically generates a program. You can get this program name by pressing 'system' --> 'status'. Note down this program name and use 'SUBMIT' statement to call this query in your Report.

thanks and regards

Kishore Kumar Maram