Symptom
The error F5062 'Exchange rate diff.accts are not defined for account && currency &&' occurred when posting to G/L Account in app Reprocess Bank Statement Items
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open app 'Reprocess Bank Statement Item'
- Select the specific transaction and click '>'
- Go to 'Post to G/L Account' tab
- Enter the GL Account and the Debit/Credit Amount
- Click Post or Simulate
- Error F5062 occurs
Cause
Bank Statement can provide amount in local currency as well for posting to bank clearing account in a foreign currency (BSEG-HWMET = 'E' set in case of manual input).
If offsetting posting is a on account posting then actual rate is used to calculate Local Currency Amount. This is standard behavior.
Given the situation, the error F5062 will be triggered when large exchange rate difference exists.
Resolution
There are two solutions available. Select the solution that best meets requirements.
1. Adjust the Local Currency Amt for second line item mutually.
2. Flag 'FX Rate First Item' in APP 'Edit User-Specific Options for Journal Entries'. This triggers an update of the document header exchange rate, which is calculated from the first line item.
Keywords
F5062, Reprocess Bank Statement Item, Post to G/L Account, Bank Statement, local currency, foreign currency, Exchange rate difference, Exchange rate, 'Exchange rate diff.accts are not defined for account' , KBA , FI-GL-GL-A-2CL , Posting/Clearing (Public Cloud) , Problem
SAP Knowledge Base Article - Public