cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST 0.01 balance error while EUR to USD conversion

manojmathi
Explorer
0 Kudos

Hi,

When I tried to post accounting document with Document currency as EUR and Local Currency as USD by passing the exchange rate in 'EXCH_RATE_V' field. The bapi returns the error as 'Balance in Local currency' currency type '10' and Balance '0.01'.

Can any one help me to solve this?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184158
Active Contributor
0 Kudos

Hallo Madhivannan Senathipathi,

I think if the amount less than 0, then you will get this error. So the amount should be great than 0.

I have seen this code and it returns error when amount less than 0.

* -------- issue appropriate warning messages
  IF amount_fc NE 0.
    WRITE amount_fc TO curr_amount CURRENCY bkpf-waers.
    CALL FUNCTION 'FIN_UI_DECO_CUSTOMIZED_MESSAGE'
      EXPORTING
        i_arbgb = 'FF'
        i_dtype = 'W'
        i_msgnr = '223'
        i_var01 = bkpf-waers
        i_var02 = curr_amount.

I recomand you to debug the result to get the details why you get this error.

Regards

Ebrahim