<p>I think you&#8217;ve read SAP courses very carefully with attention. And you know SAP Query logging abilities for sure. I didn&#8217;t know that. I&#8217;ve read some courses and have found curious things I&#8217;d like to share with you.</p>
<p>For example, we can log everything user runs in ad-hoc query or SAP Query. Let&#8217;s set it up.<br />
Open SQ02, menu Extras &#8211; Set Logs.<br />
<a href="http://saphr.ru/wp-content/uploads/sq02_logs.png"><img class="alignnone size-full wp-image-2286" src="http://saphr.ru/wp-content/uploads/sq02_logs.png" alt="sq02 logging" width="877" height="493" /></a></p>
<p>Here we add infosets and info areas (like standard and global). The first column is for the area (space for standard and G for global). Second is for Infoset or asterisk.<br />
<!--more--></p>
<p>That&#8217;s it!</p>
<p>From now when a user runs report built on Infoset system logs all the data like in the picture below.</p>
<p><a href="http://saphr.ru/wp-content/uploads/pqah_logs.png"><img class="alignnone size-full wp-image-2287" src="http://saphr.ru/wp-content/uploads/pqah_logs.png" alt="" width="1903" height="510" /></a></p>
<p>And if you want to get the same report you need to add your user to the user group /SAPQUERY/SQ in global area (transaction SQ03) and then open ad-hoc query with this user group. <a href="http://saphr.ru/wp-content/uploads/pqah_log_queries.png"><img class="alignnone size-full wp-image-2288" src="http://saphr.ru/wp-content/uploads/pqah_log_queries.png" alt="" width="636" height="468" /></a></p>