cancel
Showing results for 
Search instead for 
Did you mean: 

RFC u0096 XI u0096 RFC

Former Member
0 Kudos

Hi

I like to setup a easy scenario synchronize to data sets in to different SAP systems.

As example I use the currency bapi. I like to update the currency list in system B when I changed something in system A.

But what is the common solution to make this scenario? I imported the RFC and I set up all the different elements. And the biggest question is how the RFC Adapters know that there was a change in the currency list and how I can trigger that the RFC in system A sends the data to system B.

I couldn’t find a clear overview how this should work? Any suggestions?

Regards

Werner Zecchino

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Werner,

From what i understand from your post, you wnat to synchronize between two diffenrent systems, when data in one of the systems is changed by a BAPI. Following is the design solution.

Design in System A

-


1. Create a simple work flow in System A whose triggering event is set to the bussiness object of the bapi. hence when the bapi is used to changed currency, the work flow is started.

2. Have a work flow task in the work flow, which calls a simple rfc say ZRFC_handleChanges which takes in the changes as parameters.

3. Create an empty rfc ZRFC_SendDataToXI which takes in changes as parameters

4.Create a registered program (Rfc2XmbService)TCP/IP conection(SM59) from system A to ur XI box.

5. In ZRF_handleChanges rfc call zrfc_senddatatoXI using destination(Rfc2XmbService) submit as background and if subrc = 0 commit.

6. so what we have achived so far is when ever one changes currency in system A using BAPI, the workflow is started, the first step being to call an RFC that pushes data to XI

Design in XI

-


1. Import ZRFC_SendDataToXI into XI

2. Import rfc from system B

3. create interface and message mapping between the above two interfaces

4. Create a communication channel to bussiness sytem A. RFC adaptor, type sender, look for registerd program , key in the registered program created in system A

So in a nutshell we have established a triggered in systemA to push data to Xi when data changes, and Xi inturn will push data to system B using the RFC in systemB.

The design i have put forward here is very generic and at a very high level. But it walks you through all the steps.

Hope its helpful .

Regards,

naveen