How To Fix CA_TTE641 - Compare key &1 to input document parameters


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CA_TTE - TTE Messages

  • Message number: 641

  • Message text: Compare key &1 to input document parameters

  • Show details Hide details
  • What causes this issue?

    The CRM 3.x tax event determination is being used in CRM 4.0 and
    consequently the TTE cannot derive the tax event from the key that is
    produced from the input document parameters. The tax event determines
    the tax calculation procedures. If the tax event cannot be derived from
    the input document, tax calculation is not possible.
    This is the key displayed in the short text.

    System Response

    The system produces this key string that is a concatenation of the
    parameters used to read the tax determination tables.
    The following section explains this string in detail and gives you
    information about any parameter(s) that are wrong or missing on the
    input document, or have not been correctly determined by the system:
    <ZH>Domestic or extra-community (non-EU) cases</>
    The end of a position is denoted by a colon <ZH>:</>
    Position in key,,Number of digits or characters,,Explanation
    1,,Up to 5 characters or blank,,Community of own Partner
    2,,2 characters or blank,,Country of own Partner
    3,,2 digits or blank,,Direction Indicator for the transaction
    4,,2 digits or blank,,Locational Relationship between recipient and ,,,,
    supplier, for example <ZK>Export Indicator</>
    5,,3 characters,,Business Process
    6,,3 digits or blank,,Product Taxability
    7,,3 digits or blank,,Recipient Taxability

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

    <ZH>Example</>
    :US:01:02:100:200:100
    <ZH>Interpretation</>
    Position,, Value,,Explanation
    1,,Blank,,No community
    2,,US,,Country of own partner
    3,,01,,Direction Indicator for transaction
    4,,02,,Locational Relationship between recipient and ,,,,supplier
    5,,100,,Business Process
    6,,200,,Product Taxability
    7,,100,,Recipient Taxability
    <ZH>EU intra-community cases</>
    The end of a position is denoted by a colon <ZH>:</>
    Position,,Number of characters or digits,,Explanation
    1,,2 characters or blank,,Country
    2,,2 digits or blank,,Direction Indicator for the transaction
    3,,3 digits or blank,,Supplier Taxability
    4,,3 digits or blank,,RecipientTaxability
    5,,3 digits or blank,,Product Taxability
    6,,3 characters,,Business Process
    7,,1 digit,,Indicator*, if supplier is registered in own country
    8,,1 digit,,Indicator*, if supplier is registered in recipient ,,,,
    country
    9,,1 digit,,Indicator*, if recipient is registered in supplier ,,,,
    country
    10,,1 digit,,Indicator*, if recipient is registered in own country
    11,,1 digit,,Flag**, if EU simplification rules for triangulation ,,,,
    apply
    * ( 1 = is registered, 2 = is not registered with EU VAT registration
    number)
    * * ( blank = no simplification rules apply, 'X' = simplification rules
    apply)
    <ZH>Example</>
    DE:01:100:200:100:100:1:2:2:1: :
    <ZH>Interpretation</>
    Position,,Value,,Explanation
    1,,DE,,Country
    2,,01,,Direction indicator for transaction
    3,,100,,Supplier taxability
    4,,200,,Recipient taxability
    5,,100,,Product taxability
    6,,100,,Business process
    7,,1,,Indicator if supplier is registered in own country
    8,,2,,Indicator if supplier is registered in recipient country
    9,,2,,Indicator if recipient is registered in supplier country
    10,,1,,Indicator if recipient is registered in own country
    11,,Blank,,No EU simplification rules apply

    How to fix this error?

    Check the parameters on the input document and compare them to this
    string.
    Check, for example, that <ZK>Partner</> and <ZK>Product Taxability</>,
    <ZK>Business Processes</> and so on that appear in the key string
    correspond to the input document entries.
    Check that the derived parameters such as <ZK>Direction Indicator</>,
    <ZK>Locational Relationship</> and the registration information
    indicators have the values that you would expect from the partner
    locations and partner tax numbers that you provided on the Input
    Document.
    If all the above seems consistent, contact your System Adminstrator.

    Procedure for System Administrators

    Check the Customizing Settings in:
    <DS:SIMG.SIMGTXDTETDEFAULT>Define Tax Event Determination</>
    <DS:SIMG.SIMGEUTXDETERM>Define Tax Determination EU</>

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CA_TTE641 - Compare key &1 to input document parameters ?

    The SAP error message CA_TTE641, which states "Compare key &1 to input document parameters," typically occurs in the context of the SAP Controlling (CO) module, particularly when dealing with cost allocations, internal orders, or similar transactions. This error indicates that there is a mismatch between the expected parameters for a document and the actual parameters provided in the input.

    Cause:

    1. Parameter Mismatch: The error usually arises when the system is trying to compare a key (like a cost center, internal order, or project) with the parameters provided in the input document, and they do not match.
    2. Missing or Incorrect Data: The input document may be missing required fields or may contain incorrect values that do not correspond to the expected keys in the system.
    3. Configuration Issues: There may be configuration settings in the controlling area or related modules that are not set up correctly, leading to discrepancies.
    4. Data Consistency Issues: There could be inconsistencies in the master data or transactional data that are causing the comparison to fail.

    Solution:

    1. Check Input Parameters: Review the input document parameters to ensure that all required fields are filled out correctly and that the values match the expected keys in the system.
    2. Verify Master Data: Ensure that the master data (like cost centers, internal orders, etc.) is correctly set up and that the keys being compared exist in the system.
    3. Review Configuration: Check the configuration settings in the controlling area and related modules to ensure they are set up correctly.
    4. Consult Documentation: Refer to SAP documentation or help resources for specific details on the parameters expected for the transaction you are trying to execute.
    5. Debugging: If you have access to debugging tools, you can trace the execution of the program to identify where the mismatch is occurring.
    6. Contact Support: If the issue persists, consider reaching out to SAP support or your internal SAP team for further assistance.

    Related Information:

    • Transaction Codes: The error may occur in various transaction codes related to cost accounting, such as KSB1 (Cost Centers: Actual Line Items), KO03 (Display Order), etc.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional troubleshooting steps.
    • User Forums: SAP Community and other user forums can be valuable resources for finding similar issues faced by other users and their solutions.

    By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker