cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI call in java through jco destination defined in content Administration

Former Member
0 Kudos

Hi All,

Is it possible to use JCO destination defined in Content Administration to execute BAPI in a java DC class file rather than creating a jco client through code.

Any pointers for the same?

regards

Radhika Kuthiala

Accepted Solutions (0)

Answers (1)

Answers (1)

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi Radhika Kuthiala

It's possible. Use the code below:

JCO.Client client;
try {
    client = JCO.getDestinationClient(rfcDestName);
    client.connect();

} catch (JCO.Exception ex) {
...
}

BR, Siarhei