Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WS790 - Personnel settlement document &4 exists already; check input data.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 790

  • Message text: Personnel settlement document &4 exists already; check input data.

  • Show details Hide details
  • What causes this issue?

    Personnel settlement document &V4& already exists for the same set of
    parameters (personnel number &V1&, document date &V2& and compensation
    reason &V3&). For consistency reasons, only one document is allowed for
    the given settlement parameters.

    System Response

    The system does not allow you to create additional personnel settlement
    documents.

    How to fix this error?

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WS790 - Personnel settlement document &4 exists already; check input data. ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    WS790 Personnel settlement document &4 exists already; check input data.


    Cause:

    This error occurs when you try to create or post a personnel settlement document (usually related to payroll or personnel accounting) in SAP, but a document with the same number already exists in the system. The system prevents duplicate entries to maintain data integrity.

    • The placeholder &4 in the message represents the document number that already exists.
    • This typically happens during payroll posting, personnel cost settlement, or when manually creating personnel accounting documents.
    • It can also occur if the document number range is exhausted or if there is a mismatch in the document number assignment logic.

    Solution:

    1. Check the Document Number:

      • Verify the document number mentioned in the error message.
      • Use transaction codes like FB03 (Display Document) or PA03 (Display Personnel Accounting Document) to check if the document already exists.
    2. Review Input Data:

      • Ensure that the input data for the personnel settlement or payroll posting is correct.
      • Check if the document number is being manually assigned or automatically generated.
      • If manual, avoid duplicating document numbers.
    3. Document Number Range:

      • Check the number range intervals for personnel accounting documents.
      • Use transaction SNRO or SNUM to verify and adjust number ranges if necessary.
    4. Re-run the Process:

      • If the document already exists and is correct, you may not need to create it again.
      • If the process failed earlier and left inconsistent data, consider reversing or deleting the incorrect document before retrying.
    5. Check for Parallel Processes:

      • Sometimes, parallel payroll runs or batch jobs might try to create the same document simultaneously.
      • Coordinate and schedule jobs to avoid conflicts.
    6. Consult SAP Notes:

      • Search SAP Support Portal for notes related to WS790 error for your specific SAP version and module.

    Related Information:

    • Module: Personnel Accounting (PA), Payroll (PY)
    • Common Transactions:
      • PC00_Mxx_CALC – Payroll run
      • PC00_Mxx_CIPE – Posting payroll results
      • PA03 – Display Personnel Accounting Document
      • FB03 – Display Financial Document
    • Number Range Objects: Check number range for personnel accounting documents (e.g., PERNR_DOC or similar).
    • SAP Notes: Look for notes related to personnel settlement document errors or payroll posting issues.

    If you provide more context (e.g., transaction used, module, or process step), I can help tailor the solution further.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author