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

Generating a report using ABAP query

Former Member
0 Likes
2,186

Hi All,

I want to generate a anlytical report using ABAP query, There are 3 different transactions/steps have to be executed to get this data in an actionable form.

1. MB52 - Unrestricted Stock

2. ZCustomquery - Custom query in SAP R3

3. Combine above two in a single report.

Please suggest me how can i proceed,

1. Example i have created query name called Finalrepot

2. How can i call above zcustomquery and Transaction (MB52) in the Query.

Thanks for your help

Pradeep

1 ACCEPTED SOLUTION
Read only

madan_ullasa
Contributor
0 Likes
1,269

I think you are refering to SQ01, SQ02 and SQ03 transactions. Find the tables for MB52 and the custom report. The create a join condition for these table in the query. Create a transaction code to run this query..I believe this will work..

Regards,

Madan.

Hi All,

I want to generate a anlytical report using ABAP query, There are 3 different transactions/steps have to be executed to get this data in an actionable form.

1. MB52 - Unrestricted Stock

2. ZCustomquery - Custom query in SAP R3

3. Combine above two in a single report.

Please suggest me how can i proceed,

1. Example i have created query name called Finalrepot

2. How can i call above zcustomquery and Transaction (MB52) in the Query.

Thanks for your help

Pradeep

5 REPLIES 5
Read only

madan_ullasa
Contributor
0 Likes
1,270

I think you are refering to SQ01, SQ02 and SQ03 transactions. Find the tables for MB52 and the custom report. The create a join condition for these table in the query. Create a transaction code to run this query..I believe this will work..

Regards,

Madan.

Read only

0 Likes
1,269

Hi madan

thanks for the reply...when i see the tables in mb52 (TABLES: rkpf, resb, prps, makt, t156t) these are the table i found...

you mean to say....those are the tables.... In custom abap query...how can i see, the list of tables

Pl suggest me

thanks

Pradeep

Read only

0 Likes
1,269

From SQ01 find out the report name for the query (Query->More functions->Display report name). Then from se38 display the report and search it with select statement. Or u can do the Environment Analysis from SE38 initial screen by pressing Shift + F4 button.

Regards,

Joy.

Read only

0 Likes
1,269

To see the Report name in SQVI you will go to menu Quick View, Additional Functions and display report name

Much simpler way is to take the program and go to SE80. Then pull down programs and input your program. You will see all the tables under Dictionary Structures

Read only

Former Member