Skip to Content

Replacement for 'getLastSuccessfulLogonDate' in EP7

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on May 07, 2007 at 10:47 AM

    One more try...

    Detlev, Prakash, Daniel, Someone?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 19, 2009 at 07:37 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.