SAP Knowledge Base Article - Public

2694943 - How to download API logs on SuccessFactors

Symptom

Need to get API request and response of some API Call made to SuccessFactors, this applies for a call made from any environment, the browser, a middleware like HCI or some tool as long as the call was made via API.

Environment

SuccessFactors

Resolution

  1.  Enable the OData API audit log as described in this KBA: 2680837 - How to see API payloads in Audit Logs; This log will be available/active for 4 consecutive hours.
  2.  Reproduce your issue (if possible), in your tool/middleware/browser (used postman below as example):
    kba_logs.png
    If you are using HCI or Boomi, you can deploy your artifact/Iflow to reproduce the call.
  3. Go to SuccessFactors and select OData API data Dictionary, every call made to SuccessFactors via API should be recorded there:
    kba_logs1.png
  4. Search for the call using the Session ID or the Entity and the Time Stamp:
    kba_logs2.png
  5. You can Download and send the request and response attached on your ticket:
    kba_logs3.png
    Remember, if you are not able to see the logs here, you can reproduce the issue again and if the error persists, you can enable again the payloads of the step 1. Remember that this will be recording once you see the expire date as explained on the KBA of step 1.

See Also

  • If you are using SFAPI, you can follow the same above steps but please note that you will access the SFAPI audit log instead of OData audit logs to retrieve your logs;
  • In case you are not able to access "OData API audit logs" page, take a look at this KBA: 2250344 - SuccessFactors: How to enable OData API.

Keywords

How to get API logs on SuccessFactors, sfapi audit logs, odata audit logs, how to provide audit logs, audit logs, audit log. , KBA , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , LOD-SF-INT-API , SF API & Adhoc API Framework , LOD-SF-INT-ODATA , OData API Framework , How To

Product

SAP SuccessFactors HCM Core all versions