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

Close

How To Fix WS849 - Settlement doc type & for cancellation has incorrect sett. doc category &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 849

  • Message text: Settlement doc type & for cancellation has incorrect sett. doc category &

  • Show details Hide details
  • What causes this issue?

    For cancellation variant &V4&, the settlement document category of the
    settlement document type for cancellation must result in a different
    algebraic sign than that resulting from the settlement document category
    of the settlement document type.
    However, the settlement document type for cancellation is &V1& has
    settlement document category &V2&, the settlement document type has &V3&
    .

    System Response

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

    How to fix this error?

    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 WS849 - Settlement doc type & for cancellation has incorrect sett. doc category & ?

    The SAP error message:

    WS849: Settlement doc type & for cancellation has incorrect sett. doc category &


    Cause:

    This error occurs during the settlement or cancellation of a settlement document in SAP when the settlement document type assigned for the cancellation does not have the correct settlement document category. Essentially, the system expects a specific settlement document category for the cancellation document type, but the assigned document type has a mismatch or incorrect category.

    In SAP, settlement documents are categorized by document categories that control their behavior in the system. For example, settlement document categories might be:

    • A - Settlement document
    • B - Settlement cancellation document
    • C - Other categories related to settlement

    If the cancellation document type used does not have the expected category (usually the cancellation category), the system throws this error.


    Where it happens:

    • During settlement document cancellation (e.g., in transaction KO88 or other settlement/cancellation processes).
    • When the system tries to create a cancellation document with a document type that is not configured properly.

    Solution:

    1. Check the Settlement Document Type Configuration:

      • Go to transaction SPRO ? Controlling ? Internal Orders ? Settle Internal Orders ? Define Document Types for Settlement Documents.
      • Verify the document type assigned for the cancellation.
      • Check the Settlement Document Category assigned to the document type.
    2. Correct the Document Category:

      • The cancellation document type must have the correct settlement document category (usually the cancellation category).
      • If the document type is incorrect, either:
        • Assign the correct document type with the proper category for cancellation.
        • Or adjust the document type's category to the correct one if it is a custom document type.
    3. Check the Settlement Profile:

      • Sometimes the settlement profile (transaction OKO7) controls which document types are used for settlement and cancellation.
      • Verify that the settlement profile is correctly configured with the appropriate document types.
    4. Re-run the cancellation:

      • After correcting the document type/category, retry the cancellation process.

    Additional Information:

    • This error is related to the internal order or settlement document processing in SAP Controlling (CO).
    • Document categories are critical for the system to identify the nature of the document (normal, cancellation, etc.).
    • Custom document types must be carefully configured to align with SAP standard categories.
    • If you have multiple document types for settlement and cancellation, ensure they are consistently maintained.

    Summary:

    Aspect Details
    Error Message WS849 Settlement doc type & for cancellation has incorrect sett. doc category &
    Cause Cancellation document type has wrong settlement document category assigned.
    Solution Correct the document type's settlement document category in configuration.
    Transaction to Check SPRO ? Controlling ? Internal Orders ? Define Document Types for Settlement Documents
    Related Transactions KO88 (Settlement), OKO7 (Settlement Profile)

    If you need the exact customizing path or further help with configuration, 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