Skip to Content
author's profile photo Former Member
Former Member

Code for using connector framework to R/3 system

Hi all,

Can any one give some code samples to connect to backend R/3 systems.

Any related docs,links

please mail me

I need the steps to connect to backend R/3

thanks in advance


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 04, 2007 at 07:48 AM

    Hi Harsh

    The steps for cennector framework implementation are,

    1.Use connector gateway service for backend connection

    2.connection propertties to facilitate SSO.

    3.Create Executable Interaction Interface.

    4.Create Interaction Spec to specify function module.

    5.Create an input mapped record.

    6.obtain the output

    7.Close the connection.

    Code is:

    Include <property name= "ServicesRefernce"

    value ="">

    Include the connector.jar in build path

    IConnectorGatewayService cgSer = (IConnectorGatewayService )PortalRuntime.getRuntimeResources().getService(IConnectorGatewayService .KEY);

    IConnection con= cgSer.getConnection("sapSystem",request);

    ConnectionProperties cp= new ConnectionProperties(request.getLocale(),request.getUser()); // SSO

    IInteraction ix=connection.createInteractionEx(); // interaction

    IInteractionSpec ixspec = ix.getInteractionSpec(); //InteractionSpec

    Refer to this API">API> for inserting map record ,getting output record etc.

    Hope this helped .

    I have pdf i shall mail u.



    ps.Points are welcome

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.