Conversion of xls file into xml file

Hi,
i want to convert xls file into xml
pls let me know the procedure for it
Thanks

Hi Anu,
U can use FM <b>SAP_CONVERT_TO_XML_FORMAT</b> to convert data to XML.
Or u can use some threads related to this FM. So that u can get better idea about this.
Check this link also
conversion of xls file into xml file
regards,
raghu

Similar Messages

  • How to convert Xls file into Xml file

    Hi,
    I am trying to convert Xls file into Xml  but there  is no any direct procedure for it
    Pls help me out to convert Xls file into Xml file
    Thanks
    Anushree

    you will require to write a module in your file adapter for the same.
    ref: /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter as mentioned in the earlier post.
    Else you can also use Conversion Agent to read the same.
    Ref: http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm

  • How can convert HTML file into xml file?

    Hi,
    I am receving one HTML file as an input and i want to convert that receiving(html file) into .xml file.Is there any converter (tools)to do this.Pls if any give me the details with regard.
    Regards,
    mahesh.

    Use the HTMLEditorKit to parse the html file.
    this kit is having the callback methods which
    are called wenever the tag appears in the HTML
    stream.

  • How to convert .stl file into .xml file. Subtitles to IMPORT INTO FCPro

    I have a subtitles file which was created in dvd studio pro. I exported that file and made a .stl file (which can be opened with TextEdit).
    I need to import that file into FCP to then make a quicktime file w/subs to be exported.
    I'm trying to use TitleExchange which tells you you CAN convert .stl files into .xml (FCPro type of file) but when I try to import the .stl subtitle file into TitleExchange to be converted to .xml I get the following error:
    Can't make "" into type boolean. (-1700)
    Can someone help?
    Thanks!!!
    Paula

    Can anyone help me?
    I absolutely need to import the subtitles into Final Cut and re-writing all of them manually would take forever.
    Please let me know if there is any program I need to use.
    Thanks for all tips
    Paula

  • How should convert text file into XML file?

    I do a project "WEB SERVER LOG ANALYZER" using JSP. For that i copy the content of log file into the other file . how i convert it into XML file . xplain with coding

    Read this [page.|http://www.devx.com/getHelpOn/10MinuteSolution/20356]

  • How to SaveAs the MSword file into xml file format using Java APIS?

    Hello all,
    I want to convert MSword file into Xml format using java APIS or any other inbuilt APIS that i can integrate in Java code.

    Sorry, that doesn't make much sense.
    The XML you gave is a configuration file for txt2xml utility. It doesn't represent the output format.
    Are you a user of this utility?

  • Conversion of inbound IDOC into XML file

    Hi experts,
    We have an inbound idoc (FIDCC2) that starts and triggers the creation of an FI document. We would like now, that, instead of creating the FI document, the inbound IDOC creates an XML file on a given directory, with the contents of the idoc. Can anybody explain how to configure this?
    Many thanks in advance,
    John De Coninck.

    John,
       Firstly, need more information. If I understand you correctly, you are getting an inbound FI document that is created as an IDOC and it posts into FI (using an underlying FM/transaction etc). Now you want to convert this IDOC into XML on a folder (which can be found on AL11 (a.k.a App Server)).
    Question 1: Where are you getting this IDOC from? Is it through EDI/ALE? What is your interfacing server (the one that is sending you this IDOC.
    Question 2: What format is this IDOC coming in? Is it flat/XML etc?
    Question 3: Is this an internally created IDOC? Is there an attached partner profile in WE20? If there is a partner profile that exists and you're using this to create the inbound IDOC, then there are process codes available to forward these IDOC's (e.g ED08).
    There are many ways you can achieve this but everything depends on how your system is configured and how this processing is going on.

  • How to convert text file into xml file

    Hi Folks,
    I am genarating list of data into text file, but i want to genarate xml file for this text file. How to achive this , please let me know. Thanks.
    regards
    Vishal

    hi Vishal,
      Use<b> GUI_DOWNLOAD</b> FM and give the file name as <b>file.xml</b> with BIN Mode....
    i.e,
      Download internal table to presentation server file(PC)
      DATA: ld_filename TYPE string value <b>file.xml</b>,
    Pre version 4.7 declaration e_file like rlgrap-filename.
      DATA: begin of it_datatab occurs 0,
      row(500) type c,
    end of it_datatab.
      call function 'GUI_DOWNLOAD'
           exporting
                filename         = ld_filename
                <b>filetype         = 'BIN'</b>
           tables
                data_tab         = it_datatab[]
           exceptions
                file_open_error  = 1
                file_write_error = 2
                others           = 3.
    Regards,
    Santosh

  • How to convert excel file into xml file

    Friends
    Will you please help me out becz i am daily getting excel file from SAP which i have to translate into the xml file.
    Waiting for ur reply.
    Hitesh

    Depends on how your excel document looks like and what you wish to accomplish.
    First, save the excel file as a tab or comma separated file.
    Create a program that reads the lines of the file, and just print the cell content into the right xml tags.
    E.g.
    Street Name
    Main st 3 Wild Bill
    Main st 2 Crazy Bill
    could be translated into an xml:
    <Adress>
    <Street>Main st 3</Street>
    <Name>Wild Bill</Name>
    </Adress>
    <Adress>
    <Street>Main st 2</Street>
    <Name>Crazy Bill</Name>
    </Adress>
    or:
    <header>
    <col>Street</col>
    <col>Name</col>
    </header>
    <row>
    <col>Main st 3</col>
    <col>Wild Bill</col>
    </row>
    <row>
    <col>Main st 2</col>
    <col>Crazy Bill</col>
    </row>
    etc
    E.g. using the code
    String[] lineColumns=...
    while(lineColumns!=null){
      println("<row>");
      for(int i=0; i<lineColumns.length; i++){
        println("<col>"+lineColumns[i]+"</col>");
      println("</row>");
      ...Gil

  • Convert .txt file into .xml file

    Hello,
    How do i convert an .txt file into an .xml file using labVIEW function?.
    Also i do i extract the header from the text file.
    My file format is mentioned in attached .txt file.
    Also I need to extract the header from the converted .xml file.
    Anticipating reply
    Attachments:
    Example.txt ‏1 KB

    There is no automatic mechanism for converting a .txt file to XML in any language. You have to define the XML schema and then write the code to generate the XML file. You could also read in your text file into some form of structure and then use the Flatten to XML functions to use the NI XML schema. If you need to use your own XML schema then you would need to use the XML Parser VIs to generate your XML file. Alternatively, you could use LabXML or JKI's EasyXML Toolkit.

  • How to convert text file into xml file format with and check that with DTD

    I have an text file with | seperator . I have to convert this to an xml file and check with DTD present with me..
    plz help me out

    can i get some code that how to compare the xml with dtd or just give the DTD name with an XML

  • Flat file into XML

    Hi,
    I have a requriment like source will be sending IDoc DELVRY03 in form of flatfile(fixed length).So i have  to convert to XML so that PI can do transformation.I cant do file content conversion.Target is also IDoc DELVRY03.
    Kinldy suggest me how to convery flat file into XML.
    Regards,
    Anitha M
    Edited by: Anitha m on Aug 3, 2010 10:07 AM

    Hi Anitha,
    You should use File content conversion to convert flat file into XML file.
    Please check the below link, which help you to know how to do it.
    http://saptechnical .com/Tutorials/XI/Contentconversion/page2.htm
    Please check the weblink given below for converting the file content:
    http://help.sap.com/saphelp_srm40/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Thanks,

  • Convert XML file into PDF file

    <b>XML to PDF</b>i want to Convert XML file into PDF file pl. any one can suggests API's

    Hi,
    There are many ways to convert XML files to PDFs through java.
    One of the easiest way is by using iText.jar which have classes for conversion.
    The following are the required steps
    1. Create a document object for the XML file ( Using DOM or SAX parser).
    2. Parse the xml document and extract the content to write in PDF.
    3.Create a itext Document object.
    4.Get a PdfWriter instance for the PDF file.
    5.Write in the pdf the extracted text using the document object.
    Refer <a href="http://itextdocs.lowagie.com/examples/com/lowagie/examples/general/HelloWorld.java">here</a> for a simple pdf writer example.
    Refer <a href="http://java.sun.com/developer/codesamples/xml.html">here</a> for examples of XML Parsers.
    Regards,
    Uma

  • Reading String (Name-Value) from text file into XML

    Hi,
    I have a requirement for reading a text file and converting each entry of that text file into XML format. I have not came across such thing yet so looking for some ideas. I am using SQL Server 2005 and here is a sample entry from my source text file,
    Jun 4 14:31:00 zzzz64x02 fff:
    INPUT(ty=XYZ,Prefix=15063,dn=78787878787878,sgk=100.139.201.48,xxn=87878,ani=656565656565,ogrp=F7ZX05,ogtxt=NNNNN,ogx=NNNNN,oci=0xe00ac,ogi={NOA=INT,BC=1,SIG-TYPE=ZIP});
    PROCESS(ty=0x100000,cu=32880,Name=XOXOXOX,pc=88017,pd=24,dd=880175,pk=880175,rd=115472,ca=BGD,reg=RW,cdp=1,ai=245359,grp=2648,sl=9);
    OUTPUT(ty=XXXX,ret=0,rl=
    {i=1,su=99999,rizID=61084,skid=06,truckgp=1084,dd=8801,dn=78787878787878}
    I will get multiple entries like this in my source text file which I have to convert into XML (using TSQL).
    Any help will be useful.
    Regards.
    'In Persuit of Happiness' and ..... learning SQL.

    And I'm telling you that this is a bad option. You would use the vaccum cleaner to wash the dishes, would you?
    If you for some reason would do this task in SQL Server, you would implement it as a CLR stored procedure, but from what you have said I don't understand why you would do this server-side at all.
    What's wrong with the current C# solution?
    Erland Sommarskog, SQL Server MVP, [email protected]
    Got it.  I was just looking for the available options, nothing wrong with my C# solution. And yes, I don't use vacuum cleaner to wash dishes.
    'In Persuit of Happiness' and ..... learning SQL.

  • Why we need to conver Context  Node data into XML file----Export to Excel

    Hi All,
    Let me clarify my dought........today i have gone through the concept of  "Exporting Context Data Using the Webdynpro Binary cache" in SAP Online Help.
    From the SAP Online Help pdf document, i have found that, the context node data has been converted first in to XML file,after that file had been stored in the web dynpor binary cache...bla....bla.........
    Here my qtn is why they had converted context node data into XML file. With out doing that can not we export context node data to excel file..?
    Regards
    Seshu
    Edited by: Sesshanna D on Dec 19, 2007 7:25 AM

    Hi Sesshanna,
    it is not neccessary to do that but xml has the advantage, that it can be easily transformed into every output format that might occur in later project stages.
    If it's simply about blowing out some Excel, I suggest using an OSS library such as jexcelAPI or Jakarta POI and building the Excel how you need it.
    regards,
    Christian

Maybe you are looking for

  • HTTP/S POST from J2SE adapter engine (NO SOAP)

    Hi there, We have a scenario at work where we have XI sending messages to the "lightweight" J2SE adapter engine in the DMZ....and from there the message is sent out to an HTTPS site that is obvioulsy outside of our network. Currently I can see that t

  • RED FLASH IN ENCORE

    I've been plagued by this annoying deal since CS2, along with many others. I film in HDV, edit in PPRO and use either PPRo or Encore to encode. I NEVER encounter a problem in the edit program, only when importing to Encore. I want to know what would

  • Provision of an CRES Profile

    Hello, I would like to provision an CRES Profile with our C350, but everytime I try, I got the following error message: Unable to provision profile "profilename" for reason: Unable to send HTTP request Please make sure that you have correctly registe

  • Bootcamp crashed and filled up my hdd

    i was running bootcamp and it was partitioning my hdd for windows and then my mac run out of battery. after i started it and tried again it said that there is not enough available what do i do

  • Can't change input language in Safari anymore.

    Why can't I no longer change the writing language in Safari (V 5.0.5) from US English to Hebrew? I used them both for more than 3 years on my MacBook (OS X 10.5.8) , both from the "International Input Menu". Thanks!