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

Debugging a SAP Query

Former Member
0 Likes
5,616

Hi,

I have created a SAP query using the tcodes sq01,sq02 and sq03.

Have added an additional field to retrieve some text and wrote the code also inside the query.

Now i want to debugg the query.

How do i degubb a sap query?

Thanks in Advance,

Regards,

mani

4 REPLIES 4
Read only

andreas_mann3
Active Contributor
0 Likes
2,183

find out program name with:

SQ01 - query - more functions - display report name

(example : AQZZ/GRC/APPL===FI_AP_20_Q1===)

-> search for your add. coding / field in this report and set break-points

hope that helps

Andreas

Read only

0 Likes
2,183

Or go to INCLUDE LAQ_INT_FUNCTIONSF02 and put a break point in form SUBMiT_REPORT.

Read only

Former Member
0 Likes
2,183

Hi,

Use /H before starting your query.

Regards, Dieter

Read only

former_member206396
Active Participant
0 Likes
2,183

Under the additional field code section, you can use

break <userid>. ( or break-point)

OR

go to the report,

AQZZ<USERGROUP>====<QUERYNAME>==== and search for additional field added...