Issue Billing Document Output in XML Format
Issue Billing Document Output in XML Format
This document describes basically how to trigger XML file from ABAP program.
Requirement
Create an output type for XML in NACE. Define driver program to the output type.
Create transformation in XSLT_TOOL. Go to XSLT_TOOL. Give transformation name and select create.
Give description of the transformation and select transformation type “Simple Transformation”.
Use wizard to create XML lines for the transformation. Select wizard from the tool bar.
Select the root node, right click and insert new root.
Drag the node “INVOICE” from the root node and drop in the Sample transformation window.
Save and go back. XML source code is created in the editor. Now change the <TagName> as per
requirement. Select “Pretty Printer”, save and activate the transformation.
In the driver program call the transformation exporting structure with all required invoice details.
Limitations
For “UTF-8”encoding use data type XSTRING to collect XML file.
For “UTF-16” encoding use data type string to collect XML file.
Issue Output
Run transaction VF31, select output type for XML output execute.