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

Close

How To Fix TPM0021 - Securities acct &3 was also selected for CoCd &1, ID number &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: TPM0 - TR position management

  • Message number: 021

  • Message text: Securities acct &3 was also selected for CoCd &1, ID number &2

  • Show details Hide details
  • What causes this issue?

    For company code &V1&, ID number &V2&, securities account &V3& is in
    the same valuation group as securities accounts which have already been
    selected. As a result, securities account &V3& was also selected.

    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 TPM0021 - Securities acct &3 was also selected for CoCd &1, ID number &2 ?

    The SAP error message TPM0021 indicates that there is a conflict with the securities account configuration in the context of Treasury and Risk Management (TRM) within SAP. Specifically, it suggests that the securities account specified is already assigned to another company code (CoCd) or is being used in a way that is not allowed.

    Cause:

    The error message TPM0021 typically arises due to one of the following reasons:

    1. Duplicate Assignment: The securities account is assigned to multiple company codes, which is not permitted in the system.
    2. Incorrect Configuration: The securities account may not be properly configured for the specific company code or transaction type.
    3. Data Inconsistency: There may be inconsistencies in the master data or transaction data related to the securities account.

    Solution:

    To resolve the TPM0021 error, you can take the following steps:

    1. Check Account Assignment:

      • Go to the transaction code OB52 or OBY6 to check the assignment of the securities account to the company codes.
      • Ensure that the securities account is only assigned to the intended company code.
    2. Review Master Data:

      • Use transaction code FS00 to review the master data of the securities account. Ensure that the account is correctly set up for the relevant company code.
      • Check if the account type and other configurations are appropriate for the transactions you are trying to execute.
    3. Adjust Configuration:

      • If the securities account needs to be used for multiple company codes, consider creating separate accounts for each company code.
      • If necessary, consult with your SAP configuration team to adjust the settings in the Financial Accounting (FI) module.
    4. Check for Open Transactions:

      • Ensure that there are no open transactions or postings that might be causing the conflict. If there are, you may need to resolve or reverse them.
    5. Consult Documentation:

      • Refer to SAP documentation or help notes related to the TPM0021 error for additional insights and troubleshooting steps.
    6. Contact SAP Support:

      • If the issue persists after checking the above points, consider reaching out to SAP support for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as TPM1, TPM2, and TPM3 for managing treasury operations.
    • SAP Notes: Search for SAP Notes related to TPM0021 for any patches or updates that may address known issues.
    • User Roles: Ensure that you have the appropriate authorizations to view and modify the securities account settings.

    By following these steps, you should be able to identify and resolve the cause of the TPM0021 error in your SAP system.

    • 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'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