Convergent Invoicing

March 27, 2018 | Author: Dibya Ranjan Pradhan | Category: Invoice, Xml, File Format, String (Computer Science), Computer Data


Comments



Description

KM: How To SeriesConvergent Invoicing in SAP Version 1.0 Dibya Ranjan Pradhan Surya Chaganti .................................................................... R10 Page 2 ...........4 Sample Development..................................................................................4 Billing output in XML format through transaction VF01/VF02/VF03/VF31........3 Business Requirement:.................................................. Deloitte.3 System Requirements:.....................................................................................................................................................4 Expected Outcome..............................................How To Series Table of Contents Contents Background...................................................................................8 FAQ’s.............................................................................................................3 Process Flow...................................................... Rahul Kadukar...................................................................3 Define output type for XML format and use translation tool to generate XML from ABAP data type.............3 Prerequisites........................................................................................................3 SAP Configuration:....................................................9 FAQ’s Billing output in XML format (ABAP to XML) Dibya Pradhan............................................. Based on the output types defined in the system we can issue billing output as print output. Rahul Kadukar. Define output type for XML format and use translation tool to generate XML from ABAP data type. SAP Configuration: • • Output type for XML output needs to be defined in NACE for application billing (V3). Prerequisites System Requirements: SAP ECC 6. Assign driver program for medium “Print output” and Form routine “Entry”. When billing run (VF31) is done client may require billing output in PDF/XML format. This document will cover the creation transformation using transaction STRANS/XSLT_TOOL. Deloitte. Billing output in XML format (ABAP to XML) Dibya Pradhan. FAX. email and EDI.How To Series Background Business Requirement: The Business requires to issue billing output in XML format. This document also contains details about defining output type in NACE for XML output. R10 Page 3 .0 System ABAP Developer access. Deloitte. Rahul Kadukar.How To Series Billing output in XML format (ABAP to XML) Dibya Pradhan. R10 Page 4 . g. E. R10 structure. Call transformation and generate XML. Assign driver program to the output type for XML in NACE. structure with a header invoice structure and deep invoice item structure. Page 5 . Billing output in XML format (ABAP to XML) Dibya Pradhan. 2. Deloitte.How To Series Process Flow Billing output in XML format through transaction VF01/VF02/VF03/VF31 Sample Development Development activities The following development activities are needed: 1. Create a transformation using the custom structure created above. Create a driver program to fetch and populate invoice details to the custom 4. 3. Create a structure to hold all invoice data. Rahul Kadukar. Create structures to hold invoice header and item data. Deloitte. Rahul Kadukar.How To Series Detailed Technical Approach: 1. Billing output in XML format (ABAP to XML) Dibya Pradhan. 1. Create a structure to hold all invoice data. R10 Page 6 . Deloitte. Rahul Kadukar. 3. 2. Create transformation in XSLT_TOOL/STRANS. Give transformation name and select create. Billing output in XML format (ABAP to XML) Dibya Pradhan. 1. Create a transformation using the custom structure created above. Select wizard from the tool bar. right click and insert new root.How To Series 2. R10 Page 7 . Use wizard to create XML lines for the transformation. Select the root node. Give description of the transformation and select transformation type “Simple Transformation. Go to XSLT_TOOL/STRANS. XML source code is created in the editor. Create a driver program to fetch and populate invoice details to the custom structure. Select “Pretty Printer”. Call transformation and generate XML. Drag the node “INVOICE” from the root node and drop in the Sample transformation window. Deloitte. Now change the <TagName> as per requirement. R10 Page 8 . Rahul Kadukar. Billing output in XML format (ABAP to XML) Dibya Pradhan.How To Series 4. Save and go back. 5. save and activate the transformation. 3. Expected Outcome Once above development is complete: 1. 1. 4. In the driver program call the transformation exporting structure with all required invoice details. 2. 2. XML is downloaded or previewed online. Assign driver program to the output type for XML in NACE. Create an output type for XML in NACE. Deloitte. execute billing run (VF31) with XML output type. R10 Page 9 . Define driver program to the output type. Billing output in XML format (ABAP to XML) Dibya Pradhan. Rahul Kadukar. To preview XML function module “SCOL_TRACE_SHOW_XML” can be used. Code can be written to download the XML string on the specified location or to preview the XML. To generate invoice output in XML format.How To Series 1. How to add new fields to the XML? Define the field in the structure. Billing output in XML format (ABAP to XML) Dibya Pradhan. For “UTF-8”encoding use data type XSTRING to collect XML file. 2. In the transformation drag the field. Populate the field in the driver program. For “UTF-16” encoding use data type string to collect XML file. How to handle UTF-8/UTF-16 XML format.How To Series FAQ’s 1. Deloitte. Select pretty printer and activate the transformation. Define <TAG> for the field. Rahul Kadukar. R10 Page 10 .
Copyright © 2024 DOKUMEN.SITE Inc.