‎2007 Jan 12 4:09 AM
Dear all,
We use BAPI 'BAPI_ACC_DOCUMENT_POST' to post FI docuemts.
We hope input the document amount and local amount in different fields but it seems there are only document amount field.
How can I post the local amount with the BAPI?
We don't want to enter the exchange rate.
Another question is how can I get the posted document number ?
We can get the document no in version mySAP ERP 2004 but can not
get the number in mySAP ERP 2005.
Best Regards.
Lewis Hwang
‎2007 Jan 12 4:14 AM
Hi,
One way to do is, get the exchange rate, do the calculation using the document currency amount and populate the local currency amount field.
Note: Whenever you use BAPI, use BAPI_TRANSACTION_COMMIT to commit the changes.
Regards
Subramanian.