Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
deyriki
Explorer
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

2 Comments