How To Fix RTCO_SOA_REUSE021 - &1 does not match XSD:token definition


SAP Error Message - Details

  • Message type: E = Error

  • Message class: RTCO_SOA_REUSE -

  • Message number: 021

  • Message text: &1 does not match XSD:token definition

  • 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 RTCO_SOA_REUSE021 - &1 does not match XSD:token definition ?

    The SAP error message RTCO_SOA_REUSE021 indicates that there is a mismatch between the data being processed and the expected format defined in the XML Schema Definition (XSD). Specifically, the error message states that a certain value does not conform to the expected token definition in the XSD.

    Cause:

    1. Data Format Issue: The value being sent in the XML does not match the expected format. For example, it might contain invalid characters, leading or trailing spaces, or it might be of an incorrect length.
    2. XSD Definition: The XSD defines a token type, which typically means that the value must not contain whitespace and must be a valid string. If the data includes spaces or is not formatted correctly, it will trigger this error.
    3. Incorrect Mapping: There may be an issue with how the data is being mapped from the source to the target, leading to invalid values being sent.

    Solution:

    1. Check the Data: Review the data being sent in the XML message. Ensure that it adheres to the expected format defined in the XSD. Look for:
      • Leading or trailing spaces
      • Invalid characters
      • Length constraints
    2. Validate Against XSD: Use an XML validation tool to check the XML against the XSD. This can help identify specific issues with the data structure.
    3. Adjust Mapping: If the data is being transformed or mapped from another source, ensure that the mapping logic correctly formats the data according to the XSD requirements.
    4. Update XSD if Necessary: If the XSD is outdated or incorrect, consider updating it to reflect the correct requirements for the data being processed.
    5. Debugging: If you have access to the logs or debugging tools, trace the data flow to identify where the invalid data is being introduced.

    Related Information:

    • XSD Token Definition: The token type in XSD is a string that does not contain leading or trailing whitespace and does not contain any line breaks. It is often used for identifiers or codes.
    • SAP SOA Middleware: If you are using SAP Process Integration (PI) or SAP Process Orchestration (PO), ensure that the mappings and transformations are correctly configured.
    • Documentation: Refer to SAP documentation for specific details on the error message and guidelines on how to handle XML and XSD issues.

    By following these steps, you should be able to identify and resolve the issue causing the RTCO_SOA_REUSE021 error.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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