How To Fix WS140 - Settlement document type & is not permitted for final settlement


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 140

  • Message text: Settlement document type & is not permitted for final settlement

  • Show details Hide details
  • What causes this issue?

    The selected settlement document type &V1& is not defined for final
    settlement. The reason for this is that settlement document type &V1& is
    not characterized as the settlement document type for final settlement.

    System Response

    The settlement document type cannot be assigned.

    How to fix this error?

    Choose a different settlement document type.

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WS140 - Settlement document type & is not permitted for final settlement ?

    SAP Error Message:
    WS140: Settlement document type & is not permitted for final settlement


    Cause:

    This error occurs during the settlement process in SAP when you attempt to use a settlement document type that is not allowed for final settlement. In SAP Controlling (CO), settlement document types control how settlement documents are posted. Some document types are configured only for periodic settlements, and others are allowed for final settlements. If you try to perform a final settlement with a document type that is not permitted for final settlement, SAP throws this error.


    Explanation:

    • Settlement Document Type: This is a configuration in SAP that defines the document type used when posting settlement documents.
    • Final Settlement: The last settlement of a cost object (e.g., a production order, internal order, or WBS element) which closes the object.
    • The system checks if the settlement document type assigned to the settlement profile or settlement rule is allowed for final settlement.
    • If the document type is not flagged for final settlement in the configuration, the system prevents posting and issues WS140.

    Solution:

    1. Check the Settlement Document Type Configuration:

      • Go to transaction SPRO ? Controlling ? Internal Orders / WBS Elements / Production Orders ? Settlement ? Define Settlement Document Types.
      • Find the settlement document type used in your settlement profile or settlement rule.
      • Verify if the document type is allowed for final settlement. There is a checkbox or setting indicating whether the document type can be used for final settlement.
    2. Allow the Document Type for Final Settlement:

      • If the document type is not allowed for final settlement, and you want to use it, change the configuration to permit final settlement.
      • Alternatively, assign a different settlement document type that is allowed for final settlement in the settlement profile or settlement rule.
    3. Check Settlement Profile / Settlement Rule:

      • Review the settlement profile assigned to the cost object.
      • Ensure the settlement document type assigned there is correct and permitted for final settlement.
    4. Re-run the Settlement:

      • After correcting the document type settings, re-execute the settlement.

    Related Information:

    • Transaction Codes:

      • KO88 – Order Settlement
      • CJ88 – WBS Element Settlement
      • KSU5 – Cost Center Settlement
      • SPRO – Customizing for Settlement Document Types
    • SAP Notes / Documentation:

      • Check SAP Notes related to settlement document types and final settlement errors.
      • Review SAP Help Portal for "Settlement Document Types" and "Final Settlement" in Controlling.
    • Common Objects Affected:

      • Internal Orders
      • Production Orders
      • WBS Elements
      • Cost Centers

    Summary:

    The error WS140 occurs because the settlement document type used is not configured to allow final settlement postings. To fix it, adjust the settlement document type settings in SPRO to permit final settlement or use a different document type that is allowed for final settlement.


    If you need detailed steps on how to change the settlement document type settings or how to check the settlement profile, please let me know!

    • 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
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant