Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

MIRO Exchange difference posting

Former Member
0 Kudos

Hi All,

I have a scenario here :

The purpose of the enhancement is to programmatically change the GL account for posting the exchange rate difference.

For all foreign currency purchases, The Goods Receipt(GR) is posted at the Z1 rate while invoices are posted at M rate . The resulting exchange rate differences should be posted to a new account for Trade transactions and GL account in field EKKN-SAKTO for non-trade transactions.

So, Can any one tell me the exact user exit of MIRO to code this logic mentioned above. Or a way to find out the user exit for the same. Also , if someone could explain the MIRO steps for this functionality It will help me debug the transaction to find out the user exit.

Thanks & Regards,

Mk.

1 REPLY 1

Former Member
0 Kudos

Hi,

I hope this BTE will usefull for exchange rate difference:

BusTrEvent SAPLFDCB OPEN_FI_PERFORM_00002051_E 00002051/P&S TAX: Translate Tax Base with Tax Exchange Rate

BAPI_EXCHRATE_GETCURRENTRATES Output Selected Exchange Rates and Factors from the SAP System

BAPI_EXCHANGERATE_GETDETAIL Exchange Rate Stored for Exch.Rate Type, Currency Pair, Value Date

BAPI_EXCHRATE_GETLISTRATETYPES List of Exchange Rate Types Used for Exchange Rates

I hope we can achive this by using multiple individual exits.

Here is the procedure to search exits:

Please search in the link for to find user exits & Badi's

Can please explain non-trade transactions?

Thank you,

Thanks,

AMS