Skip to Content
0
Apr 26, 2007 at 08:12 AM

Replacement for 'getLastSuccessfulLogonDate' in EP7

21 Views

Hi All,

I'm in a process of migrating EP6 SP2 to EP7 SP11.

Some of the methods in my applications are deprecated.

For the method 'getLastSuccessfulLogonDate' I found this in help.sap.com:

http://help.sap.com/saphelp_nw04/helpdata/en/43/bc6b9202454dece10000000a422035/frameset.htm (the field is no longer maintained from EP6 SP16).

I know that SAP introduced the "Activity Report" from EP6 SP14.

Will running the SQL query:

SELECT     *
FROM       WCR_USERSTAT
WHERE     (LOGONID = 'omric') AND (AGGREGATIONLEVEL = 'h')
ORDER BY TIMESTAMPHOUR DESC

and getting the first row give me the same data as 'getLastSuccessfulLogonDate' ?

Thanks,

Omri