ABAP for reading/writing files in XML format

ABAP for reading/writing files in XML format

Our client indicated that two external SAP systems are ONLY able to generate and read XML format files. We need to establish a bi-directional interface with these two systems, reading and writing files in XML format. Where can we find an example of at least one ABAP or ABAP objects program which read and write XML format files? Where we can find documentation about this point? We are working on SAP 4.7 version.

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

The ABAP command you are interested in is CALL TRANSFORMATION. On the help for CALL, you'll see a link for "converting XML data". For program examples, I suggest searching for *XML* in SE37. This will yield some function modules that use this command.

This was first published in February 2005