How To Fix MDG_GW_FIORI002 - Company code does not exist or controlling area value is invalid


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MDG_GW_FIORI - MDG:Message class for fiori

  • Message number: 002

  • Message text: Company code does not exist or controlling area value is invalid

  • Show details Hide details
  • What causes this issue?

    The company code is dependent on the controlling area. Either the
    company code does not exist in this controlling area or you entered an
    invalid value for the controlling area.

    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?

    Check that the company code you entered exists in this controlling area.
    Select a valid controlling area from the dropdown list.

    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 MDG_GW_FIORI002 - Company code does not exist or controlling area value is invalid ?

    The SAP error message MDG_GW_FIORI002 typically indicates that there is an issue with the company code or controlling area in the context of Master Data Governance (MDG) and Fiori applications. This error can occur when trying to create or modify master data, such as business partners or financial data, and it suggests that the system cannot find a valid company code or that the controlling area is not correctly configured.

    Causes:

    1. Non-Existent Company Code: The company code you are trying to use does not exist in the system.
    2. Invalid Controlling Area: The controlling area associated with the company code is either not defined or does not match the company code.
    3. Data Inconsistency: There may be inconsistencies in the master data or configuration settings that lead to this error.
    4. Authorization Issues: The user may not have the necessary authorizations to access the company code or controlling area.
    5. Configuration Issues: The company code or controlling area may not be properly configured in the system.

    Solutions:

    1. Verify Company Code:

      • Check if the company code exists in the system. You can do this by navigating to the relevant transaction (e.g., OX02) to view company codes.
      • Ensure that the company code is active and properly configured.
    2. Check Controlling Area:

      • Verify that the controlling area is correctly assigned to the company code. You can check this in the configuration settings (transaction OKKP).
      • Ensure that the controlling area is active and valid.
    3. Data Consistency Check:

      • Review the master data entries to ensure that there are no inconsistencies or missing information related to the company code and controlling area.
    4. User Authorizations:

      • Ensure that the user has the necessary authorizations to access the company code and controlling area. This can be checked in the user roles and profiles.
    5. Configuration Review:

      • If you have access to the configuration settings, review the settings for both the company code and controlling area to ensure they are correctly set up.
    6. Consult Documentation:

      • Refer to SAP documentation or help resources for additional guidance on the specific error message and related configuration settings.

    Related Information:

    • Transaction Codes:
      • OX02: Maintain Company Codes
      • OKKP: Maintain Controlling Area
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional troubleshooting steps.
    • Fiori Apps: If you are using Fiori apps, ensure that the backend services are correctly configured and that the necessary OData services are active.

    If the issue persists after checking the above points, it may be beneficial to consult with your SAP Basis or functional team for further investigation and resolution.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author