Do you have any question about this error?
Message type: E = Error
Message class: FG - Program Error Messages
Message number: 159
Message text: Only select company codes of one chart of accounts
You started a program run for archiving general and company
code-dependent G/L accounts. With this selection, no G/L accounts from
different charts of accounts can be processed.
Error message
Only select company codes of one chart of accounts and, if necessary,
start the archiving program several times for different charts of
accounts.
&NOTE&
This restriction is valid only during the simultaneous selection of
general and company code-dependent G/L account master data.
Error message extract from SAP system. Copyright SAP SE.
FG159
- Only select company codes of one chart of accounts ?The SAP error message FG159 ("Only select company codes of one chart of accounts") typically occurs when you are trying to perform an operation that involves multiple company codes that are assigned to different charts of accounts. This restriction is in place because certain financial operations and reporting require consistency in the chart of accounts being used.
Cause:
- Multiple Company Codes: You have selected multiple company codes that are associated with different charts of accounts.
- Inconsistent Configuration: The company codes may have been configured to use different charts of accounts in the system, leading to this error when trying to execute a transaction that requires a single chart of accounts.
Solution:
Check Company Code Configuration:
- Go to the transaction code
OBY6
(or navigate through the menu: SPRO > Financial Accounting > General Ledger > Master Data > G/L Accounts > Prepare for Migration > Define Chart of Accounts).- Verify the chart of accounts assigned to each company code you are working with.
Select Company Codes with the Same Chart of Accounts:
- When performing the operation, ensure that you only select company codes that share the same chart of accounts. This may involve filtering your selection or adjusting your criteria.
Adjust Company Code Settings:
- If necessary, you can change the chart of accounts for a company code, but this should be done with caution as it can have significant implications for financial reporting and data integrity.
Consult Documentation:
- Review SAP documentation or consult with your SAP administrator for specific guidelines on how to manage charts of accounts and company codes.
Related Information:
OBY6
, OBD2
, and OBD3
for managing company codes and charts of accounts.By following these steps, you should be able to resolve the FG159 error and proceed with your financial operations in SAP.
Get instant SAP help. Start your 7-day free trial now.
FG158
No chart of accounts in the specified set of values
What causes this issue? You started an archiving run for G/L accounts in which general and company code-dependent master data is to be archived. In t...
FG157
Select at least one segment
What causes this issue? You did not select any of the possible segments.System Response No processing - error messageHow to fix this error? Please ...
FG160
Archiving of sales/distribution master records not yet defined
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FG161
Archiving of purchasing master records not yet defined
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.