Sub topic 12
Revaluing foreign currency balances at period end
This chapter assumes you know how a journal entry stores amounts in transaction currency and company code currency (see the Universal Journal and journal entry chapters). It also assumes you know how open items work. You should be able to read a short SQL query.
Why revaluation is needed
A company code keeps its books in one local currency, such as EUR. A vendor invoice in USD is converted to EUR at the rate on the posting date. If the invoice is still unpaid at period end, the USD amount has not changed. The rate has changed, so the EUR value of the liability no longer matches current rates.
Foreign currency valuation is the period-end step that restates these balances at the closing rate. The result is a gain or loss that appears in the financial statements for that period.
What gets valuated
The valuation run covers three kinds of balances:
- Open items on customer and vendor accounts in foreign currency, such as unpaid invoices.
- Open items on G/L accounts that are managed with open item management.
- G/L account balances in foreign currency, such as a USD bank account held by a EUR company code.
Items already cleared are not valuated. Their gain or loss was realized when they were cleared.
Realized and unrealized differences
| Aspect | Realized difference | Unrealized difference |
|---|---|---|
| When it arises | On payment and clearing | At period end, from the valuation run |
| Basis | Posting rate versus clearing rate | Posting rate versus closing rate |
| Posted by | Clearing posting, automatically | Valuation run |
| Reversed later | No | Yes, on the first day of the next period |
Worked example
A EUR company code books a vendor invoice of USD 10,000 at 0.92 EUR per USD. The liability is EUR 9,200.
- At period end the closing rate is 0.95. The liability should be EUR 9,500. The valuation run posts an unrealized loss of EUR 300 and raises the payables adjustment by the same amount.
- On the first day of the next period, the run's reversal posting undoes the EUR 300. The item is back at EUR 9,200 for further processing.
- The invoice is paid at 0.94. The payment is worth EUR 9,400, so clearing posts a realized loss of EUR 200 (9,400 minus 9,200).
The unrealized loss is a temporary estimate and is reversed. Only the EUR 200 realized loss stays in the books.
Configuration pieces
Valuation depends on a few settings. Know them, because most valuation problems are configuration problems.
- Valuation method. It defines how items are valuated, for example the lowest value principle or strict current-rate valuation. It also defines whether the run posts a reversal.
- Exchange rate type. It selects which rate to read from the exchange rate table, for example average (M), bank buying or bank selling rates. Rates are maintained per currency pair and valid-from date.
- Valuation area. It links a valuation method to an accounting principle, and through that to a ledger. This is how parallel ledgers can carry different valuations of the same item.
- Account determination. It defines the accounts for unrealized gain and loss, and the adjustment accounts on the balance sheet.
Running the valuation
In the Fiori launchpad, use the Foreign Currency Valuation app. The steps are:
- Enter the company code, valuation key date (normally the last day of the period), and valuation area.
- Run in test mode first. Review the proposed differences by account and currency.
- Run in update mode to post the valuation documents.
- Check that a reversal date in the next period was set on the postings.
Run it after all postings for the period are in, because later postings create new open items that the run has not seen. If you must post after the run, repeat it. A new run for the same key date replaces the earlier valuation instead of stacking on top of it.
Checking the result with line items
The Universal Journal stores each line in transaction currency (WSL, currency RWCUR) and in company code currency (HSL). Valuation postings change HSL but leave WSL at zero, because only the local value moves. You can use this to check a foreign currency account. Compare the transaction currency total with the local currency total, and derive the implied rate:
SELECT rwcur,
SUM( wsl ) AS balance_trans,
SUM( hsl ) AS balance_local
FROM acdoca
WHERE rldnr = '0L'
AND rbukrs = '1010'
AND gjahr = '2025'
AND poper <= '012'
AND racct = '0000113100'
GROUP BY rwcur
INTO TABLE @DATA(lt_fx_balance).
LOOP AT lt_fx_balance ASSIGNING FIELD-SYMBOL(<fx>).
IF <fx>-balance_trans <> 0.
DATA(lv_implied_rate) = <fx>-balance_local / <fx>-balance_trans.
cl_demo_output=>write( |{ <fx>-rwcur }: implied rate { lv_implied_rate DECIMALS = 5 }| ).
ENDIF.
ENDLOOP.
cl_demo_output=>display( ).The account number, company code, and year are sample values. After a correct valuation at key date, the implied rate on a bank account in USD should equal the closing rate. Before valuation, it is the weighted average of the posting rates. The reversal posting in the next period moves it back.
Note that the sums depend on the period filter. If you include the reversal period, the valuation and its reversal cancel.
Common errors
- Valuating without a reversal. The difference then stays in the books and a second run in the next period valuates on top of the old adjustment. Confirm the method sets reversal.
- Wrong key date. Using the run date instead of the last day of the period gives the wrong rate.
- Closed posting period. The reversal needs the next period to be open. If it is closed, the reversal fails.
- Treating the unrealized result as final. Reports compared across periods show the swing from valuation and reversal. That is expected.
- Ignoring ledgers. Valuation per accounting principle can produce different results in the leading and non-leading ledger. Compare each ledger to its own valuation area.
Exercise
A EUR company code holds a receivable of USD 20,000 posted at 0.90 EUR per USD. The closing rate is 0.93. The customer later pays at 0.91. Give the unrealized difference at period end, and the realized difference at clearing.
Show answer
The receivable is EUR 18,000 at posting. At period end it is worth EUR 18,600, so the valuation run posts an unrealized gain of EUR 600. It is reversed on day one of the next period. At payment the USD 20,000 is worth EUR 18,200, so the realized gain is EUR 200 (18,200 minus 18,000). Only the EUR 200 stays after the reversal.
Exercise
Why do valuation postings change HSL but not WSL on a foreign currency account?
Show answer
Valuation restates the local currency value of an unchanged transaction currency amount. The USD (or other foreign) amount has not changed, so WSL gets no new amount. Only the company code currency value HSL changes.