Do you have any question about this error?
Message type: E = Error
Message class: GL - FI-SL Rollup
Message number: 313
Message text: Assign ledger & to company code &
You want to post to the combination company code &V2& with ledger &V1&,
but the assignment is missing.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Create the company code -> ledger assignment in configuration.
Error message extract from SAP system. Copyright SAP SE.
GL313
- Assign ledger & to company code & ?The SAP error message GL313 "Assign ledger & to company code &" typically occurs when there is a configuration issue related to the assignment of a ledger to a company code in the SAP system. This error is often encountered during the posting of financial transactions or when trying to access certain financial reports.
Cause:
The error arises when:
- A ledger (such as a general ledger or a special ledger) has not been assigned to the specified company code in the system.
- The configuration settings for the company code and ledger are incomplete or incorrect.
- The ledger being used in the transaction is not activated for the company code.
Solution:
To resolve the GL313 error, follow these steps:
Check Ledger Assignment:
- Go to the SAP transaction code OB22 (or navigate through the menu: Financial Accounting > General Ledger > Master Data > G/L Accounts > Preparation > Assign Ledgers to Company Codes).
- Verify if the ledger in question is assigned to the relevant company code. If it is not, you will need to assign it.
Assign Ledger to Company Code:
- In the ledger assignment screen, you can add the necessary ledger to the company code.
- Ensure that the ledger is activated for the company code and that all required settings are correctly configured.
Check Configuration:
- Ensure that the company code is properly configured in the system.
- Check if the ledger is set up correctly in the system (e.g., check the settings in transaction code OB37 for ledgers).
Review Document Types:
- Ensure that the document types being used in the transactions are compatible with the ledger and company code settings.
Consult Documentation:
- If you are unsure about the configuration, refer to SAP documentation or consult with your SAP Basis or Finance team for assistance.
Related Information:
Transaction Codes:
SAP Notes:
User Roles:
By following these steps, you should be able to resolve the GL313 error and ensure that the ledger is correctly assigned to the company code in your SAP system.
Get instant SAP help. Start your 7-day free trial now.
GL312
No valid ledger from reset set & can be posted to
What causes this issue? You cannot post to any of the company codes or global companies for the reset set.System Response The system issues an error...
GL311
You cannot post to ledger &
What causes this issue? You cannot post to any of the company codes or global companies assigned to ledger &V1&.System Response The system i...
GL314
Assign ledger & to global company &
What causes this issue? You want to post to the combination global company &V2& with ledger &V1&, but the assignment is missing.Syste...
GL315
Error when deleting a record from table &
What causes this issue? You want to roll up a local ledger to a global ledger, but the system cannot find an assignment of company code &V1& ...
Click on this link to search all SAP messages.