We have a custom ABAP that calls function module SAPWL_STATREC_DIRECT_READ to extract data from the statistical log. (We use this information to monitor the tcodes that a user has executed.)
A scheduled job runs the program runs each morning at 5AM, extracs data for the previous day, and creates a unix file.
The job always completes successfully, and on most days does extract the desired data. Sometimes, however, no data is returned from the function module, and so a unix file is not created. However, we know that there has been tcode activity in the system on those days.
From a Basis perspective, is there anything we should be looking at that could be responsible for what we're seeing, possibly some system parameters? (Our Basis group has not come up with anything so far.)
<b> System Info</b>
We're at release 4.7 (Basis release 6.2)
Thanks in advance for any suggestions.