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

Close

How To Fix 0D339 - &1: &2: Operational company code per item must be the same


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 0D - FS-CD General Messages

  • Message number: 339

  • Message text: &1: &2: Operational company code per item must be the same

  • Show details Hide details
  • What causes this issue?

    In cross-company code posting, the <DS:DE.BUKRS>company codes</> must
    have the same responsible company code for each item.

    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?


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 0D339 - &1: &2: Operational company code per item must be the same ?

    The SAP error message 0D339 indicates that there is a mismatch in the operational company codes for items in a transaction. This typically occurs when you are trying to process a document (like a purchase order, invoice, or other financial documents) that contains multiple line items, and those line items are associated with different company codes.

    Cause:

    The error arises when:

    • You have multiple line items in a document, and each line item is assigned to a different company code.
    • The system requires that all line items in a single document must belong to the same operational company code.

    Solution:

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

    1. Check Line Items: Review the line items in the document to ensure that they all belong to the same company code. You can do this by:

      • Opening the document in the relevant transaction (e.g., ME21N for purchase orders, FB60 for invoices).
      • Checking the company code field for each line item.
    2. Adjust Company Codes: If you find that the line items are associated with different company codes, you will need to:

      • Either change the company code of the line items to match one another.
      • Or split the document into separate documents, each containing line items with the same company code.
    3. Consult Configuration: If you believe that the configuration should allow for multiple company codes, consult with your SAP configuration team to review the settings related to document processing and company code assignments.

    4. Test Changes: After making the necessary adjustments, try to save or process the document again to see if the error persists.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as ME21N (Create Purchase Order), ME22N (Change Purchase Order), FB60 (Enter Incoming Invoice), etc.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Documentation: Review SAP documentation or help files for more information on company code settings and document processing rules.

    If the issue continues after following these steps, it may be beneficial to consult with your SAP support team or a functional consultant who can provide more tailored assistance based on your specific SAP environment and configuration.

    • 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