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: 

Download all ENtries from SM20

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Bernhard_SAP
Employee
Employee
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

Don't think so its possible to schedule SM20 (SAPMSM20) program in background.

Bernhard_SAP
Employee
Employee
0 Kudos

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

0 Kudos

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

mvoros
Active Contributor
0 Kudos

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

0 Kudos

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