Skip to Content

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

Is there a way to convert JCO.Function to IDoc.DocumentList?

Hi, dear All!

I am implementing a JCo IDoc listener in our application deployed in SAP WebAS (JCoIDocServer use is not recommended there). It's supposed to receive IDocs from SAP R/3 system.

As per documentation, I created an EJB with JNDI name IDOC_INBOUND_ASYNCHRONOUS which has a method processFunction(JCO.Function).

The problem is that I am sending IDocs from SAP and I need to work with IDoc.DocumentList instead.

As a last resort I can try converting JCO.Function parameters into IDoc.Documents manually myself, however, I'd prefer to use some standard API to do this.

So the question is: Is there a better way to get IDocs out of this JCO.Function object?

I would really appreciate any help.

Best Regards,


Former Member
Not what you were looking for? View more on this topic or Ask a question