How To Fix /ACCGO/CMN_VF027 - Define company code


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /ACCGO/CMN_VF -

  • Message number: 027

  • Message text: Define company code

  • 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 /ACCGO/CMN_VF027 - Define company code ?

    The SAP error message /ACCGO/CMN_VF027 Define company code typically indicates that a company code has not been defined in the system for the context in which you are trying to perform an operation. This error is often encountered in the context of financial transactions, document postings, or when working with certain modules that require a company code to be specified.

    Cause:

    1. Missing Company Code: The most common cause is that the company code has not been created or defined in the system.
    2. Incorrect Configuration: The company code may not be properly configured in the relevant modules (e.g., Financial Accounting, Controlling).
    3. User Authorization: The user may not have the necessary authorizations to access or define the company code.
    4. Transaction Context: The transaction you are trying to execute may require a specific company code that is not available in the current context.

    Solution:

    1. Define Company Code:

      • Go to the SAP Easy Access screen.
      • Navigate to SPRO (Customizing) ? Enterprise Structure ? Definition ? Financial Accounting ? Define Company Code.
      • Create a new company code if it does not exist, or ensure that the existing company code is correctly configured.
    2. Check Configuration:

      • Ensure that the company code is assigned to the relevant controlling area, and that all necessary settings (like currency, fiscal year variant, etc.) are correctly defined.
    3. User Authorization:

      • Verify that the user has the necessary authorizations to access the company code. This can be checked in the user roles and profiles.
    4. Transaction Context:

      • Ensure that you are using the correct transaction code and that the company code is specified in the transaction. If you are using a report or a program, check if there are selection parameters for the company code.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like OBY6 (for defining company codes) or OBD2 (for assigning company codes to controlling areas).
    • Documentation: Refer to SAP Help documentation for detailed steps on defining and configuring company codes.
    • Support: If the issue persists, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    By following these steps, you should be able to resolve the error message and ensure that the company code is properly defined and configured in your SAP system.

    • 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