Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

returning JCO.Client by a method

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

Former Member
replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question