cancel
Showing results for 
Search instead for 
Did you mean: 

how to connect with r/3

Former Member
0 Kudos

HI all,

I am recently installed NWDS 7.1 ehp 1 version in my PC and also i have installed SAP management console server required for nwds 7.11.

Now i want to connect my nwds 7.1 ehp 1 to sap r/3 server to fetch the database records..

so What are the changes we have to make in the server.

Can anyone help me to solve this issue...

thanks,

viswa

Accepted Solutions (0)

Answers (4)

Answers (4)

anesh_kumar
Active Participant
0 Kudos

Hi

I have installed NWDS

i would like to connect to the r/3 system using JCO

basically i a creating a class which has got a method that calls the rfc funtion module

how to configure JCO so that i can use JCO api's in my class

could you please help me out

thanks

Former Member
0 Kudos

Hi,

We can connect to R/3 to create, retrieve, udpate & delete data from WebDynpro using Adaptive RFC model.

While creating the Adaptive RFC model we need to specify the model data & metadata JCO destinations.

SSO:

SSO is to access multiple applications with single login. You need to configure to access the applications running in different severs in the same portal.

JCO Destiations:

You need to configure these destinations to connect to SAP R/3 backend system from WebDynpro using Adaptive RFC model.

There are two types of JCO destinations:

1. Metadata destination:

This is to get the latest meta data of the backend RFC. This is not for sending/receiving the user speicific data. So here SSO is not required. You can use userid/password mapping logon sso method.

2. Modeldata destination: This is to get the process data (user specific) during the RFC execution from WebDynpro. So here you need to configure the SSO as it is user specific application data.

Go through the below document for step by step process with screen shots:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f...

Function module to get the message server host name and port in R/3.

SLDAG_GET_MESSAGE_SERVER_INFO

Regards,

Charan

Former Member
0 Kudos

solved

nikhil_bose
Active Contributor
0 Kudos

Hi viswa,

I think you need to have an SLD entry in JEE server. Go to http://<host>:<port>/sld

[Configure SLD to connect to ABAP System|http://help.sap.com/saphelp_nwce711/helpdata/en/48/b681d296655295e10000000a42189b/content.htm]

then you can continue with Srikanth's points

former_member187439
Active Participant
0 Kudos

You have to configure your SLD and create JCO connections.

Former Member
0 Kudos

Hi Kavitha,

Can you tell me how to do the jco connection for sld..

Here i am able to run sample appilcations using sap management console ..

But i am getting the problem while connecting with r/3..

can you tell me how to do this..

thanks,

viswa

Former Member
0 Kudos

Hi ,

To create JCO ,

In content adminstration->webdynpro> u will find create JCO destinations tab.

Here u have create JCO for Model data and Dictionary Data(Metadata).After creating JCOs u can test them there it self.

Go through the link,describes how to create JCO

http://help.sap.com/saphelp_nw04/helpdata/EN/3a/3b1b40fcdd8f5ce10000000a155106/content.htm

In webdynpro to connect to r/3 u have to create Model by giving these JCO destinations.

Refer the link,describes how to use bapi in webdynpro using Adaptive RFC model

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b...

Regards,

Sri

Edited by: Srikanth Thatipally on Jul 1, 2009 9:02 AM

former_member187439
Active Participant
0 Kudos

For communicating with R3 through RFC enabled function modules from your NWDS, you have to create a model (by giving your SAP R3 user id and password) import the RFC enabled function modules and then use them for development in NWDS.

What is your exact requirement?