Hi,
I'm aware the schema for an IDoc type can be generated from WE60. I'm wondering if the same can be accessed either via a service call (HTTP/SOAP) to the SAP system or by executing a function module using JCo. I'm also aware of IDOCTYPE_READ_COMPLETE function module that can return the structure of the IDoc. But then I will have to parse this structure and create the schema myself if I were to call it from a Java application. Is there an easier way to achieve this.
Thanks,
Praneeth