SAP Knowledge Base Article - Public

2306098 - REST web service Financial Transactions Posting error Exception while tracking the transactions pending status :"

Symptom

  • Customer is getting an eror using the Rest Web Service for the approved financial transactions.
  • Theay are getting the error message: { "error": { "code": null "message": "Exception while tracking the transactions pending status :" }- } And it seems to be an internal server error.

Environment

  • Learning Management System (LMS)

Reproducing the Issue

  1. Request a token via REST web service
  2. GET finance data via REST web service 3)
  3. We then try to use POST REST web service. See the attached screen shots for the details of the settings.
  4. Click send
  5. Now we see this execption error: { "error": { "code": null "message": "Exception while tracking the transactions pending status :" }- }

Resolution

  • Customer needs to put finSystemID: SAP and the correct transactionPostingDate.
  • Example:
    {
    "@odata.type":"#FinancialTransactionPostingStatuses",
    "postingStatuses" : [
    {
    "transactionID": 1,
    "status": "SUCCESS",
    "transactionPostingDate": 1394044200000,
    "error" : "Invalid Account Code",
    "finSystemID" : "SAP"
    }
    ]
    }
  • For putting the correct transactionPostingDate, customer can use http://www.epochconverter.com/ 

Keywords

  • Finantial Transactions Posting
  • WebServices
  • Rest
  • Error
, KBA , LOD-SF-LMS , Learning Management System , Problem

Product

SAP SuccessFactors Learning 1511