on 02-04-2007 7:36 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.