Generate XML file from Billing Output

Hello,
We have a business requirement to generate XML file from billing output and the same needs to send to external system for document printing.  In this regard, could you please guide the steps to configure or share the document on how the system to be configured to support the XML file generation from billing document.
Anticipating a positive reply
Thanks in advance
Best Regards,
Goutham

another  option is to configure an outbound IDOC and set the port for this IDOC to generate an XML file.
here again there will be IDOC control record in the first section of the IDOC XML generated.'
rgds

Similar Messages

  • Generating XML file from WORD file

    hello
    Everyboby.
    I am trying to generate xml file from a word file.
    but i am stucked with how to do it? any kind of help will be useful.
    i think for doing this work i have to develop XSD file, because when i am creating the xml file, the hidden space within the word file is not catched.
    please help me out.
    waiting for reply
    thanks
    milind

    hello
    after searching on the net i came to know that org.apache.poi.hwpf.* is used for reading word file and its contents. for converting it to xml i have to use org.exolab.castor.xml.*
    now my problem is that POI is in its early beta version and there is no help or any sample examples for understanding the api.
    so if you have any idea regarding it, please write to me.
    waiting for your reply.
    thanks
    Milind

  • Generate XML File from table

    How to generate XML file from a table without using UTL_FILE that too in local machine...

    You downloaded the wrong XML Parser!
    XSQL requires Java Parser. Well, there's a copy included with the XSQL package so you actually don't need to do another download.
    You really don't need XSQL if you just want a XML file from DB, you just needed a XML SQL Utility. Download that and run the samples.

  • Hi I need this asap... "Java code to generate XML File from XML Schema"

    Hi all....
    I need this asap... "Java code to generate XML File from XML Schema i.e XML Schema Definition, XSD file".
    Thankz in advance...
    PS: I already posted in the afternoon... this is the second posting.

    take look at :
    http://sourceforge.net/projects/jaxme/
    this might help...

  • Java code to generate XML File from XML Schema

    Hi I need this asap... "Java code to generate XML File from XML Schema i.e XML Schema Definition, XSD file".
    Thankz in advance...

    JAXB has been available as an early release download for some time. There are also XML Binding packages available from Borland (JBuilder) and Castor. These tools create Java classes from a source document, xml,dtd etc. You can use these classes to marshal-unmarshal XML documents.
    Dave

  • How to generate XML file from SQL file !

    I am new to XML publisher. I known one way to generate XML file is register one report file in concurrent manager.
    But I want to generate XML file from sql file.
    Could someone show me how to code in sql file, how to register is in concurrent manager.
    Thanks !

    Hi
    Phew ... not sure we have the space here. So I can point you in the right direction:
    1. XML data generation - there are two packages in the db you can use with a plsql procedure, XMLGEN and SQL XML. You can also use java APIs too. Try checking the db documentation and search for the above methods.
    2. Registering the report - the system administrators guide will provide this info. Hooking the program up with XMLP is covered here - http://www.oracle.com/technology/products/applications/publishing/resource/CM%20Whitepaper5.0.pdf
    Regards, Tim

  • Error while generating XML file from rdf report.

    Hi All,
    we are having a rdf report that displays images retrieved from data base. I need to convert this report to xml report(using rtf template).
    when i tried to run the report after changing the output of the concurrent program to "XML", i am getting the below error.
    REP-1295: Data format of column 'PK1_VALUE' is unsupported.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1295: Data format of column 'PK1_VALUE' is unsupported.
    images are stored in BLOB type columns.
    Can anyone help me on this..
    thanks
    gtungala

    Hi Hussein,
    Thank you for the reply.. i was sure that i will get correct response with in a day..
    you people made this as one of the best technical forums..no doubt in that..
    need some more help from you...!
    The metalink docs say that it is not possible to generate xml file as the image is BLOB.
    Can you please tell me any solution for developing xml template(rtf) which can display images that are stored in data base BLOB columns. Even PL/SQL script will do.. I have tried with changing the BLOB to CLOB in rdf query(by calling a function that converts BLOB to CLOB). it didnt help.
    thanks in advance..
    gtungala

  • Generate XML file from RFC using Web Services

    Hi,
      I am trying to save an RFC enabled Function Module output to an XML file using ABAP web services.
    I could able to create Web Service and release it using WSCONFIG/WSADMIN. I can actually get the output in XML file when i launch the web service home page. But I need this to be done in the ABAP program itself. So If i run the RFC I could able to create,release web service and capture the Generated XML file by SOAP runtime.
    Any FM available?
    Thanks,
    Ram Sanjeev

    which version of WAS you are on .
    if you are on WAS6.40 check the following weblog on how to consume webservice using the wsdl file.
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    lower version of WAS use class cl_http_client.
    if this case you have to manually build the soap message.
    /people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
    Regards
    Raja

  • Best Practices:: How to generate XML file from a ResultSet

    Hi all,
    Could someone please suggest the best practices of how to generate an XML file from a resultset? I am developing a web application in Java with Oracle database and one of my tasks is to generate an XML file when the user, for example, click a "download as XML" button on the JSP. The application is basically like an Order with line items. I am using Struts and my first thought has been to have an action class which will extend struts's DownloadAction and through StAX's Iterator API to create an XML file. I intend to have a POJO which will have properties of all columns of my order and line items tables so that for each order I get all line items and:
    1. Write order details then
    2. Through an iterator write line items of that order to an XML file.
    I will greatly appreciate for comments or suggestions on the best way to do this through any pointers on the Web.
    alex

    Use a OracleWebRowSet in which an XML representation of the result set may be obtained.
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/oracle10g/webrowset/Readme.html
    http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/jcrowset.htm

  • How to Generate XML File from Java Code.

    I want to generate the xml file from the java code.
    Could you plz suggest any webSite address with example?

    Here is the code
    import java.io.File;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    public class CreateXML {
         private DocumentBuilderFactory factory = null;
         private DocumentBuilder builder = null;
         private Document document = null;
         public CreateXML() {
              try {
                   factory = DocumentBuilderFactory.newInstance();
                   builder = factory.newDocumentBuilder();
                   document = builder.newDocument();
              } catch (FactoryConfigurationError e) {
                   e.printStackTrace();
              } catch (ParserConfigurationException e) {
                   e.printStackTrace();
         /** Creates the document for xml. */
         public Document createDocument(){
              try{               
                   Element root = document.createElement("Root");
                   Element child = document.createElement("child");
                   root.appendChild(child);
                   document.appendChild(root);
              }catch(RuntimeException e){
                   e.printStackTrace();
              return document;
         /** Saves the document as xml. */
         public void saveDocument(Document document){
              try{
                   TransformerFactory transFactory = TransformerFactory.newInstance();
                   Transformer transformer = transFactory.newTransformer();
                   DOMSource source = new DOMSource(document);
                   StreamResult stream = new StreamResult(new File("sample.xml"));
                   transformer.transform(source, stream);
                   System.out.println("XML Created !!");
              }catch(TransformerConfigurationException e){
                   e.printStackTrace();
              } catch (TransformerException e) {
                   e.printStackTrace();
         public static void main(String args[]){
              CreateXML createXML = new CreateXML();
              Document document = createXML.createDocument();
              createXML.saveDocument(document);
    }

  • Generating xml file from database table

    Could anyone please explain how to generate a xml file from a database table.examples will be highly appreciated.
    thanks in advance

    See the release notes for our XSQL Pages component of the Java XDK for a tutorial. There are also lots of examples in Building Oracle XML Applications.
    You use the XML SQL Utility component to accomplish the task. It's part of our Java XDK that you can download from http://otn.oracle.com/tech/xml

  • Generate XML file from an Oracle Database Table

    Hello All,
    I want to generate a xml file from an Oracle Database table which contains a blob column.
    Can somebody give pointers on this please.
    Thanks in advance
    Sulakshana

    Use the DBMS_XMLGEN package.

  • Generate XML FILE FROM APEX

    Hi
    I want to generate an XML file from APEX when a click button like example in bottom
    and All bold number I want receive them as parameters.
    <?xml version="1.0" standalone="no"?>
    <!DOCTYPE labels SYSTEM "label.dtd">
    <labels _FORMAT="1" >
    <label _QUANTITY="*5*" >
    <variable name = "OLDPRICE">*12.99*</variable>
    <variable name = "NEWPRICE">*9.99*</variable>
    <variable name = "SKU">*12345*</variable>
    <variable name = "COLOR">*010*</variable>
    </label>
    </labels>
    thanks
    Jade
    Edited by: Jade04 on May 21, 2009 12:21 PM

    Hi Varad,
    thank you for your fast answers
    plaise see the bold code for save my XML file in the server, Is it correct ?
    declare
    v_file_name VARCHAR2 (2000) := 'Xmlfile.xml';
    FILE1           UTL_FILE.FILE_TYPE;
    v_dir_1        varchar2(100)  := '/prod/smb/ms/dev';
    L_OUTPUT_LINE   VARCHAR2(400);
    begin
    OWA_UTIL.mime_header ('application/txt', FALSE);
    htp.p('Content-Disposition:attachment;filename="'|| v_file_name|| '"');
    OWA_UTIL.http_header_close;
    htp.p('
    <?xml version="1.0" standalone="no"?>
    <!DOCTYPE labels SYSTEM "label.dtd">
    <labels FORMAT="' || :p1p1 || '" >
    <label _QUANTITY="'|| :p2_p2 || '" >
    <variable name = "OLDPRICE">*12.99*</variable>
    <variable name = "NEWPRICE">*9.99*</variable>
    <variable name = "SKU">*12345*</variable>
    <variable name = "COLOR">*010*</variable>
    </label>
    </labels>
    *FILE1 := UTL_FILE.FOPEN(I don't now then file_location,Xmlfile.xml,'r');*
    *LOOP*
    *BEGIN*
    *UTL_FILE.GET_LINE(FILE1,L_INPUT_LINE);*
    *IF L_INPUT_LINE = null THEN*
    *EXIT;*
    *ELSE*
    *UTL_FILE.fopen(<v_dir_1, Xmlfile_cop.xml, 'W')*
    *END IF;*
    *EXCEPTION*
    *WHEN no_data_found THEN*
    *exit;*
    *END;*
    *END LOOP*
    *UTL_FILE.FCLOSE (FILE1);*
    apex_application.g_unrecoverable_error:=true;
    exception when others then
    null;
    end;
    thanks.
    Jade

  • Generate XML file from DB table

    Hi all,
    I am trying to retrieve data from a DB table and generate an XML file.
    I am using Oracle8i and IIS 4.0. I have downloaded XML parser for PL/SQL and XSQL Servlet. Also I have Jrun to enable IIS to process Jservlets
    Here are my questions,
    1. Do I need any other software ?
    Also do I need both XML parser for PL/SQL and XSQL Servlet ??
    2. What is the next step I should do ?
    Please help me. Thanks in advance.
    Vikki

    You downloaded the wrong XML Parser!
    XSQL requires Java Parser. Well, there's a copy included with the XSQL package so you actually don't need to do another download.
    You really don't need XSQL if you just want a XML file from DB, you just needed a XML SQL Utility. Download that and run the samples.

  • Generate xml file from plsql ..

    Hi,
    I am using oracle 9i.
    I have written a script to generate o/p in text file . Its working fine to generate text file.
    I wish to create xml file for the same output. How to do this ??
    declare
    emp_rec emp%ROWTYPE;
    file_id UTL_FILE.FILE_TYPE;
    BEGIN
    file_id := utl_file.FOPEN ('C:\test','test.html','w');
    FOR emp IN (SELECT empno,ename FROM emp)
    LOOP
    utl_file.PUT_LINE( file_id, emp.empno );
    utl_file.PUT_LINE( file_id, emp.ename );
    END LOOP;
    utl_file.fCLOSE(file_id);
    END;
    --- Desired output ---
    <?xml version="1.0" encoding="utf-8" ?>
    <Start>
    <Row>
    <EName>SMITH</EName>
    <EMPNO>7369</EMPNO>
    </Row>
    <Row>
    <EName>SMITH</EName>
    <EMPNO>7499</EMPNO>
    </Row>
    <Row>
    <EName>ALLEN</EName>
    <EMPNO>7521</EMPNO>
    </Row>
    </Start>
    declare
    emp_rec emp%ROWTYPE;
    file_id UTL_FILE.FILE_TYPE;
    BEGIN
    file_id := utl_file.FOPEN ('C:\test','test.html','w');
    FOR emp IN (SELECT empno,ename FROM emp)
    LOOP
    utl_file.PUT_LINE( file_id, emp.empno );
    utl_file.PUT_LINE( file_id, emp.ename );
    END LOOP;
    utl_file.fCLOSE(file_id);
    END;
    Pls guide.

    Michael,
    I've some problem regarding execution of your process -
    satyaki>ed
    Wrote file afiedt.buf
      1  declare
      2    ctx integer := dbms_xmlgen.newcontext('select ename "EName", empno from emp');
      3  begin
      4    dbms_xmlgen.setRowTag(ctx, 'Row');
      5    dbms_xmlgen.setRowSetTag(ctx, 'Start');
      6    dbms_xslprocessor.clob2file(dbms_xmlgen.getxml(ctx), 'c:\', 'Test.xml');
      7* end;
    satyaki>/
      dbms_xslprocessor.clob2file(dbms_xmlgen.getxml(ctx), 'c:\', 'Test.xml');
    ERROR at line 6:
    ORA-06550: line 6, column 3:
    PLS-00201: identifier 'DBMS_XSLPROCESSOR.CLOB2FILE' must be declared
    ORA-06550: line 6, column 3:
    PL/SQL: Statement ignored
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    satyaki>Why is it throwing error?
    Is this because of lack of privs? Or anything else?
    Regards.
    Satyaki De.

Maybe you are looking for

  • Why is vertical centering still such a challenge?

    Is it really still this tricky to code DW to allow easy vertical centering? Just wondering. Tools for web design have been around long enough, and yet, simply vertically centering an image remains... elusive. Sure - if you know exactly how to do it,

  • Can I put 2 monitors on my minimac?

    Can I have 2 monitors on my mini mac?

  • Saving numbers twice on my iPhone contacts

    I have used an unlocked iphone since the iphone3 (and upgraded at every chance - currently using the iphone5) and noticed that you have to double save numbers under contacts. This happens often when using the iphone internationally. For local number

  • How to make a shortcut to run my Java app in Windows?

    Hiya, Coders :-) I am an absolute beginner. I have copied a little window program from "Java 2 in easy steps". I run it from the command line and a little window pops up. I cannot find a way to start the app without the command prompt. How can I make

  • Automatic creation of rate routing (CA21)

    Is there any standard object which allows automatic upload of rate routing (AFAIK transaction CA21 is not supported by RCPTRA01 or RCPTRA02 programs) thru LSMW or do I need to use SHDB to create custom batch input program?