Message type: E = Error
Message class:  FR - Messages for FI Reporting 
Message number: 597
Message text: Combination of CoCode and ledger/ledger grp is not possible; select again
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message FR597 indicates that there is an issue with the combination of the company code (CoCode) and the ledger or ledger group you are trying to use in a financial transaction. This error typically arises in the context of financial reporting or when trying to post transactions in the General Ledger (G/L).
Cause: Incorrect Configuration: The company code may not be properly configured to use the specified ledger or ledger group. This can happen if the ledger is not assigned to the company code in the system settings. Missing Ledger Assignment: The ledger you are trying to use may not be assigned to the company code in the configuration settings of the Financial Accounting (FI) module. Incompatible Ledger Types: The ledger type (e.g., leading ledger vs. non-leading ledger) may not be compatible with the company code. Data Entry Error: There may be a simple data entry error where the wrong company code
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FR596 Error occurred; file creation and table update terminated
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FR595 Company codes selected use different currency keys
What causes this issue?  The company codes that you have specified use different currency keys regarding the selected currency type <ZH>&V1&...
FR598 Selection not possible with blank ledger
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FR599 Specify exactly one ledger
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.