Skip to content

SAP S/4HANA Testing

Verify your SAP S/4HANA connection works correctly.

  1. Go to Legal Entity > ERP Connection
  2. Click Test Connection

The system will validate:

  • OAuth token acquisition
  • System reachability
  • API accessibility (SAP_COM_0057)
  • Company code validity (1000)
  • User permissions
  1. Upload a test invoice
  2. Complete the approval workflow
  3. Verify posting to SAP

Expected results include:

  • TaprNext Invoice ID (e.g., PI-2024-00001)
  • SAP Document number (e.g., 5105600001)
  • Fiscal year and company code confirmation
  • “Posted successfully” status
  1. Log into SAP GUI or Fiori
  2. Use transaction FB03 (Display Document)
  3. Enter the document number and company code
  4. Confirm all fields match the posted invoice
ErrorSolution
401 UnauthorizedRefresh OAuth token, check client secret
403 ForbiddenCheck communication user authorizations
Company code invalidVerify company code in connection settings