Convert xls_xml to plain xls (excel)

In BI a query is broadcasted to the portal in output form xml (Excel) and format xls_xml.
When you look at the file with notepad it starts with
MIME-Version: 1.0
X-Document-Type: Worksheet
Content-Type: multipart/related; boundary="NEXTMIME"
When opening the file in Excel it takes a long time since the XML has to be interpreded/converted? so it looks like a normal excel file.
My scenario is:
1) Retrieve xls_xml file from Portal
2) Convert this file to a normal xls file using SAP PI ( or other method if available).
3) Store file in a windows directory so the user can opening the excel fast from a windows directory. The user does not really require the file to be on the portal.
Steps 1 and 3 should be no problem.
But how can I convert the file to a normal excel file?
Any suggestion for conversion(SAP PI,  Abap function modules) is welcome. Or maybe it is even possible to create a normal excel file in SAP BI already altoiugh it is not an option in the bex broadcaster?

Hi Chris,
thanks for your answer, but it will not help me (but can be handy in future for other projects)..
The description (as it is also in SAP BI) suggests XML is used. But in fact it is a hybrid.
It is HTML with a tag <XML> embedded with some info inside this tag like document property.
The real excel data follows after the <XML> tag and consists of normal HTML
<Table>, <TR> and <TD> tags.
An explanation of the format is written on http://support.microsoft.com/kb/271572
It says:
Excel can persist storage information in a format that is an HTML/XML hybrid. When you save an Excel 2000 workbook as a Web page, Excel creates a file that contains a combination of HTML tags and XML tags that have special meaning to Excel. A workbook saved in this format can go from Excel to the browser and back to Excel again (a "round trip") without losing workbook integrity.
When you open a workbook saved as a Web page in Internet Explorer, the HTML tags are used to render the document. When you open a workbook in this format in Excel, Excel uses the XML tags for settings that might pertain to the workbook, worksheets, rows and columns. For more information on using HTML and XML with Excel 2000, see "Microsoft Office HTML and XML Reference" at the following MSDN Web site:
http://msdn2.microsoft.com/en-us/library/Aa155477(office.10).aspx (http://msdn2.microsoft.com/en-us/library/Aa155477(office.10).aspx).
SInce the reports I have to convert are more or less stable and formatting is not really required I think I will just read the HTML file and extract the data in the Table tags.
Then write it to Excel using the jexcelapi (http://jexcelapi.sourceforge.net/)

Similar Messages

  • Convert report from SAP to Excel

    Hi All,
    How to convert report from SAP to Excel.Here now taking default text(.txt) format.But we want defualt taking (.xls) format only.
    Regards
    Usha

    hi usha
    u can even export the text in txt format and later right click and open with excel , u wont be able to directly import it into excel as it is not giving u any option to upload in excel directly
    Regards,
    Manish

  • Convert the spool to xls format and email through attachment to the user

    Hi all,
    When I execute a report in background, I get spool. I need to convert the spool to xls format and email through attachment to the user.The xls file should not be saved on local system.
    If I use the Spool Recepient tab in SM37 it mails the spool list as .txt file to the mail receipient. But I need to send it as an .xls file.
    Can any one help me on this

    Did you get the solution? i have the same problem.

  • Im trying to convert a PDF into an excel document and I keep getting an error message that reads "An error has occurred while trying to access the service". WHat am I doing wrong?

    Im trying to convert a PDF into an excel document and I keep getting an error message that reads "An error has occurred while trying to access the service". WHat am I doing wrong?

    it seems my subscription had expired so I signed up again.. It was still having trouble so I repeated the sign up process again.. Then it worked perfectly.. Unfortunately, I think I just subscribed twice and need to cancel one of them. Ugh. Such a pain when I'm trying to get this project completed. I'll be canceling at least one of the subscriptions in the morning. Adobe is not my favorite company right now. None of this was intuitive. And trying to get help was an absolute waste of an hour.
    Regards,
    Nathaniel
    [removed by moderator]

  • I just purchased Adobe Acrobat in order to convert a pdf to an excel program but it appears that it will only convert to Word, not excel? Am I doing something wrong or should I cancel my subscription?

    I just purchased Adobe Acrobat in order to convert a pdf to an excel program but it appears that it will only convert to Word, not excel? Am I doing something wrong or should I cancel my subscription?

    What happens when you convert to excel?

  • How do I convert a pdf to an excel file

    how do I convert a pdf to an excel file

    Hi blondie196398,
    You can use ExportPDF (or Adobe PDF Pack to do that). Please see Getting Started with ExportPDF | Adobe Community - Adobe Forums.
    If you have additional questions, please let us know!
    Best,
    Sara

  • How do I convert  a pdf file to excel?

    Will you help me convert a PDF File to Excel eith my new PDF Export Software?

    Hi John,
    Check out our FAQ: Getting Started with ExportPDF
    Let us know if we can be of further assistance!
    -David

  • How do i convert a PDF file to Excell?  I pad the fee and it won't let me.  Please help???

    how to do you convert a pdf file to excell?  i paid the service, but it won't let me.
    forumnotifier

    Hi arcadiak6290381,
    Are you still having trouble with ExportPDF? What happens when you try to log in to https://cloud.acrobat.com? Are you receiving an error, or are you prompted to sign up again?
    Please try clearing the browser cache, or log in using a different browser.
    Let us know how it goes.
    Best,
    Sara

  • I have purchased the program and now how do I convert a PDF file into excel?

    I have purchased the program and now how do I convert a PDF file into excel?

    Hi johnhnk2,
    Please see Getting Started with ExportPDF | Adobe Community.
    That document will tell you what you need to know to get started. Please note, however, that it can take 24-48 hours for an order to process fully.
    Best,
    Sara

  • Converting A PDF to an Excel File

    I recently purchased a list that has something along the lines of 1600 pages of data.  When I purchased it, I was told it would be in an Excel spreadsheet I could manipulate and work with.  Instead, it came in a PDF.
    Is there anyway I can convert that PDF to an Excel file?  I have been looking into third party software, does anyone have any recommendations?
    Thanks.

    You can try saving the entire file as an Excel spreadsheet (in Acrobat X it's under File - Save As - Spreadsheet), or you can select parts of the text (using the Text Selection Tool), and then right-clicking it and exporting it or copying it as a table, if that option appears.

  • Using my PC Desktop I am trying to convert a PDF file to excel.  When the data is imported to Excel the majority of the data is vertical in the far left colum.

    I am trying to import a PDF file from my desktop PC in to Excel using XI Pro.  When the data imports in to excel, the majority of the data is vertical along the far left comumn instead of horizonal along the colums such as name, address, etc.   I need to be able to import the data in to the horizonal categories so I can categorize the data after it is in excel.  Thanks.

    Hi johnc,
    I'm sorry to hear that your file didn't convert well for you. Can you please tell me more about the PDF that you're trying to convert? Do you know how it was created? The quality of a conversion depends on the quality of the PDF, and it sounds like the file you have may not include the tagging information that is required to convert that properly into an Excel file. Would you be willing to share that file with me? If so, let me know and I'll send you a private message with my contact details.
    Best,
    Sara

  • Just joined and unhappy. I want to convert a pdf to xls and it keeps failing I do not have time to trouble shoot if there is not an easy fix how do i get a refund?

    too much work, I just paid for a year to be able to convert pdf files to xls and they keep failing
    I dont want to search databases for answers how do i get a refund

    Yes Please effective yesterday when I purchased it because I have not been
    able to do anything with it. please confirm when my credit has been
    processed
    Regards,
    Cathy Riccio
    Contract Administrator
    Public Sector Sales
    States of NY, FL, MA, PA
    ibm.com Americas
    (518)487-6259, 8/234-6259
    [email protected]

  • How to convert Oracle Report Output to Excel Spread Sheet..

    Hello Sir,
    How to convert Oracle Report Output to Excel Spread Sheet..
    Thanks..

    Hello,
    Please give us more information what kind of report(s). Sample example etc.,
    Sri

  • Convert arabic pdf file to excel

    hello
    can i convert arabic pdf file to excel , the source of the pdf file is oracle reports

    The ExportPDF service does not support Arabic.
    We're sorry for the inconvenience.
    -David

  • Problem converting PDFs to Word or Excel, does anyone know why?

    I have been converting PDFs to Word or Excel for several years but lately every time I try an error message comes up saying "an error occurred while trying to AdobeExport PDF online", does anyone know why?

    Como não falo o Ingles, não sei se minha pergunta é correta! Na transformação de um arquivo editado em PDF para transformação em Excxel, noto que essa transformação não esta sendo feita para uma planilha do Excel (13). exemplo. Na planilha em PDF o valor é de R$ 25,00. Na transformação para o Excell 13, Esta constando 2.500. Quando abre essa planilha em PDF para fins de Impressão, ela é toda normal para uma planilha de Excell. Mas, quando faço a transformação de PDF para o Excel, distorce toas as colunas, apresentando um titulo do PDF abrangendo mais colunas. Caso haja uma resposta sobre esse meu problema, peço comunicar-me, em Portugues pelo E.mail  [email protected] ou E.mail [email protected]
    Obrigado
    Waldomiro

Maybe you are looking for

  • Problem with ESS Leave Request Workflow

    We had configured ESS Leave request, which is working fine with Leave request approval. 1)     Cancellation of Leave Request using the workflow WS12400005.                                 Workflow is not getting triggered when we try to delete the le

  • Two line graphs in a single chart

    Hello Experts, I am having set of values each for one line graph. But I want to plot these two graphs in a single chart.(2 line graphs in a single chart) Please help me how to plot? Regards, Apex User

  • Config for BIG server (Solaris)

    Our app is currently running pretty well on 2-cpu NT servers. But we need more performance to support more users on one instance of WL (clustering isn't yet an option), so we are trying a Big Solaris server. We're looking for any pointers on how to c

  • How to make find friends notify work

    I have iPhone 4.  I've installed Find Friends.  I can see the contacts but the Notify Me button is not enabled.  What am I doing wrong?

  • License to use JS generated by DW?

    I know this sounds crazy, but a client is asking for a license agreement that shows that they can use the rollover javascript that is generated by Dreamweaver in a website that I built for them. I have worked for huge corp clients before and never ha