cancel
Showing results for 
Search instead for 
Did you mean: 

Code for using connector framework to R/3 system

Former Member
0 Kudos

Hi all,

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

Any related docs,links

please mail me saxenaharsh@yahoo.com.sg

I need the steps to connect to backend R/3

thanks in advance

Harsh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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 =""con.sap.portal.ivs.connectorservice:/>

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 <a href="https://media.sdn.sap.com/javadocs/NW04/SPS15/ep/index.html">API</a> for inserting map record ,getting output record etc.

Hope this helped .

I have pdf i shall mail u.

Thanks

Swathi

ps.Points are welcome

Former Member
0 Kudos

Thanks swathi for ur quick and useful reply.

I defenitly like to get those pdfs..

can u please give me some link or weblog related to this

If any sample excersise would be great help

Thanks again,

HARSH

Former Member
0 Kudos

Harsh ,,

All consolidated very useful links under one roof can be found in this weblog ..

<a href="/people/oliver.stiefbold/blog/2003/11/15/olivers-favorite-sdn-link-collection

Thanks

Swathi

Answers (0)