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

Exchange rate in BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
2,001

Is there any way to post document using BAPI_ACC_DOCUMENT_POST with exchange rate as /1.2

4 REPLIES 4
Read only

Former Member
0 Likes
1,355

You have the table "CURRENCYAMOUNT" which has the currency rate fields - EXCH_RATE and EXCH_RATE_V.

You may try to utilize these.

Read only

0 Likes
1,355

Yes, I have used it but we cannot pass /1.2. I want to post similar as FB01 where we have option to post with exchange rate /1.2..

Read only

0 Likes
1,355

This is external format, for the BAPI you need to pass internal format. You can convert between the two using the function modules for EXCRT conversion exit, see domain KURSF.

Thomas

Read only

0 Likes
1,355

Hi Thomas,

I tried the conversion routine to convert from external to internal and vice versa, but it is not able to convert '/' (slash). When we entered slash in the screen, the value captured is in negatinve ( eg screen entry /1,2 , value captured -1.2) and we cannot post with negative exchange rate. Slash is used for dividing exchange rate.