How To Fix FR312 - Company codes have not been created


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FR - Messages for FI Reporting

  • Message number: 312

  • Message text: Company codes have not been created

  • Show details Hide details
  • What causes this issue?

    You selected several company codes or a company code interval.
    However, these company codes are not yet created.
    At the same time, you did not enter anything for the parameter "charts
    of accounts not allocated", resulting in that only those charts of
    accounts which are allocated to at least one of the company codes you
    want, are selected.

    System Response

    Abnormal termination of processing.

    How to fix this error?

    Please check your entry. If necessary, first create the company codes
    you want and in each case allocate a chart of accounts to them.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FR312 - Company codes have not been created ?

    The SAP error message FR312 indicates that company codes have not been created in the system. This error typically arises when you attempt to perform a financial transaction or access financial reports without having defined the necessary company codes in the system.

    Cause:

    1. Missing Company Codes: The primary cause of this error is that the company codes required for the transaction or report have not been created in the SAP system.
    2. Incorrect Configuration: There may be a configuration issue where the company codes are not properly set up or activated.
    3. Authorization Issues: Sometimes, the user may not have the necessary authorizations to view or create company codes.

    Solution:

    To resolve the FR312 error, follow these steps:

    1. Create Company Codes:

      • Navigate to the SAP Easy Access screen.
      • Go to Transaction Code: OBY6 (or use the path: SPRO > Financial Accounting > General Settings > Define Company Code).
      • Create the necessary company codes by entering the required details such as company code, company name, address, and other relevant information.
      • Save your entries.
    2. Check Existing Company Codes:

      • Use transaction code OBY6 to check if the company codes you need already exist.
      • If they exist, ensure they are active and properly configured.
    3. Review Configuration:

      • Ensure that the company codes are linked to the appropriate controlling area and that all necessary settings (like fiscal year variant, currency, etc.) are correctly configured.
    4. Authorization Check:

      • Verify that your user profile has the necessary authorizations to create or access company codes. You may need to contact your SAP security administrator for assistance.
    5. Consult Documentation:

      • If you are unsure about the configuration or the required fields, refer to the SAP documentation or consult with your SAP functional consultant.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as OBY6 for company code creation and OBY1 for defining the company.
    • SAP Notes: Check SAP Notes for any specific patches or updates related to this error message.
    • User Roles: Ensure that users have the correct roles assigned to perform financial transactions.

    By following these steps, you should be able to resolve the FR312 error and proceed with your financial operations in SAP.

    • 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