Convert  RTF to Excel coulmwise

Hi,
I have downloaded spool data through "RSPO_RETURN_ABAP_SPOOLJOB"  and the resulting raw formatted data is converted to rich text format through "SO_RAW_TO_RTF"
Now i find the data is in single  column in the Excel sheet which is to be attached and sent to the mail recipient.
Please help me how to separate the data in each column.

Hi,
     You can try like this.. may be some other good options will be.. but this also works..
After geting data from FM RSPO_RETURN_ABAP_SPOOLJOB. you can check in debud mode, check which lines you dont need.
delete those lines. no need to convert into RTF.
just format your data with..
delete un wanted lines
delete lt_new FROM 1 to 6.
delete lt_new index 2.
loop at lt_new ASSIGNING <ls_new>.
REPLACE all OCCURRENCES OF '|' in <ls_new> WITH CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
ENDLOOP.
then call function GUI_Download..
Regards,
Ravi.

Similar Messages

  • How can I convert an entire excel workbook to pdf?

    How can I convert an entire excel workbook to pdf?  I have the box in the preferences for converting excel files marked to convert the entire workbook.  I am using Abobe Acrobat 11 Statndard.  This previously worked fine when I was using Adboe Acrobat 10 Statndard.  Now in order to convert the entire workbook I have to open the excel file, Highlight all the workbook tabs and then save the file.  Any ideas?

    In Acrobat click Edit | Preferences | Convert to PDF: select Microsoft Office Excel, then click on Edit Settings.  Make sure that 'Convert entire Excel workbook' is checked.

  • A tool can convert HTML to Excel

    Hi All , Are you using report 6i and want to out put report in excel format? If you are , a free software which can convert HTML to Excel is available .
    The software is designed to print very large report , Now a wonderful function is added to software , Thru which you can convert HTML to Excel easily . But the function is still basal , It will do better in the future .
    For more information, Please visit
    http://repbrowser.freewebpage.org/
    Thank you ,
    Regards

    Hi,
    the only other ways (as I know), if you really want to convert is
    a) write a parser to convert html into csv(xls)
    b) use a html2csv script on the os level
    like:
    http://sebsauvage.net/python/html2csv.py (or just google html2csv)
    c) use excel (data source web; local file: "file:///C:/test.htm"
    Kind Regards,
    Dirk

  • Error while converting RTF to PDF

    Hi,
    I have got a requirement to convert .rtf file to .pdf file while downloading. The .rtf file is in application server. I have used the FM CONVERT_RTF_TO_ITF to convert to ITF format. After this I am using the FM CONVERT_OTF to convert it to pdf format. But in this step I m not getting the pdf format file. I am getting an exception 'ERR_BAD_OTF'. Is there any other step in between after converting to .itf format and convert_otf. Can any one please help me on this.
    Thanks & Regards,
    Rama.

    Hi,
    Use the FM's in the following order :
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = lc_formname
    IMPORTING
    fm_name = v_fm_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    CALL FUNCTION v_fm_name
    EXPORTING
    IMPORTING
    job_output_info = gt_job_output
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
    IMPORTING
    bin_filesize = v_bin_filesize
    TABLES
    otf = gt_job_output-otfdata

  • Error message when I try to convert pdf to excel, after three attempts I could only convert one file.

    Error message when I try to convert pdf to excel, after three attempts I could only convert one file.

    Hi pdf to excel,
    What is the error that you're receiving when you try to convert? Is it the "Conversion Failure" message? Can you tell me more about the files you're unable to convert? What application created the PDFs? Are there many pages in these these files, or a complex mix of text and graphics?
    It'll also be helpful to know whether you're converting via the ExportPDF website (and what browser you're using), or through Adobe Reader.
    I look forward to hearing back from you, so we can get to the bottom of this!
    Best,
    Sara

  • Hyperlinks in RTF and Excel reports using CF Report Builder

    Has anyone gotten external links to work in RTF and Excel CF
    Report Builder reports? The PDF report type works as advertised in
    the help, but these other two have me stumped.

    Could you please tell us whether you fllowed any special procedures
    or made some specific settings to launch RTF reports ?Can't help much, I'm afraid. The report and web server settings were
    all made before I got here, and are not visible to me.
    We can get RTF from report builder/generate-to-file and when running
    reports on the web. Our servers are all Sun/Solaris boxes, although
    we display on DOS boxes. Excel we get from a program, not from the
    report server.
    Report builder 6.0.8.10.1, database claims to be 8.1.7.0.0.
    Sorry I can't help much more than saying "yes, it can be done".
    Allan Plumb

  • I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro D

    I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro DC has limitations. There is no way to define what points in columns to force break column? Nor create many columns that are useless? How does text to column in Excel, fixed size when we import text, and define where the breaks have columns?
    Google Tradutor para empresas:Google Toolkit de tradução para appsTradutor de sitesGlobal Market Finder
    Desativar tradução instantâneaSobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar feedback

    PDF does not contain columns, rows, formats, styles, or other aspects of word processing or spreadsheet file formats.
    This is because PDF is decidedly not a word processing or spreadsheet file format or something "like" one of those.
    (see ISO 32000 for what PDF "is")
    What can optimize the export of PDF page content is to start with a well-formed tagged PDF (ISO 14289-1, PDF/UA-1 compliant).
    Without that export is what it is and one performs whatever content cleanup is needed using the native application for the export file (MS Word or Excel).
    Be well...

  • I've uploaded 4 pdf documents. Now how do I convert them to Excel format?

    I've uploaded 4 pdf docs. Now how do I convert them to Excel format so I can manipulate the data?
    linda93790

    Hi linda93790,
    If you uploaded your files to http://cloud.acrobat.com, simply click on one of the PDF files, then click 'ExportPDF' from along the top-bar in your browser.  This will automatically load that PDF into the ExportPDF system.  From there, you can configure any options you may need and convert the file to an .xlsx file.
    Please let us know if you have any questions!
    Thanks,
    David

  • "Can I select only one page from a PDF document to convert to an excel doc. ?"

    "Can I select only one page from a PDF document to convert to an excel doc. ?"

    No, so extract one page, then convert.

  • Convert rtf to pdf with good font and sharp images

    I can convert rtf to pdf in Microsoft Word (2004) using the Print function but the resulting document doesn't maintain the same font and the images look a bit hinky as a result.
    I tried to convert from rtf to pdf in Acrobat 9 but it sez unsupported file type.
    I just want a really clean conversion that keeps the images sharp and the fonts looking good.  Am I out of luck?

    <!--- source:http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?cont ext=ColdFusion_Documentation&file=00001585.htm ---> 
    <cflock scope="Application" type="exclusive" timeout="120">
    <cfif not StructKeyExists(application, "MyWordObj")>
     <!--- First try to connect to an existing Word object --->  
    <cftry>
    <cfobject type="com"
    action="connect"
    class="Word.application"
    name="Application.MyWordobj"
    context="local">  
    <cfcatch>
    <!--- There is no existing object, create one --->  
    <cfobject type="com"
    action="Create"
    class="Word.application"
    name="Application.MyWordobj"
    context="local">  
    </cfcatch>
    </cftry>
    <cfset Application.mywordobj.visible = False>
    </cfif>
    </cflock>
     <!--- Convert a Word document in temp.doc to an HTML file in temp.htm. --->
    <!--- Because this example uses a fixed filename, multiple pages might try
    to use the file simultaneously. The lock ensures that all actions from
    reading the input file through closing the output file are a single "atomic"
    operation, and the next page cannot access the file until the current page
    completes all processing.
    Use a named lock instead of the Application scope lock to reduce lock contention. ---><cflock 
    name="WordObjLock" type="exclusive" timeout="120">
    <cfset docs = application.mywordobj.documents()>
    <cfset docs.open("c:\ColdFusion8\wwwroot\RTFtoPDF\temp.rtf")>
    <cfset converteddoc = application.mywordobj.activedocument>
    <!--- Val(8) works with Word 2000. Use Val(10) for Word 97 --->
    <cfset converteddoc.saveas("c:\ColdFusion8\wwwroot\RTFtoPDF\temp.htm",val(8))>
    <cfset converteddoc.close()></cflock>
    <!--- Read the HTML file ---><cffile 
    action="read" file="#expandPath('temp.htm')#" variable="fileToConvert">
    <!--- Convert from HTML to PDF---><cfdocument 
    overwrite="yes" filename="#expandPath('temp.pdf')#" format="PDF"><cfoutput>#fileToConvert#</cfoutput></cfdocument>
    <p>Conversion from temp.rtf to temp.pdf complete</p>

  • Help with converting pdf to excel

    I have a pdf of an excel file which I need to convert back to excel.  The problem is that when I convert it only half the pages convert correctly to excel but the first three pages are unreadable.  Any suggestions as I am stuck on why it only converts half the pages correctly.

    You must be using the subscription service with Adobe Reader (ExportPDF)?
    If so, you would need the password for the pdf. The bank may have (automatically) added a password preventing any changes. That would need to be removed first.

  • Generating reports in RTF and Excel on Sun Solaris

    hi,
    Could any one of u out there kindly tell me if it is possible to generate reports in RTF and Excel formats on a Report Server running in Sun Solaris machine. We use Reports 6i.
    Because I am able to generate a report in RTF format on report running in Windows NT machine, but on Solaris i get a message that the Reports Server terminated abnormally!.
    Thanks,
    Prabhu S

    Could you please tell us whether you fllowed any special procedures
    or made some specific settings to launch RTF reports ?Can't help much, I'm afraid. The report and web server settings were
    all made before I got here, and are not visible to me.
    We can get RTF from report builder/generate-to-file and when running
    reports on the web. Our servers are all Sun/Solaris boxes, although
    we display on DOS boxes. Excel we get from a program, not from the
    report server.
    Report builder 6.0.8.10.1, database claims to be 8.1.7.0.0.
    Sorry I can't help much more than saying "yes, it can be done".
    Allan Plumb

  • Converting RTF to PDF?

    Hi all,
    I am developing a system which allows users to upload RTF files (generated by Microsoft Word). My program will convert them to PDF programmatically on the server side and send the PDF back to the users.
    I installed a PDF printer driver on the server, and then use JEditorPane to load the RTF file and print it to the PDF printer. This works fine for simple RTFs, but for fancy RTFs (eg. with headers and footers, or watermarks) this doesn't work very well, because the RTFEditorKit in Java does not support some advanced features in the RTF specification.
    Anyone has a solution to this problem? Is there an RTF reader which are fully compatible with MS Word, even non-Java ones? Thanks a lot!!

    I've got no experience in this area, but I think OpenOffice has an API that may offer functionality to convert rtf documents to pdf(or any other format openoffice can convert).

  • How to convert sapscript to excel & send it as attachment in mail?

    Hi,
    I have a requirement to send the customer statement  in excel format with all open items to the customer email address.  I am creating the customer statement via sapscript . Then I need to convert that into excel. I tried using CONVERT_OTF. But alignment is not coming properly. I have logo also in the script. That also I want in the excel . When I send the mail, the data is not showing correctly
    Has anyone worked in similar scenario? Please tell me what are the ways for doing this?
    Thanks in advance,
    Jissa.

    HI,
    For sending script output through email
    Please check this code it may help u.
    FORM send_mail USING p_y16m_rcp_par STRUCTURE y16m_rcp_par.
    Have a subject for the mail
    g_s_document_data-obj_name = text-t02.
    g_s_document_data-obj_descr = text-t03.
    Fill receiver information
    g_s_receivers-rec_type = p_y16m_rcp_par-rec_type.
    g_s_receivers-rec_id = p_y16m_rcp_par-rec_id.
    g_s_receivers-express = 'X'.
    APPEND g_s_receivers TO g_t_receivers.
    Call function to send mail
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
    EXPORTING
    document_data = g_s_document_data
    document_type = 'RAW'
    PUT_IN_OUTBOX = ' '
    IMPORTING
    SENT_TO_ALL =
    NEW_OBJECT_ID =
    TABLES
    OBJECT_HEADER =
    object_content = g_t_object_content
    CONTENTS_HEX =
    OBJECT_PARA =
    OBJECT_PARB =
    receivers = g_t_receivers
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " SEND_MAIL
    Regards,
    Pavan.

  • Adobe  Standard  X1  to  convert    PDF  to  Excel

    I  was  advised  by  an  adobe  staff  member  to  purchase   Adobe   Standard  X1  to  convert  PDF  to  Excel.   However  the info  is  placed  randomly  on  the  page.

    Subscriber for what? Acrobat? If so, just download it and install. Then start it and log in to activate your subscription version. You may have to wait for a few days for the subscription to be activated if you just purchased it today.

Maybe you are looking for

  • How do I delete multiple bookmarks in FF 10.0.1?

    For some reason,I am seeing multiple copies of bookmarks for the same site,and lately they seem to multiply like rabbits.Is there a way to select all the duplicates,and erase in one go? Thanks!

  • How to create automatic Transfer Order for posting change delivery mvt.321?

    Hi, We are using HU with WM functionality; While posting stocks after UD, the system creates a posting change delivery instead of directly posting the stock to unrestricted stock from quality stock. Now that we have to process the ourbound delivery b

  • Having Massive Issues with Apple TV 3

    I have just purchased an ATV3 and have tried to set it up however it is unable to connect to my internet network. I have a virgin media super hub with standard security, I am able to connect to it with my mac, iphone and ipad easily but just not the

  • Can I create a "Groups" feature in contacts that all people fall under it?

    I'd like to input a few peoples information, but I want to keep all of them together as a Group so that I just search for the group vs their names individually Can this be done inside of Contacts?

  • Button like JToolBar-button in JMenuBar

    I want to have a button with a functionality like a JToolBar-button in a JMenuBar with the LookAndFeel of the JMenuBar. A normal JButton can be integrated, but the LookAndFeel does not fit. import java.awt.BorderLayout; import java.awt.Container; imp