Do you have any question about this error?
Message type: E = Error
Message class: GG - Messages for FI-SL customizing
Message number: 021
Message text: Ledger & does not exist, but the assignment to company code & does exist
The assignment of ledger &V1& to company code &V2& exists, but there
is no master data for ledger &V1&.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Incorrect data is defined in your system. Remove this incorrect data.
Error message extract from SAP system. Copyright SAP SE.
GG021
- Ledger & does not exist, but the assignment to company code & does exist ?The SAP error message GG021 indicates that the specified ledger does not exist, even though there is an assignment to the company code. This error typically arises in the context of Financial Accounting (FI) and Controlling (CO) modules when trying to post transactions or perform operations that require a specific ledger.
Cause of the Error:
- Ledger Configuration: The ledger you are trying to use may not be properly configured in the system. This could be due to it not being created or activated for the specific company code.
- Company Code Assignment: While the error message states that the assignment to the company code exists, it is possible that the ledger is not assigned correctly or is inactive.
- Missing Authorizations: The user may not have the necessary authorizations to access the specified ledger.
- Data Consistency Issues: There may be inconsistencies in the configuration or data that lead to the system not recognizing the ledger.
Solution:
Check Ledger Configuration:
- Go to the transaction code OB22 (or use the path: SPRO > Financial Accounting > General Ledger > Master Data > Define Ledgers).
- Verify that the ledger in question is defined and active for the relevant company code.
Verify Company Code Assignment:
- Ensure that the ledger is assigned to the company code correctly. You can check this in the same configuration area where you defined the ledger.
- Make sure that the ledger is not marked as inactive.
Check Authorizations:
- Ensure that the user has the necessary authorizations to access the ledger. This can be checked in the user roles and profiles assigned to the user.
Review Data Consistency:
- Run consistency checks or reports to identify any discrepancies in the configuration that might be causing the issue.
Consult SAP Notes:
- Check for any relevant SAP Notes that might address this specific error. Sometimes, there are known issues or patches that can resolve such errors.
Testing:
- After making any changes, perform a test transaction to see if the error persists.
Related Information:
By following these steps, you should be able to identify and resolve the cause of the GG021 error in SAP.
Get instant SAP help. Start your 7-day free trial now.
GG020
Ledger & already exists
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
GG019
Correct the entry for the activity
What causes this issue? You have tried to assign activity &V1& to ledger &V2&. You cannot perform this assignment. This could be du...
GG022
You cannot create global company &
What causes this issue? Names that begin with 'SAP' are reserved for SAP. You are not therefore allowed to create global companies that be...
GG023
The defined currencies cannot be used for table &
What causes this issue? You have assigned table &V1& to ledger &V2&. However, the currencies displayed on the screen cannot be used ...
Click on this link to search all SAP messages.