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

Close

How To Fix WS058 - Settl doc type for settl doc list & of document & is of wrong category


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 058

  • Message text: Settl doc type for settl doc list & of document & is of wrong category

  • 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 WS058 - Settl doc type for settl doc list & of document & is of wrong category ?

    The SAP error message:

    WS058: Settl doc type for settl doc list & of document & is of wrong category


    Cause:

    This error occurs during the processing of settlement documents in SAP, typically in the context of Contract Accounts Receivable and Payable (FI-CA) or Settlement Management. The system expects the settlement document type to belong to a specific category, but the document type assigned to the settlement document list or the referenced document does not match the expected category.

    In other words, the settlement document type assigned to the settlement document list or the referenced document is incorrect or inconsistent with the expected document category for the settlement process.


    Explanation:

    • Settlement documents in SAP are categorized by document types that define their processing rules.
    • Each settlement document type is assigned a category (e.g., invoice, credit memo, payment, etc.).
    • When the system processes a settlement document list, it checks if the document types of the documents involved belong to the correct category.
    • If a document type does not belong to the expected category, the system throws the WS058 error.

    Common Scenarios:

    • Incorrect configuration of document types in transaction code OBA7 (Document Types for Contract Accounts Receivable and Payable).
    • Using a document type for settlement that is meant for a different category (e.g., using an invoice document type where a payment document type is expected).
    • Custom document types created but not properly assigned to the correct category.
    • Data inconsistencies or incorrect document type assignment in the settlement document list.

    Solution:

    1. Check Document Type Configuration:

      • Go to transaction OBA7 (for FI-CA) or the relevant IMG node for your module.
      • Verify the document types used for settlement documents.
      • Ensure that the document type assigned to the settlement document list and the referenced documents belong to the correct category expected by the settlement process.
    2. Correct Document Type Assignment:

      • If a custom document type is used, ensure it is assigned to the correct category.
      • Change the document type in the settlement document list or the referenced document to one that belongs to the correct category.
    3. Review Settlement Document List:

      • Check the documents included in the settlement document list.
      • Identify any document with an incorrect document type.
      • Correct the document type or exclude the document from the settlement list.
    4. Consult SAP Notes:

      • Check for any SAP Notes related to WS058 for your SAP version.
      • Sometimes, patches or corrections are provided by SAP.
    5. Testing:

      • After corrections, reprocess the settlement to verify that the error no longer occurs.

    Related Information:

    • Transaction Codes:
      • OBA7 – Document Types for Contract Accounts Receivable and Payable
      • FPAYH / FPAYH_SETTLEMENT – Settlement processing transactions
    • IMG Path:
      • Financial Accounting ? Contract Accounts Receivable and Payable ? Basic Functions ? Document ? Define Document Types
    • SAP Notes:
      • Search SAP Support Portal for WS058 or related settlement document type issues.
    • Documentation:
      • SAP Help Portal for FI-CA settlement document processing.
      • SAP FI-CA Configuration guides.

    Summary:

    The WS058 error indicates a mismatch between the settlement document type and the expected document category. Correcting the document type configuration and ensuring consistency in the settlement document list resolves the issue.

    • 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