How To Fix 6D013 - CoCd entered & is different from CoCd & of the previous posting line


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 6D - Real Estate Messages

  • Message number: 013

  • Message text: CoCd entered & is different from CoCd & of the previous posting line

  • Show details Hide details
  • What causes this issue?

    You are posting a cross-company-code transaction.

    System Response

    Please note that only tax accounts of the company code &V2& in the
    first G/L account line are addressed. This tax company code can no
    longer be changed.

    How to fix this error?

    You can check the addressed accounts of the respective company codes in
    each line of the document by clicking the 'Simulate' function key.

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 6D013 - CoCd entered & is different from CoCd & of the previous posting line ?

    The SAP error message 6D013 indicates that there is a discrepancy between the company code (CoCd) entered in the current line of a transaction and the company code of the previous posting line. This error typically occurs in financial transactions where multiple line items are involved, such as in journal entries or invoice postings.

    Cause:

    1. Different Company Codes: The most common cause is that the user is trying to post multiple line items that belong to different company codes in a single transaction. SAP requires that all line items in a single posting must belong to the same company code.
    2. Incorrect Data Entry: The user may have mistakenly entered the wrong company code for one of the line items.
    3. Configuration Issues: There may be issues with the configuration of the company codes in the system, leading to inconsistencies.

    Solution:

    1. Check Company Codes: Review the line items in the transaction and ensure that all line items are associated with the same company code. If they are not, you will need to separate the transactions into different postings for each company code.
    2. Correct Data Entry: If a line item has been entered with the wrong company code, correct it to match the company code of the previous line item.
    3. Review Posting Logic: If you are using a custom program or a batch input session, ensure that the logic for determining the company code is correct and consistent across all line items.
    4. Consult Documentation: If you are unsure about the company codes or the posting rules, consult your organization's documentation or reach out to your SAP support team for clarification.

    Related Information:

    • Transaction Codes: This error can occur in various transaction codes, such as FB50 (G/L Account Document Entry), FB60 (Vendor Invoice), or FB70 (Customer Invoice).
    • SAP Notes: Check for any relevant SAP Notes that may address this error or provide additional guidance.
    • User Training: Ensure that users are trained on the importance of maintaining consistency in company codes when entering financial transactions.

    By following these steps, you should be able to resolve the error and successfully complete your transaction.

    • 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