Skip to Content
Author's profile photo Riki Dey

Exchange Rate Sync using IDoc

In the source system: in my case it was ECC – D01 800

Tcode: BD64 – Distribution Model

Click on Edit, Select the node and click on Add BAPI

Add the Obj Name/Interface: ExchangeRate and Method: SaveReplica

Go to Environment -> Change Partner Profile

This takes us to tcode WE20 for partner profile maintenance

For partner type LS (Logical System), choose the destination system (D09CLNT100 in this case)

Add a new parameter in the Outbound Parameters section

Message Type: EXCHANGE_RATE; Basic Type: EXCHANGE_RATE01

Once saved, go back to the Distribution Model tcode BD64. Select the model view -> Edit -> Model View -> Distribute. Select the receiver of the model view from the list

Log is displayed

In the destination system (in my case it is RAR D09 100)

Go to tcode WE57 – Idoc assignment of FM to Log. Message and Idoc Type (Cross Client Settings). Create the following assignment:

Go to tcode BD51 – Characteristics of Inbound Functional Modules. Add entry for FM BAPI_EXCHANGERATE_SAVEREPLICA (Cross Client Settings)

Go to tcode WE20 to maintain partner profiles for Partner Type LS and Partner No. = <Source Partner System> (D01 800 in this case)

Add a new inbound parameter

New parameter details: Message Type – EXCHANGE_RATE; Process Code – BAPI

Once the Idoc is setup, in the source system make a change in the forex using tcode OB08

Current setup in destination system:

Run program RFALEX00 in the source system to transfer the changes through Idoc.

Log is displayed

In the target system check that the update has happened as expected

Idocs can be viewed in tcode BD87/WE02

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Jelena Perfiljeva
      Jelena Perfiljeva

      Could you possibly add some introduction? E.g. why is this needed, what's the business case / context, what exactly will these steps accomplish.

      When the readers see just a list of steps with the screenshots the question "why would I do this?" occurs naturally.

      Thank you.

       

      Author's profile photo Andy Setiawan
      Andy Setiawan

      Hi Thank you for your brief explanation on this blog.

      I am not configure WE57 and BD51. But my IDOC transferred and posted successfully on Target System. Is it necessary to configured these?