How To Fix GZ807 - Classification key BG not defined for retained earnings


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GZ - Message class for FI-LC

  • Message number: 807

  • Message text: Classification key BG not defined for retained earnings

  • Show details Hide details
  • What causes this issue?

    The assignment classification key BG used in version &V1& for the
    <DS:GLOS.selected_item>selected item</> 'retained earnings' in the
    balance sheet is missing.

    System Response

    Program terminated

    How to fix this error?

    Define this classification key in the Implementation Guide in the
    chapter concerning selected items.

    <DS:TRAN.OC04>Proceed</>
    ENDIF

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message GZ807 - Classification key BG not defined for retained earnings ?

    The SAP error message GZ807 indicates that there is an issue with the classification key for retained earnings in the system. This error typically arises when the system is trying to process a transaction related to retained earnings, but it cannot find a defined classification key (BG) for that account.

    Cause:

    1. Missing Classification Key: The classification key for retained earnings (BG) has not been defined in the system.
    2. Configuration Issues: There may be a configuration issue in the financial accounting settings where the classification key is not properly set up.
    3. Incorrect Account Assignment: The account being used for retained earnings may not be correctly assigned or may not have the necessary classification key.

    Solution:

    To resolve the GZ807 error, you can follow these steps:

    1. Define the Classification Key:

      • Go to the SAP transaction code OBY6 (or navigate through the menu: Financial Accounting > General Ledger > Master Records > G/L Accounts > Prepare G/L Account Creation).
      • Check if the classification key for retained earnings (BG) is defined. If not, you will need to create it.
      • Ensure that the classification key is assigned to the appropriate G/L accounts.
    2. Check Configuration:

      • Use transaction code SPRO to access the SAP Reference IMG.
      • Navigate to Financial Accounting (New) > General Ledger Accounting (New) > Master Data > G/L Accounts > Preparation for G/L Account Creation.
      • Verify that the settings for retained earnings accounts are correctly configured.
    3. Review Account Assignment:

      • Check the account assignment for the retained earnings account in the chart of accounts.
      • Ensure that the account is correctly set up and that it has the necessary attributes, including the classification key.
    4. Consult Documentation:

      • Review SAP documentation or help files related to retained earnings and classification keys for additional guidance.
    5. Testing:

      • After making the necessary changes, perform a test transaction to ensure that the error no longer occurs.

    Related Information:

    • Transaction Codes: OBY6 (for defining classification keys), SPRO (for configuration settings).
    • SAP Notes: Check for any relevant SAP Notes that may provide additional insights or updates related to this error.
    • User Roles: Ensure that you have the necessary authorizations to make changes to the configuration and master data.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a functional consultant who specializes in financial accounting within 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