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
Hi Praneeth,
If schema needs to get for SAP PI systems, then we can import directly to PI ESR.
If requirement is to provide schema to other systems, then i think you can have option 'Export XSD' in WE60.
Also check standard BAPI's like BAPI_PO_CREATE1
Or
look at the service at trnsaction SICF
sap/bc/idoc_xml
to this node the external application can post XML document (IDOC in xml format).
Regards,prasanth
Add a comment