cancel
Showing results for 
Search instead for 
Did you mean: 

returning JCO.Client by a method

former_member1191927
Participant
0 Kudos

Hi all,

I need to create a method in controller which should return an object of JCO.Client class (as this API will be used by other DCs). But while creating the method, I could not find any way of selecting this as the return type.

Any idea how to do this??

Regards,

Narahari

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hello Narahari,

When you are creating method click on "..." opposite to return type input filed, check Java Native Type, click "Browse..." and select JCO class, close dialog and in input field add ".Client". It would be "com.sap.mw.jco.JCO.Client".

Best regards, Maksim Rashchynski.

former_member1191927
Participant
0 Kudos

Thanks Maksim. That solved my problem.

Regards,

Narahari

Answers (0)