0% found this document useful (0 votes)
184 views

Issue Billing Document Output in XML Format

This document describes how to generate an XML billing document output from an ABAP program. It involves creating an output type and driver program in NACE, defining a data structure to hold billing data, creating an XSLT transformation to define the XML structure, calling the transformation from the driver program to export the billing data to XML format, and running transaction VF31 to issue the XML output.

Uploaded by

MADHU sudhan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
184 views

Issue Billing Document Output in XML Format

This document describes how to generate an XML billing document output from an ABAP program. It involves creating an output type and driver program in NACE, defining a data structure to hold billing data, creating an XSLT transformation to define the XML structure, calling the transformation from the driver program to export the billing data to XML format, and running transaction VF31 to issue the XML output.

Uploaded by

MADHU sudhan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

sue billing document output in XML format

By Dibya Ranjan Pradhan, Deloitte Consulting

This document describes basically how to trigger XML file from ABAP program.

Requirement

Issue billing document output in XML format.  

Create an output type for XML in NACE. Define driver program to the output type.

Create a structure in SE11 to hold billing document data.


In the driver program fill this structure with related data.

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.

You might also like