2007 Jul 16 6:54 PM
Hi guys,
we are using BAPI_ACC_DOCUMENT_CHECK / POST to create postings in FI and it works.
The only problem we have is concerning documents with 0 in Local Currency (as if posted with FBB1. Below there is an example of the internal table CURRENCYAMOUNT of the document we are trying to post.
ITEMNO_ACC |CURR_TYPE |CURRENCY|CURRENCY_ISO|AMT_DOCCUR
000000001 |00 |USD | | 100
000000001 |10 |EUR | | 0
000000002 |00 |USD | | -100
000000002 |10 |EUR | | 0
We receive the error message F5 800 "Inconsistent currency information"
Did anyboby of you experienced such a problem?
Many thanks in advance
GFV
Hi guys,
we are using BAPI_ACC_DOCUMENT_CHECK / POST to create postings in FI and it works.
The only problem we have is concerning documents with 0 in Local Currency (as if posted with FBB1. Below there is an example of the internal table CURRENCYAMOUNT of the document we are trying to post.
ITEMNO_ACC |CURR_TYPE |CURRENCY|CURRENCY_ISO|AMT_DOCCUR
000000001 |00 |USD | | 100
000000001 |10 |EUR | | 0
000000002 |00 |USD | | -100
000000002 |10 |EUR | | 0
We receive the error message F5 800 "Inconsistent currency information"
Did anyboby of you experienced such a problem?
Many thanks in advance
GFV
2007 Jul 16 11:34 PM
Hi
This is not the BAPI error per se. It is an error from Function Module CONVERT_TO_LOCAL_CURRENCY (called in the BAPI). Make sure that your settings are correct in your configuration Transaction OB08
2007 Jul 17 7:47 AM
Hi Vyerah,
I see that the FM CONVERT_TO_LOCAL_CURRENCY is called in the FORM FI_DOCUMENT_COLLECT, with the following parameters
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
LOCAL_CURRENCY = 'EUR'
FOREIGN_CURRENCY = 'USD'
FOREIGN_AMOUNT = '100'
DATE = SY-DATUM
RATE = '0.8...'
* TYPE_OF_RATE = P_ACC-KURST
IMPORTING
LOCAL_AMOUNT = H_DMBTR.
Then, since the fact that H_DMBTR isn't space this FORM raises MESSAGE E800. I guess that's because the Local Currency "calculated" isn't zero, as the value I pass in the internal table.
Which settings should I make in OB08?
Many thatnks in advance.
GFV
2007 Jul 17 8:03 AM
Hi All,
the problem gets solved with OSS Note 1040798 - BAPI_ACC_DOCUMENT_POST: Error message F5 800. It adds an additional check :
IF ...
AND P_ACC-AWTYP NE 'BKPFF' "note 1040798
...
that prevents the FM CONVERT_TO_LOCAL_CURRENCY execution.
Best regards
GFV
2007 Jul 26 3:26 PM
2019 Oct 24 12:00 PM
i got the same issue for the Fourth currency.
issue:
While posting JE invoice getting an error in BAPI_ACC_DOCUMENT_CHECK in s/4 Hana.
There only a problem with Functional/Fourth Currency. Below there is an example of the internal table CURRENCYAMOUNT of the document we are trying to post.

we receive the error F5 800 "Inconsistent currency information".
While search SCN found a similar question discussion but not related to Fourth Currency.
While testing some other Functional currency type we are not getting an error. test cases below example.
sucess:

| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |