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

Close

How To Fix WS128 - Enter a settlement document type


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 128

  • Message text: Enter a settlement document type

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WS128 - Enter a settlement document type ?

    SAP Error Message:
    WS128 - Enter a settlement document type


    Cause:

    This error occurs when you are trying to perform a settlement process (such as settling costs from a cost center, internal order, or project) but have not specified the Settlement Document Type in the settlement parameters. The system requires a settlement document type to know how to post the settlement document in Financial Accounting (FI).


    Explanation:

    • In SAP Controlling (CO), when you settle costs from an object (like an internal order or WBS element), the system creates a financial document to post the settlement.
    • The Settlement Document Type determines the type of FI document that will be created (e.g., KR for vendor invoice, SA for general ledger document).
    • If this document type is missing or not maintained in the settlement profile or settlement rule, the system cannot proceed and throws the WS128 error.

    Solution:

    1. Check Settlement Profile:

      • Go to transaction OKO7 (Maintain Settlement Profiles).
      • Verify that the settlement profile assigned to your controlling object has a valid settlement document type maintained.
      • If missing, assign the appropriate settlement document type (e.g., SA, KR, RE).
    2. Check Settlement Rule:

      • In the settlement rule of the controlling object (e.g., internal order, WBS element), ensure that the receiver and settlement type are correctly maintained.
      • The settlement type should be linked to a settlement profile that has a settlement document type.
    3. Maintain Document Type in Settlement Profile:

      • The settlement document type is maintained in the settlement profile under the "Settlement Document" tab.
      • Example document types:
        • SA = General Ledger Document
        • KR = Vendor Invoice
        • RE = Customer Invoice
    4. Re-run Settlement:

      • After maintaining the settlement document type, re-run the settlement process (e.g., transaction KO88 for internal orders, CJ88 for projects).

    Additional Information:

    • Transaction Codes:
      • KO88 - Internal Order Settlement
      • CJ88 - Project Settlement
      • OKO7 - Maintain Settlement Profiles
    • Related Tables:
      • TKO7 - Settlement Profile
      • T003 - Document Types
    • Notes:
      • Always ensure that the settlement document type corresponds to the nature of the settlement (e.g., if settling to a vendor, use KR).
      • If you are unsure which document type to use, consult your FI team or SAP configuration consultant.

    Summary:

    Aspect Details
    Error Message WS128 - Enter a settlement document type
    Cause Settlement document type not specified in settlement profile or rule
    Solution Maintain settlement document type in settlement profile (OKO7) and ensure settlement rule is correct
    Key Transactions OKO7, KO88, CJ88

    If you need further assistance, please provide details about the controlling object and settlement profile you are using.

    • 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