The SAP folks working in SAP FI must be familiar with this concept. Just to give a brief introduction, Translation date is a date which is used to convert the foreign currency to local currency. Since the exchange rate is picked based on the translation date, it is a very critical date component. In standard SAP, translation date is automatically derived from posting date.

This document will walk you through the step by step procedure of deriving the translation date automatically from document date.

Before going any further, let us make a few terminologies clear:

BUDAT: Posting Date (date when document is posted)

BLDAT: Document Date/Invoice Date (date when document is entered/parked)

WWERT: Translation Date (date used to pick the exchange rates)

This change of date can be realized by implementation of a BADI FI_TRANS_DRIVE_WWERT. This BADI is called by function module FI_DERIVE_WWERT. Following is the step by step procedure for the same.

  1. Go to T-Code SE19, in the “create implementation” part and give the BADI’s name:-

Pic1.jpg

     2. Then, the following dialog box appears, enter the implementation name:-

/wp-content/uploads/2015/06/pic2_717258.jpg

     3. In the next screen, give the short description.

/wp-content/uploads/2015/06/pic3_717259.jpg

         4. Go to the interface tab and enter the name of the implementing class. (ZCL_IM_DERIVE_WWERT_BUDAT in this case). This will be a Z class that                will implement that interface IF_EX_FI_TRANS_DATE_DERIVE which has one method: DERIVE_WWERT.

/wp-content/uploads/2015/06/pic4_717266.jpg

Here, double click on the DERIVE_WWERT method and the following editor will open where you can write your piece of code.

/wp-content/uploads/2015/06/pic5_717267.jpg

As per this case, the code can be like the following:-

METHOD if_ex_fi_trans_date_derive~derive_wwert.
e_wwert
= i_bldat.
ENDMETHOD.

     5. Save the code and activate it. Save and activate the BADI implementation as well.

     6. Now is the time to test this. For this go to FV60/65 and enter an invoice. After enter the header details, go to the “Local Currency” tab and check the                  translation date. It should be same as the document date.

             /wp-content/uploads/2015/06/pic6_717268.jpg /wp-content/uploads/2015/06/pic7_717272.jpg

Hope it was useful. Please feel free to share your questions or comments if any.

Thanks,

Arashdeep

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply