2014 Jun 13 9:34 AM
Hi experts,
I am using BAPI_ACC_DOCUMENT_CHECK to check before calling BAPI_ACC_DOCUMENT_POST.
My problem is that bapi return all the time gives me an error indicating i Have no conversion date. It should not ask me for that because all Amounts are informed in local currency (EUR).
If i put a date on WWERT on header or TRANS_DATE on position, it returns me an error telling that I should give another currency to converts, when in fact i want no conversion to another currency.
I tried it with my Fi Colleagues, we inserted exacly the same information through FB01 and successfully created the entrance on database.
I have seen several BAPI_ACC_DOCUMENT_CHECK post here but no one I've found solves my problem.
Any advice with this?
Thanks a lot!
Artur.
2014 Jun 13 10:08 AM
Are you populating internal table "currencyamount" ? Can you share which parameters you are passing?
Regards
2014 Jun 13 10:54 AM
Hi Mehwish,
I can give you an example from this table on a call that is failing, only attaching the fields I am filling, the othesr are initial. In Index 3 I have tried both putting EUR in currency column and not, and completely deleting CURRENCY_ISO column, but the result is the same:
| version | ITEMNO_ACC | CURRENCY | CURRENCY_ISO | AMT_DOCCUR | AMT_BASE |
| 1 | 1 | EUR | EUR | 13147,2 | 13147,2 |
| 1 | 2 | EUR | EUR | -11952 | -11952 |
| 1 | 3 | EUR | 0 | 0 | |
| 1 | 4 | EUR | EUR | -1195,2 | -1195,2 |
| 1 | 5 | EUR | EUR | -3016 | -3016 |
| 1 | 6 | EUR | EUR | 3016 | 3016 |
2014 Jun 13 10:55 AM
Complete table is:
| version | ITEMNO_ACC | CURR_TYPE | CURRENCY | CURRENCY_ISO | AMT_DOCCUR | EXCH_RATE | EXCH_RATE_V | AMT_BASE | DISC_BASE | DISC_AMT | TAX_AMT |
| 1 | 1 | 0 | EUR | EUR | 13147,2 | 0 | 0 | 13147,2 | 0 | 0 | 0 |
| 1 | 2 | 0 | EUR | EUR | -11952 | 0 | 0 | -11952 | 0 | 0 | 0 |
| 1 | 3 | 0 | EUR | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 1 | 4 | 0 | EUR | EUR | -1195,2 | 0 | 0 | -1195,2 | 0 | 0 | 0 |
| 1 | 5 | 0 | EUR | EUR | -3016 | 0 | 0 | -3016 | 0 | 0 | 0 |
| 1 | 6 | 0 | EUR | EUR | 3016 | 0 | 0 | 3016 | 0 | 0 | 0 |
2014 Jun 13 11:18 AM
Try giving '00' as currency type and see if it works.
Regards
Mehwish
2014 Jun 13 12:20 PM
Currency type is now set as 00, my excel changed the value when I exported it to copy here :S
2014 Jun 13 10:17 AM
Hi,
Whether you can check the value of currency maintained in your FM parameter? like the internal value or outside value...... you can try check for that.
Thanks & Regards,
Steven_Gu
2014 Jun 13 11:11 AM
Hi steve, I am using EUR, wich I think is valid both for internal and external use.