Skip to Content
avatar image
Former Member

One SapProxy for each RFC?

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 11, 2006 at 06:53 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 08, 2006 at 08:13 PM

    You should call more than one function using one sapproxy.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 08, 2006 at 09:09 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 09, 2006 at 03:01 AM

    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

    Add comment
    10|10000 characters needed characters exceeded