Hi all,
Old:
we want to create a flag in the tab "Customer data" in a purchase order (transaction ME21N).
If the flag has been set to X then update the exchange rate to a new value (tab "Delivery/Invoice") found in a table.
I try to find a user exit but I do not see one which update the header information of the PO. Only "Customer data" are updatable using user exit?
Edit:
I discover in customizing the possibility to have additional currency for a company code.
The company code which needs this modification has been declared with an Exchange Rate Type at M. Now for some documents (eg purchase order, MIRO,...) we need an Exchange Rate Type different from M.
How to set the differents headers using this new additional currency for this company code?
I took time to explore the MIRO program and I found something horrible... the function module which convert amount (CONVERT_AMOUNT_TO_CURRENCY) call an other function CONVERT_TO_LOCAL_CURRENCY with TYPE_OF_RATE set to M by default...
Is there a solution to use an other TYPE_OF_RATE for this transaction?
Thanks for your help,
David
Edited by: David31 on Oct 14, 2010 10:46 AM
Edited by: David31 on Oct 14, 2010 11:23 AM
Add a comment