Currency Swap Posting: Loan Position 
Prerequisite
For currency swap postings (for loan positions, open items and discounts/premiums) you must be able to make postings to the clearing account for the currency swap (and other relevant accounts, such as the balance sheet account) in both euros and the original currency.
Procedure
Example of a currency swap posting for a loan position
Remaining capital:

Posting records in FI in transaction currency:
Outflow:
Debit currency swap clearing account50,000 DEM
Credit balance sheet account
50,000 DEM
Inflow:
Debit balance sheet account25,564.60 EUR
Credit currency swap clearing account
25,564.60 EUR
The local currency amount is identical for both postings.
Post adjustment flow for remaining capital
Posting record:
Debit clearing account for capital amounts0.01 EUR
Credit balance sheet account
0.01 EUR
Note:
Since you cannot post a local currency amount of zero in FI, the adjustment comprises two postings for technical reasons. In the first posting, the balance sheet position is posted to a clearing account. In the second posting, the local currency amount is taken off the clearing account, since only the contract currency is to be adjusted.
Example:
Aim: Post 0.01 EUR = 0.00 DEM (LC)
Postings:
T-account example:

Basis: Position in DEM
Currency swap outflow
Currency swap inflow (balance on local currency side after posting = 0)
Adjustment posting for remaining capital
Position in EUR after the contract currency changeover