Exchange Rate Sync using IDoc

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,364
Tepki puanı
7
Puanları
6
In the source system: in my case it was ECC – D01 800

Tcode: BD64 – Distribution Model

1-31.png


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

2-13.png


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

3-10.png


4-6.png


Go to Environment -> Change Partner Profile

5-4.png


This takes us to tcode WE20 for partner profile maintenance

6-4.png


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

7-4.png


Add a new parameter in the Outbound Parameters section

8-4.png


Message Type: EXCHANGE_RATE; Basic Type: EXCHANGE_RATE01

9-4.png


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

10-5.png


Log is displayed

11-5.png


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:

12-3.png


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

13-3.png


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

14-2.png


Add a new inbound parameter

15-2.png


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

16-2.png


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

17-1.png


Current setup in destination system:

18-1.png


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

19-1.png


Log is displayed

20-1.png


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

21-2.png


Idocs can be viewed in tcode BD87/WE02

22-2.png


Okumaya devam et...
 
Üst