cancel
Showing results for 
Search instead for 
Did you mean: 

Solution to Integration Scenario: RFC ->XI ->RFC

0 Kudos

Hi ,

Our company is implementing a PI project. The aim is to integrate a product into SAP via PI.

The product is written in C#, using a middle ware called 'ERPConnect' to call RFC from SAP system.

The requirement is that ALL integration processes should be triggered from C# via RFC calls. The integration is synchronous.

So, if there is no PI, the thing is very simple. it is like RFC calls between two SAP systems. Say, ECC_A calls RFC from ECC_B

Now, when the process goes via PI, how to design it?

I guess, the receiver RFC adapter would be pointing to ECC_B in above example.

My question is,

1. How to define the sender RFC adapter?

2. How to execute/test the scenario?

Thanks,

BR, Richard.

Accepted Solutions (0)

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Option1:

You can use WCF frame work in .net enviroment to send data to SAP PI as a SOAP call then receiver side you can use RFC adapter to connect ECC,SOAP and RFC both supports Syn communictaion.

Option2:

Expose Function module and C# side code as a web services and call using PI, in this case both sides you have to use SOAP.

Option3:

Existing process if both system supporting RFC calls then use RFC sender and receiver adapter .

Regards,

Raj

0 Kudos

HI Raja

Thanks a lot for your reply.

One more question regarding your option3,

Since at C# side I cannot create and maintain RFC destination, which means I cannot assign program ID ,etc required for Sender RFC adapter.

My thought is, create a RFC in the PI system, for each communication channel. use this RFC to call local the PI sender adapter.

In this case, can I use a same program ID for multiple sender Adapters? since I have around 10 RFCs in the target SAP system to be called.

BR, Richard.

Former Member
0 Kudos

I think that you cannot use the same program ID in different Sender Channel.

Program ID of the registered server program. The selected program ID must uniquely describe the RFC sender channel in the configured gateway (Application Server (Gateway) and Application Server Service (Gateway) parameters).

rajasekhar_reddy14
Active Contributor
0 Kudos

Richard,

your can explore your thought, i think it will work.

But i always perefer web service based communication to connect C# System.

Former Member
0 Kudos

We have the same issue I assume:

We want customer to connect using ERPCONNECT to our Sender RFC adapter. Is this possible and what settings do we need for program id, gateway name etc.

Thanks in advance,

Marco