Programme SAP RTXXBWRL - Reverse TCURR, TCURF Entries with BWAER Links for Exchange Rate Types

Title
Convert TCURR for indirect quoted exchange rates

Features

Selection
All the exchange rate types are selected that have an 'X' in eitherTCURV-XEURO or TCURV-XBWRL. These are all exchange rate types that havea base currency and for which the base currency is the "from" currency(left).
For these exchange rate types all the exchange rates from table TCURRare selected, for which one of the particpating currencies (from, to)is the base currency.

Output
In the TCURR entries the from and to currencies are reversed and theexchange rate is written back as an indirect exchange rate with areverse sign. As the key fields have been reversed the entries arefirst deleted, then changed round and then reinserted in the TCURR. Toavoid entries being swapped twice when restarting the XPRAs a 'Y' iswritten in the TCURV-XBWRL so that the exchange rate type is marked asconverted and is not processed again.
Exchange rate types with a base currency from the left-hand side willnot be supported in future. A base currency will always be handled as a"to" currency.

Old status:
TCURV-KTYP = 'EURO', TCURV-BWAER = 'EUR', TCURV-XBWRL = 'X',
TCURV-XEURO = 'X'.
TCURR-KURST = 'EURO', TCURR-FCURR = 'EUR', TCURR-TCURR = 'DEM',
TCURR-UKURS = 1.95583

Status after conversion:
TCURV-KTYP = 'EURO', TCURV-BWAER = 'EUR', TCURV-XBWRL = 'Y',
TCURV-XEURO = 'X'.
TCURR-KURST = 'EURO', TCURR-FCURR = 'DEM', TCURR-TCURR = 'EUR',
TCURR-UKURS = -1.95583

538416TCURR: Rates with reference currency as "To" currency
178128TCURV-XBWRL field as of Release 4.5B