‎2008 Jun 18 1:12 PM
I am able to post FI document with multiple exchange rates for the same currency using FB01. But, when I try to post the same document details using BAPI_ACC_DOCUMENT_POST , it throws an error F5 701 - Inconsistent Rate for Currency XXX .
How can we avoid this error while posting through BAPI ?
Thanks & Regards,
Nidhi
‎2008 Jun 18 1:22 PM
Hi Nidhi,
Value range
The field CURR_TYPE (currency type) describes the role played by a
currency in the SAP System.
The currency type can take on the following values, for example:
o 00 Transaction currency
o 10 Company code currency
o 20 Controlling area currency
o 30 Group currency
o 40 Hard currency
o 50 Index-based currency
o 60 Global company currency
If an entry is not made in the field CURR_TYPE, the default value "00"
is retained.
If only one data record is transferred in transaction currency for each
line item, the field CURR_TYPE does not need to be filled out. If
several data records are transferred for each line item, the currency
type must be entered for each record.
If the parameter CurrencyAmount is filled with the currency fields,
a complete document check including characteristics and value
components of profitability analysis (CO-PA). Otherwise, the account
assignment objects are checked.
Check the BAPI documentation SE37.
Regards,
Boobalan Suburaj
‎2008 Jun 19 5:58 AM
Hi Boobalan,
Thanks for your reply.
I tried using different currency types through BAPI, but it gives another error regarding Inconsistent Currrency Information.
How is the Currency Type related to the F5 701 Multiple exchange Rate error ?? This is not clear to me...
Scenario in Detail -
While posting FI document , Header Currency - EUR (say) , Company Code - ABC (say).
Now at item level , I specify amounts both in Header Currency i.e. EUR and Local Currency - USD ( say) i.e
Debit Entry : 100 EUR --- 50 USD (say) -> Exchange Rate Deviation 68% say
Credit Entry: 100 EUR --- 130 USD (say) --> Exchange Rate Deviation 17% say
I think, Since there are two exchange rates involved in above transaction for the same currency EUR , I am getting this error.
Even if i specify curr type , how is it going to take care of these multiple exchange rates ??
Regards,
Nidhi
‎2013 Oct 09 4:16 PM
Hello Nidhi,
Before calling BAPI, you should call FM SET_FACI_GM_FLAGS and passa value to parameter MULTI_EXG_RATE in order to allow multiple exchange rates in the document.
Hope it helps.
BRs,
RDM
‎2013 Oct 10 4:56 AM
Hi Nidhi,
For this purpose I used the IDoc Acc_document03. And there what I used to do is,
For first line item I will give
1 00 USD 1000
2 10 EUR 740
Again for second line item
1 00 USD -1000
2 10 EUR -740
If you specify the amonu and currency like this the issue of exchange rate will not come.