cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to Import RFC Model in a Webdynpro

Former Member
0 Kudos

Hi,

I am trying to import an RFC Model in a Webdynpro to use a BAPI. But when i try to connect to the R/3 in the SAP Logon information i can't enter the SAP Router string parameter, and without this parameter i can't connect with the R/3.

How can i setup this connection with SAP Router String parameter?

thanks a lot

Pablo Coluccio

Accepted Solutions (0)

Answers (1)

Answers (1)

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Did you go through the Flight example delivered with sneak preview II?

Regards,

Benny

Former Member
0 Kudos

Benny Thanks for your time, i check this example but in the JCO conection i have only the following parameters to setup the connection with the R/3:

client = JCO.createClient("CLIENT", //SAP logon client

"USER", //SAP logon user

"PASSWORD", //SAP logon password

"LANGUAGE", //SAP logon lang

"SERVER", //Host name

"SYSTEM"); //SAP system number

But i don't saw the SAP Router String parameter, and i need it to connect to R/3. Do you know if this parameter exist in the JCO?

Regards,

Pablo Coluccio

gregorw
Active Contributor
0 Kudos

Hello Pablo,

you can find the solution in the JCo Tutorial.pdf coming with the Java Connector, in a footnote on page 12:

If you must use a router string to access your SAP system, the router string is specified together with the host name in the following format: "/H/<saprouter>/H/<hostname>"

Regards

Gregor

Former Member
0 Kudos

Thank You Gregor!

Regards

Pablo

Former Member
0 Kudos

hi all,

i have read the footnote pagg 12 of jco tutorial but i don't able to configure JCO connection to sap router ->sap server .

from tutorial:

JCO.createClient("001", // SAP client

"<userid>", // userid

"****", // password

"EN", // language (null for the default language)

"<hostname>", // application server host name (or IP?)

"00"); // system number

how

where application server host name (or IP?) is:

<b>

"/H/<saprouter>/H/<hostname>"

is the correct syntax?

/H/<mysaprouterString (es: /H/<ip>/S/<numb>/W/<string>/H/)>/H/myServerIp

</b>