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

Close

How To Fix WS204 - No settlement document type passed on


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 204

  • Message text: No settlement document type passed on

  • 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 WS204 - No settlement document type passed on ?

    Certainly! Here's a detailed explanation for the SAP error message WS204: No settlement document type passed on:


    Error Message

    WS204: No settlement document type passed on


    Cause

    This error occurs during the settlement process in SAP (typically in Controlling - CO module) when the system tries to create a settlement document but the settlement document type is not specified or not passed correctly.

    Settlement document type is a key parameter that determines the type of accounting document created during settlement (e.g., FI document type like SA, AB, etc.). If this is missing or incorrectly configured, the system cannot proceed with posting the settlement document.

    Common causes include:

    • Missing or incorrect configuration of settlement document type in the settlement profile.
    • The settlement profile assigned to the cost object (e.g., cost center, internal order, WBS element) does not have a settlement document type defined.
    • Customizing settings for settlement document types are incomplete or missing.
    • The settlement run or manual settlement process is not passing the document type due to user error or program error.

    Solution

    To resolve the WS204 error, follow these steps:

    1. Check Settlement Profile Configuration:

      • Go to transaction OKO7 (or SPRO path: Controlling ? Internal Orders ? Settle Internal Orders ? Define Settlement Profile).
      • Verify that the settlement profile assigned to the cost object has a valid settlement document type assigned.
      • If missing, assign the appropriate settlement document type (e.g., SA, AB).
    2. Verify Document Type in Settlement Profile:

      • In the settlement profile, ensure the field Settlement Document Type is filled.
      • This document type should be configured in FI and allowed for the posting.
    3. Check Cost Object Master Data:

      • For internal orders, check the settlement profile assigned in the order master record (transaction KO02).
      • For WBS elements, check the settlement rule and profile.
    4. Review Customizing for Document Types:

      • Use transaction OBA7 to check document types and their settings.
      • Ensure the document type used for settlement is active and correctly configured.
    5. Run Settlement Again:

      • After correcting the configuration, rerun the settlement (transaction KO88 for internal orders, or CJ88 for WBS elements).
      • The system should now pass the settlement document type and create the settlement document successfully.
    6. Check User Exits or Enhancements:

      • If custom code is involved in settlement, verify that it correctly passes the settlement document type.

    Related Information

    • Settlement Document Type: This is an FI document type used when posting settlement documents. It controls number ranges, posting rules, and document flow.
    • Settlement Profile: Controls how settlement is performed, including the settlement receiver, settlement rules, and document types.
    • Transactions:
      • KO88 - Execute Settlement for Internal Orders
      • CJ88 - Execute Settlement for WBS Elements
      • OKO7 - Define Settlement Profile
      • OBA7 - Document Types
    • SAP Notes: Sometimes SAP releases notes related to settlement errors; check SAP Support Portal for notes related to WS204.

    Summary

    Aspect Details
    Error WS204: No settlement document type passed on
    Cause Settlement document type missing in profile or not passed
    Solution Assign correct settlement document type in settlement profile and rerun settlement
    Key Transactions OKO7, KO88, CJ88, OBA7

    If you need further assistance, please provide details about the object being settled (internal order, WBS element, etc.) and the settlement profile used.

    • 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