Skip to Content
avatar image
Former Member

Reg:Connecting different R/3 in a WD Appln

Hi,

I am developing a application TO CONNECTI R/3 Bapi through RFC.

In my appln i will have several option box for different r/3 systems.Depends on wat am selected it should connect with the R/3.

Hw to do it ?

Regards,

Ramganesh.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 24, 2006 at 03:20 PM

    Ramganesan

    I highly recommend you to take a look at thread where similar problem discussed.

    See replies by Bertram Ganz and me there:

    jco-connection-to-multiple-r3-back-end-system

    Valery Silaev

    SaM Solutions

    http://www.sam-solutions.net

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 22, 2006 at 05:51 AM

    Hi Ram,

    I believe it is possible. You can create different models at designtime to different systems. Then, based on the selected system, execute the corresponding RFC.

    You can also create different RFCs dynamically at runtime.

    regards

    Shyam.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      The different models created should be using different JCo connections.

      These Jco connections should be pointing to multiple R/3 systems as per the requirement.

      Regards,

      Nagaraju Donikena.

  • avatar image
    Former Member
    Dec 22, 2006 at 12:14 PM

    Hi Ramganesh,

    another (dynamic) way to do this is by using the JCA (Java Connector Architecture) APIs. The system alias (alias configured to connect to the backend SAP system) can be passed to the IConnectorGatewayService 's getConnection() method and a connection could be created at runtime.

    Using this connection object you can call any SAP BAPI/FM.

    Using the MappedRecord, you can then easily get hold of the data returned by the BAPI/FM.

    The disadvantage of the other suggested approach (multiple models) is that you would have to create as many number of model objects as the number of backend systems.

    Hope this helps,

    Satyaki.

    Add comment
    10|10000 characters needed characters exceeded