Hi All,
I wanted to post FI document using BAPI_ACC_DOCUMENT_POST which contain tax item in structure BAPIACTX09 (accounttax). I had passed the exchange rate to the field EXCH_RATE. The document was posted successfully. However, the exchange rate in document header BUKRS-KURSF was not updated with the exchange rate passed in through the BAPI. Below are the values passed in to the BAPI.
DOCUMENTHEADER
USERNAME = sy-uname
HEADERTXT = 'testing exchange rate'
COMP_CODE = '1100'
DOC_DATE = '31.01.2015'
PSTNG_DATE = '31.01.2015'
DOC_TYPE = 'SR'
REF_DOC_NO = '1900000014'
ACCOUNTTAX
ITEMNO_ACC = '0000000001'
GL_ACCOUNT = '27450001'
TAX_CODE = 'TX'
ITEMNO_ACC = '0000000002'
GL_ACCOUNT = '47250001'
TAX_CODE = 'SR'
CURRENCYAMOUNT
ITEMNO_ACC = '0000000001'
CURR_TYPE = '00'
CURRENCY = 'USD'
AMT_DOCCUR = 10
EXCH_RATE = 3.0470
AMT_BASE = '1000
ITEMNO_ACC = '0000000002'
CURR_TYPE = '00'
CURRENCY = 'USD'
AMT_DOCCUR = -10
EXCH_RATE = 3.0470
AMT_BASE = '1000
Any tips on resolving this issue?
Thanks in advance.
Best regards,
Kah Ming