cancel
Showing results for 
Search instead for 
Did you mean: 

Replacement for 'getLastSuccessfulLogonDate' in EP7

former_member182374
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182374
Active Contributor
0 Kudos

Solved it my own by adding a custom property to IPrincipal.

Former Member
0 Kudos

Hi Omri,

We are facing the same issue where we need to find out the last successful logon date. Could you please let us know what exactly did you do to get this info from IPrincipal?

Thanks,

Mayur

former_member182374
Active Contributor
0 Kudos

One more try...

Detlev, Prakash, Daniel, Someone?