Tool

otoquero's picture
tool
Reads:

7345

Score:
2
2
1
 
Comments:

0

Collector for SAP Logons

Author Info

28 May 2008 - 6:57am
Submitted by: otoquero

(View Disclaimer)

license: 
Open

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

AttachmentSize
SAP_R3_DB_600.zip142.39 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell