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: 

Logging Query.

Former Member
0 Kudos
105

Hi ,

I want to activate the logging option in query (sq01,sq02,sq03).

I already define the infoset which i want to log in SPRO and create the BAdi.

Between the commands method IF_EX_AQ_QUERY_PROT~QUERY_PROT and endmethod

i insert breakpoint and when i execute a query it's not stop and the log table is empty.

Is there someting i'm doing wrong?

Thanks.

3 REPLIES 3

Former Member
0 Kudos
54

Hi again,

Is there any other information that i should add to my post?

Thanks.

0 Kudos
54

Hi,

After few test i realized that data into the log table is saved only when i execute the query with the Infoset query option with the functions :

· Refresh Data (in the output preview)

· Output Area

· Select (only with HR queries)

still the BAdi didn't stop on the breakpoint i don't know why.

is anybody familiar with sap query logging??

I want to collect data on the queries and i want it to display the name of the query too in the log table.

Hope you can help.

Thanks in advance.

0 Kudos
54

Moved to the Security Forum...