Skip to Content
avatar image
Former Member

How to create a Program ID for a Destination

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 08, 2006 at 01:08 AM

    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!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Dec 07, 2006 at 09:37 AM

    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

    Add comment
    10|10000 characters needed characters exceeded