Collector for SAP Logons



By: otoquero

May 28, 2008 7:57 am

Reads: 210

License:
Open

Download SAP_R3_DB_600.zip

This collector executes a Query who retrieves the last succesful logons to SAP applications like R3, APO, BW.

Table USR02 from SAP application store user’s logon information, the Offset used is based on the time of the events.

In the core file maybe you will need to add the name of your instance database to execute the query correctly.

This is the syntax of the query executed.

SELECT TOP {Max_Rows_To_Return}
USR02.MANDT as s_CV30, (Mandant)
USR02.BNAME as s_SUN,
USR02.USTYP as s_CV31, (User Type)
USR02.CLASS as s_CV32, (Group Type)
USR02.ANAME as s_CV33, (Creator)
USR02.ERDAT as s_Creation_Date,
USR02.TRDAT as s_Access_Date,
USR02.LTIME as s_Offset,
USR02.PWDCHGDATE as s_Last_Pass_Change
FROM USR02
WHERE USR02.TRDAT = {Current_Date} AND USR02.LTIME > {Event Time}
ORDER BY USR02.LTIME ASC

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: ,
Categories: Cool Tools, Sentinel

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Comment