Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problems with BAPI_ACC_DOCUMENT_CHECK - System asking for currency conversions

Former Member
0 Likes
1,294

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.

7 REPLIES 7
Read only

former_member188827
Active Contributor
0 Likes
1,263

Are you populating internal table "currencyamount" ? Can you share which parameters you are passing?

Regards

Read only

0 Likes
1,263

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:

versionITEMNO_ACCCURRENCYCURRENCY_ISOAMT_DOCCURAMT_BASE
11EUREUR13147,213147,2
12EUREUR-11952-11952
13EUR00
14EUREUR-1195,2-1195,2
15EUREUR-3016-3016
16EUREUR3016

3016

Read only

0 Likes
1,263

Complete table is:

versionITEMNO_ACCCURR_TYPECURRENCYCURRENCY_ISOAMT_DOCCUREXCH_RATEEXCH_RATE_VAMT_BASEDISC_BASEDISC_AMTTAX_AMT
110EUREUR13147,20013147,2000
120EUREUR-1195200-11952000
130EUR0000000
140EUREUR-1195,200-1195,2000
150EUREUR-301600-3016000
160EUREUR3016003016000
Read only

0 Likes
1,263

Try giving '00' as currency type and see if it works.

Regards

Mehwish

Read only

0 Likes
1,263

Currency type is now set as 00, my excel changed the value when I exported it to copy here :S

Read only

Former Member
0 Likes
1,263

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

Read only

0 Likes
1,263

Hi steve, I am using EUR, wich I think is valid both for internal and external use.