cancel
Showing results for 
Search instead for 
Did you mean: 

One SapProxy for each RFC?

Former Member
0 Kudos

It looks to me that I can not have more than 1 RFC in a SapProxy, is it true that I have to create new SapProxy for each RFC?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sunny,

The paragraph below is the taken from the .net connector help that comes when you install .net connector in you machine. Through Visual Studio you can easily get...

<i>When you drag the functions you wish to use to the designer, NCo will query the SAP system to get the meta-data needed to execute these functions – tables, structures etc’ – and will generate the needed objects as SAP Data types. You can drag as many functions as you want to a single proxy, but it makes good practice to use one proxy for one business logic (you can have as many proxies in your project as want). For example, you can create a proxy called "Cost Center" and drag to it the all the cost-center related functions you need. Alternatively, you can just drag the CostCenter business object itself from the BOR hierarchy tree. This will add to the proxy all functions, meta-data and Proxy Fields of the CostCenter business object.

</i>

Hope it helps.

Regards,

Maheswaran.B

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank so much!

My apologize for not being specific. I am using connector 2.0 and only one application server. Now I realized that I just missed one step: to replace the existing instance with a new one after I made change to the porxy (adding additional RFM's).

Thanks again!

Sunny Lau

Former Member
0 Kudos

Now, in Connector 1.0 one sapproxy is used for only one application server. But although one proxy is used for one application server, you should also attach several functions to one sapproxy.

But, in connector 2.0 you can attach several application servers' functions to one sapproxy using drag and drop. If you use this, you should be aware in relating true destination configuration. I mean that, if you have A function in application server X and have B function in application server Y and if you want to call A function you have to supply X application server's destination configuration to sapproxy. Otherwise you will face with problems.

In your question the meaning of '1 RFC' is one application server, you should use Connector 2.0 to attach several 'RFCs' to one sapproxy. But if '1 RFC' meaning is 1 function, Connector 1.0 is enough.

Note: Please don't forget to give point if helpful.

Former Member
0 Kudos

You should call more than one function using one sapproxy.