cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a Program ID for a Destination

Former Member
0 Kudos

Hi,

What's Destination? I just know the TCODE SM59.

Ineed to create a new Destionation,but I do not know what is the utility of it.

and when create a TCP type Destionation,I do not know how to get the Program ID, and some one told me to write a program which can create it automaticly.

and i have looked the Sample in the JCO Doc,the Exam7. but i still do not clear with it.

there is a statement:

srv[0] = new Server("?", "?", "?", repository);

what the expression of the three ? parameters.and how to find it the the SAP System?

THANK!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,Thanks for your help.

In my words,I means that how to find these 3 parameters in my R3 system.

Could you give me something more about it.

Thanks!

Former Member
0 Kudos

I think you will get that explanation about the parameters from the link itself

serverConnections <i> = new MyFirstServer

("gwhost", //gateway host, often the same as ashost

"sapgw00", //gateway service, generally sapgw+<SYSNR>

"JCOSERVER01", // corresponds to the program ID defined in SM59

true, // or false for non unicode listener

repository);

Regards, Anilkumar

Answers (1)

Answers (1)

Former Member
0 Kudos

Check the following

http://help.sap.com/saphelp_nw04/helpdata/en/8b/912229a9e611d6b28f00508b6b8a93/frameset.htm

Host,Service and program ID are the first 3 params

Regards, Anilkumar