This document is to introduce the logic to fill the field update currency (BSEG-PSWSL) in exchange rate difference line item during FI clearing.
When you clear one or several documents, exchange rate difference line items will be generated due to difference exchange rate.
System will fill the field BSEG-PSWSL and BSEG-PSWBT base on the SKB1-XSALH (Indicator: Only Manage Balances in Local Currency) of the exchange rate difference account:
- XSALH = 'X': PSWBT and PSWSL are updated with the amount in local currency and local currency.
- XSALH = space: PSWBT and PSWSL are related to the document currency of the ITEM TO BE CLEARED. Not the transaction currency of the clearing is crucial, but the currency of the open items.
SAPMF05A FORM KDFTAB_ABARBEITEN
IF SKB1-XSALH = SPACE.
BSEG-PSWSL = KDBTAB-WAERS.
BSEG-PSWSL = T001-WAERS.
IF skb1-xsalh = space.
bseg-pswbt = bseg-wrbtr.
bseg-pswbt = bseg-dmbtr.