11-05-2010 9:53 AM
Dear all,
when we try to download the logings from SM20, we have to portion it in really small pieces. Is there chance to download the whole Audit results for a certain period e.g. as background job?
Thanks in advance
Kind regards
Torsten
11-05-2010 12:40 PM
Hello Torsten,
try report rsau_select_events.
The result list can be downloaded.(or report can be scheduled regularly)
b.rgds, Bernhard
Edited by: Bernhard Hochreiter on Nov 5, 2010 1:42 PM
11-05-2010 11:32 AM
Don't think so its possible to schedule SM20 (SAPMSM20) program in background.
11-05-2010 12:40 PM
Hello Torsten,
try report rsau_select_events.
The result list can be downloaded.(or report can be scheduled regularly)
b.rgds, Bernhard
Edited by: Bernhard Hochreiter on Nov 5, 2010 1:42 PM
11-07-2010 12:06 AM
No intention to hijack the thread here but had the same (follow-on) problem once before and noticed that when the variant for RSAU_SELECT_EVENTS does not find any data then it anyway created a spool request for the headers and to write the "No data found" message.
Is there any way to prevent this spool request if no data is found (like other SUIM type reports already do if run in the background)?
It is more performant to react (first) to the existance of a spool request that to read it...
Any ideas?
Cheers,
Julius
11-07-2010 10:51 PM
Julius,
that program always displays ALV event even if the result is empty. It calls one routine DISPLAY_ALV_LIST so you can use implicit enhancement point to do not display ALV in this case. That should stop creating spool.
Cheers
11-07-2010 11:04 PM
The enhancement and switch frameworks are still dangerous invitations to APIs for me.I personally dont trust them at face value of report coding.
A selection option with support via tcode to remove the ALV is more elegant...
SM20N seems to have this, but the report does not.
Cheers,
Julius