Skip to Content
author's profile photo Former Member
Former Member

How to use local currency in document header (PO, MIRO,...)?

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
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 15, 2010 at 06:52 AM

    ME_PROCESS_PO_CUST Badi can be used to process the Header data of the PO . The header data can be changed from this Badi.

    -Hari.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.