SAP Knowledge Base Article - Public

2298105 - How to generate user login data report

Symptom

  • Generate a report to fetch statistical user logon data in BizX
  • Retrieve user logon count in BizX
  • How to know who is logging in our instance?
  • How to audit who has logged in our system?
  • How to add Date and timestamp for date fields in user login report?

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental

Environment

SAP SuccessFactors HXM Suite

Reproducing the Issue

Cause

Resolution

  1. Logon to BizX application.
  2. Navigate to Reports > Reports Center >Table Report (formerly called Adhoc Reports).
  3. Select Create New Report. Navigate to Login Data under the option of 'Report Definition Type'.

 

UL1.png

 

  1. Select Login Data, and click Create to start configuring the report.

UL2.png

  1. Configuring basic pills, i.e., General Info, People, and Columns as per the requirement.
  • Configure General Info:

UL3.png

  • Configure People:

    • Select Refine Criteria.
    • Select Other Filters. This will ensure to pull all the records from the system if the RBP Target Population of the administrator fetching the report covers the entire organization.
    • Select Inactive Users. This will ensure to pull records for all the users who would have been marked as inactive in the system.

UL4.png

  • Configuring Columns:
    • Click Select Columns.
    • Select the columns from the given list. In this example, the selected columns are listed below.

UL5.png

  • You may click Preview, right top corner to retrieve abstract view of the report.

 

   6. Add Date and timestamp for date fields in user login report.

  • Select Configuration Tab > Select Data Type Configuration.
  • Change the column configuration (date fields) from Date to Timestamp.
  • Select Ok.

Timestamp.JPG

   7. Click Generate to generate the Report.

UL6.png

  1. Reports will be available to download in file formats such as CSV, Excel, PDF and PPT.
  2. It is preferable to download the report as Excel. This is to provision the requirement of any custom filter via MS Excel.

See SAP Help Portal for more details on Table Reports.

Note : With the Q3 2019 release, logon audit records will automatically be purged after one year. Additionally, a limit of 50 million logon audit records per year has been defined. See KBA 2825543 - User Login Data Purge.

You may see users in the report without login data,  this is expected if user has not been logged in over a year as data will be automatically purged.

FAQ:

Is Global Assignment User ID logins included in the Login Data Report?

Before b2105:

If home user and host GA users are both active, only home user will be recorded in the login report. However, if the user using host GA’s username does the API login, then system will record GA user in login report, too.

After b2105:

  • Global assignment user IDs are included in the report only if they are active in the system.
  • When GA is active, no matter who does the login, login report will record GA's user ID.
  • If user using host GA’s username does the API login, then the system still records GA user in login report.
  • When GA is inactive, the login report won't record the GA's user ID and will just record the actual login user id.

Why am I seeing duplicate logins generated within seconds of each other?

It is expected that system will count duplicate logins for some users when accessing it. Modules like PMGM and Employee Central and some applications will authenticate user again after login once the user accesses these pages. This is also very typical when the user is accessing mobile since it also generate duplicate logins because there are various login authentication processes in it.

There are some login actions that are related to API calls. For that, we introduced an option to disable API login Audit, which is explained in the KBA 2780420 - Disable API Login Audit Data. However, there are duplicate login records that will still appear even after you enable this option because these specifically do not use API calls.

See Also

See SAP Help Portal for more details on Exporting Login Data with Ad Hoc Report

See SAP Help Portal for more details on Table Reports

3067736 - How to generate user login data report using Stories in People Analytics

2780420 - Disable API Login Audit Data

2597739 - User Login Data Ad Hoc report showing duplicates

2947670 - Is it possible to report on last login date & time?

Keywords

Login Data, Adhoc Reports, audit log , PLA-11371, login report, report, inactive , table reports , KBA , LOD-SF-PLT-LPG , Log In Page Issues (Non SSO) , LOD-SF-PLT , Platform Foundational Capabilities , How To

Product

SAP SuccessFactors HCM all versions