Q
Problem solve Get help with specific problems with your technologies, process and projects.

Converting IDoc to XML IDoc

Are there any libraries available to convert IDoc to XML IDoc (and vice versa)? Unfortunately, I can't use Business Connector. I was hoping there were some libraries available for use with the Java Connector. I'm too lazy to develop it myself.

Are there any libraries available to convert IDoc to XML IDoc (and vice versa)? Unfortunately, I can't use Business Connector. I was hoping there were some libraries available for use with the Java Connector. I'm too lazy to develop it myself.
The Java connector does this job mostly automatically. Most objects have a method "toXML," that convert the structures into XML. For detailed questions on JCo, please drop your questions in the forum of my fellow expert for the BAPI section, Thomas Schuessler, who is the author of the Java connector. For more sophisticated conversions, you may make use of the numerous Java XML parsers found in the OSF, e.g. JAXB from SUN, XERXES from Apache, or the great JDOM (jdom.org).
This was last published in July 2004

Dig Deeper on SAP ABAP

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close