Problem when we dowload spool list into excel.

Hello Gurus,
I have developed an custom report, The output contains 15 columns. When i run the report in foreground the output will be displayed in correct format also when i download the report list into excel(List->Save/Send->File) then the records will be downloaded in proper format(Each record under respective column heading).
But when the report is scheduled in background the spool list(SP01) is displayed in the proper format. But when I download this into excel(SppolRequest->Forward->SaveToLocal) . The excel data will be in improper format and all record value are not under respective column heading.
Can anyone advice me.
Thanks and regards,
Vinod

Hi,
  Use the FM 'EXCEL_OLE_STANDARD_DAT'.
In this FM populate the tables parameter 'fieldnames' to get each cloumn below the heading correctly.

Similar Messages

  • Problem in saving the spool list into Excel file.

    Hello Friends,
                         I run a background process for a report, and storing the resulting list into Excel format file. But the result is column values jumbled, it means columns values are not sitting in the right place in excel sheet.
    I also tried saving as unconverted text file and then open it using excel still the same result.
    Cheers,
    Senthil

    Hi,
      Use the FM 'EXCEL_OLE_STANDARD_DAT'.
    In this FM populate the tables parameter 'fieldnames' to get each cloumn below the heading correctly.

  • Export Custom List into Excel through custom Ribbon

    Hi i have a requirement, in that i need to export custom list into EXCEL through custom Ribbon. For Example in my list, i have Col1, Col2, Col3. Col3 has multiple values (allow mutiple values) and when export this into excel all values in Col3 should
    come as new rows and rest of the column values should duplicate. please helpout from this requirement.
    List View
    Col1   Col2      Col3
    v1        v2    v31,v32,v33
    Excel View
    Col1  Col2  Col3
    v1      v2      v31
    v1      v2      v32
    v1      v2      v33
    Nihath

    Hello Nihath,
    As per your description, you have to read each and every items in list with column value then only you can generate excel. There is direct way to export datatable to excel but in your case you will also need to iterate Col3 value to create new row in excel.
    I would suggest to use CAML query to get all items then check Col3 value. If there are multiple value then add them as new datatable row and finally export full datatable to excel.
    Here is link for CAML:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spquery.listitemcollectionposition.aspx
    Export datatable to excel:
    http://stackoverflow.com/questions/12533626/export-datatable-to-excel
    Finally add this feature in ribbon:
    http://ankurmadaan.blogspot.in/2012/10/custom-ribbon-action-for-specific-list.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • I am having a problem when I plug my iPod into my macbook. When I plug the cable into my mac I get the following message - "Because a USB device was drawing too much power from your computer, your USB device has been disabled." PLEASE HELP!

    I am having a problem when I plug my iPod into my macbook. When I plug the cable into my mac I get the following message - "Because a USB device was drawing too much power from your computer, your USB device has been disabled." CAN SOMEONE PLEASE HELP!

    The rest of the message in the pop up window says "To prevent damaging your computer, the USB device drawing too much power has been disabled. Other devices may have also been disabled. When you disconnect the device drawing too much power, your other USB devices will be enabled again."

  • How to convert alv list into excel file?

    Hi Experts,
            i have created one report for Due Date Analysis.
    Now My output is displaying in ALV list. But I need to convert the data which in alv list into Excel File. then only i have to send the Excel File to the Customer Thro Email.
         So i need the Function Module to Convert the Data into Excel File.
    Thanks,
    Neptune.M

    Hi,
      U can use function module gui_download.
      CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
        BIN_FILESIZE       =
          filename           = 'C:\Transportaionlane.XLS'
          filetype                       = 'DAT'
        WRITE_FIELD_SEPARATOR           = ' '
        HEADER                          = '00'
        TABLES
          ata_tab                       = t_trans_lane_dis[]
           OTHERS                          = 22
    if u want with header then pass the header.
    regards
    Ahasan

  • User request to explore the possibility of downloading the distribution lists into excel for maintenance in t-code SO23.

    Hi Experts,
    There is a requirement from user that  "To explore the possibility of downloading the distribution lists
    into excel for maintenance in t-code SO23 ".
    Kindly provide your valuable informations/assistance in this regard.
    Madhavan K

    This Applesctipt will add comma's to the file count:
    (Copy into Applescript Editor, and Save as File Format: App, then just click the App to run)
    set x to choose folder with prompt "Choose Folder to Count Files" default location alias (the path to pictures folder as text)
    set filecount to do shell script "find " & POSIX path of x & " ! -type d ! \\( -name \".*\" -or -name \"Icon*\" \\) | wc -l"
    display dialog "File Count: " & comma_delimit(trim(filecount))
    on trim(someText)
              repeat until someText does not start with " "
                        set someText to text 2 thru -1 of someText
              end repeat
              repeat until someText does not end with " "
                        set someText to text 1 thru -2 of someText
              end repeat
              return someText
    end trim
    on comma_delimit(this_number)
              set this_number to this_number as string
              if this_number contains "E" then set this_number to number_to_text(this_number)
              set the num_length to the length of this_number
              set the this_number to (the reverse of every character of this_number) as string
              set the new_num to ""
              repeat with i from 1 to the num_length
                        if i is the num_length or (i mod 3) is not 0 then
                                  set the new_num to (character i of this_number & the new_num) as string
                        else
                                  set the new_num to ("," & character i of this_number & the new_num) as string
                        end if
              end repeat
              return the new_num
    end comma_delimit

  • HT1414 I am going through the process of unlocking my iphone 4 and have had all the go aheads from my service provider but i am still having problems when i plug the phone into itunes. Has anyone else had this program

    I am going through the process of unlocking my iphone 4 and have had all the go aheads from my service provider but i am still having problems when i plug the phone into itunes. Has anyone else had this problem??

    Umm, what problem?  What actually happens when you try to restore it in iTunes?

  • Facing problem while downloading ALV grid Output into Excel

    Hi Guys,
    I am facing problem while downloading ALV grid Output into Excel.
    It is downloading into excel, but all character columns first and next all quantity columns it is displaying. But I need columns order as it is in the grid.
    If I take all columns as characters it works fine. But it will be problem for calculating total, subtotals of quantity columns
    Can someone help me regarding this
    thanks for your help

    Hi,
    Open up Excel on your desktop. Goto Tools > Macro > Security.
    Make sure that your security is set to Medium (or less). SAP uses OLE automation to run the Excel instance and in Office 2003 (for example), Microsoft has increased their default security setting to High. With the High setting, the output to Excel fails.
    Was this your problem? Don't forget those points, either.
    check with this wetther it is solved or not.
    Regards,
    sana.

  • I am having a problem converting a scanned pdf file into Excel.

    I am having a problem converting a scanned pdf file into Excel. I do not get the columns and rows to align, just a single column of everything. Any suggestions?

    Export makes use of what is "in" a PDF.
    Good export is the "silk purse" and, ya know, you canna make a silk purse from a sow's ear (which is what any scanned image in PDF is with regards to export).
    The quality of export is dictated by the quality of the PDF. We are taking about the "inner essences" of the PDF (e.g., degree of compliance with the PDF Standard - ISO 32000-1).
    So, what goes in goes out or "GIGO".
    This has nothing to do with Acrobat or Acrobat's export process.
    A well-formed Tagged PDF (compliant to ISO 32000-1 & ISO 14289-1, PDF/UA-1) provides a PDF that proactively
    supports content export by Acrobat.
    To get the good stuff from export you start with a well-formed Tagged PDF.
    Goodstuff In — Goodstuff Out
    or
    Garbage In — Garbage Out
    "GIGO"
    Be well...
    Message was edited by: CtDave

  • Printer Spooler Problems when I try to print in Excel, drivers are deleted!

    I recently installed my HP Laser-jet 2600n drivers on to my laptop (HP G61).  For a few days everything worked fine, then when I tried to print a spreadsheet in Excel, I received the message "no printer drivers installed".  I reinstalled them, and once again the same thing happened. I re did it, and this time printed out from my email, a word doc, and the internet, all OK, but when I went back into Excel (2007), it once again deleted the files. When I do a diagnostic check on the HP website, it tells me there is a print spooler problem, and proceeds to fix it, but then it all starts again. I have now reloaded the drivers at least 6 times, it is getting very frustrating. I would appreciate any help. 

    '''bold text'''I've tried several different virtual pdf printer applications including:
    Foxit pdf printer
    doPDF v 7
    Nitro PDF driver v5
    NovaPDF
    Simpo PDF Creator
    qvPDF
    Virtual PDF Printer
    I took screenshots of the same small section of a sample pdf file saved to pdf using the virtual pdf printer freeware doPDF v7.
    Both test screenshots were taken on the same computer, a laptop running Vista Home Premium.
    You can clearly see the problem!

  • Convert spool output of ABAP list into excel and send email

    Hello All,
      I have a requirement where we need to
    1. schedule a background job programtically
    2. moniter backround job (if complete or not)
    3. once its complete take spool output ,convert into excel and email.
    I have following difficulties.
      1. i have reached upto stage 3. However, i am not getting proper ouput of excel via mail. it contains junk characters. I searched SDN and tried various option but not successful.
    2. AT last i have submited report and collected output in memory rather than submiting back ground job. Now excel out put is coming somewhat as required but while sending mail , i am getting limitation of 255 chars . My excel row has more than 255 line size.
    Please suggest.
    Thanks in advance,
    jigs.
    <<text removed>>
    Edited by: Matt on Jul 1, 2009 3:52 PM - removed point offer

    I've edited your post.  Please take the time to read the Rules of Engagement of these forums.  Offering points is not permitted for reasons outline in the Rules of Engagement.
    matt

  • How to convert the customized report sales price list into excel sheet

    hi friends,
    i am faceing the probulem in VK13 report is not conveting into excel sheet, then i developed the one customized report,
    in this report i am using the tables are a506, konp,and makt, result is coming and it converted into excel sheet in my systam. when i was clik on the excel sheet icon it comming  excel format it working fine and save it. But in menubar list>export> localfile and select redio button spredsheet this navigation only it print the three colums not coming the total colums,
    same program test in another system it not converted into excel sheet, when i am click on excel sheet icon  it's given the message is 'VIEW CAN NOT BE SWITCHED, PRODUCT NOT INSTALLED OR INTEGRATION NOT ACTIVE'. but i giving the print privew it giving the three colums only,.
    In program i am using regular using reuse_alv_grid_display FM only.
    sorry this qusition is repeted becuse before that one mising some text.
    any one plz help me.
    thanks
    raj

    nice answer

  • Weird problem when downloading the output to an excel sheet

    Hi to all,
          when i download the list, output by an alv grid, i observe a weird problem..in the excel sheet the last digit (10th digit) of the first col. which is delivery no., is getting truncated...0001802563 is getting downloaded as 000180256..couldn't understand why...when i use conversion_exit fm, the values are not getting truncated and downloading correctly...curious to know what's gone wrong in this funcationality? thanks all
    cheers,
    Shankar. M.

    actually the problem is in the field catalog.if u can send me the code, i shall bug fix it for u.

  • Problem pulling data from Microsoft Access into Excel

    Using Office 2010 pro, Windows 7:
    I'm trying to pull in data from a password protected Access Database into Excel but I am having all kinds of problems..
    In Excel im using:-
    Data Link Properties> "Provider"> MS Office 12.0 Access database Engine OLE DB Provider
    "Data Source": the full path and filename to the access database
    "Enter information to log onto your server" - "use NT integrated security" is greyed out so I select username "Admin" and password <the database password>.
    When clicking on "Test connection" I get the following error message:
    "The test connection failed because of an error in initializing provider. Cannot start your application. The workgroup information file is missing or opened exclusively by another user."
    Any help would be very much appreciated!
    With thanks, NECoder

    a similar issue:
    http://social.technet.microsoft.com/Forums/en-us/5779d18b-a41e-416e-9001-8bbc73670591/test-connection-failed-because-of-an-error-initializing-provider?forum=sqldataaccess

  • Export ALV List into Excel Sheet

    Hi Friends,
    We are displaying an ALV List in report Program and we are exporting that into excel sheet using the icon "Spreadsheet(ctrlshiftF7)"provided by ALV Grid.
    But when it is displayed in Excel sheet it changes the sequence of columns (fields).
    And we observed that it displays all the CHAR fields first then the CURRENCY fields and then the DATE fields that we specified in field catalog.
    So, what should be done so that the fields are exported into Excel in the same order as specified in the field catalog of ALV List.

    Give this a look.
    REPORT ZEXCEL .
    INCLUDE ole2incl.
    DATA: application TYPE ole2_object,
    workbook TYPE ole2_object,
    sheet TYPE ole2_object,
    cells TYPE ole2_object.
    CONSTANTS: row_max TYPE i VALUE 256.
    DATA index TYPE i.
    DATA: BEGIN OF itab1 OCCURS 0, first_name(10), END OF itab1.
    DATA: BEGIN OF itab2 OCCURS 0, last_name(10), END OF itab2.
    DATA: BEGIN OF itab3 OCCURS 0, formula(50), END OF itab3.
    *START-OF-SELECTION
    START-OF-SELECTION.
    APPEND: 'Peter' TO itab1, 'Ivanov' TO itab2,
    '=Sheet1!A1 & " " & Sheet2!A1' TO itab3,
    'John' TO itab1, 'Smith' TO itab2,
    '=Sheet1!A2 & " " & Sheet2!A2' TO itab3.
    CREATE OBJECT application 'excel.application'.
    SET PROPERTY OF application 'visible' = 1.
    CALL METHOD OF application 'Workbooks' = workbook.
    CALL METHOD OF workbook 'Add'.
    Create first Excel Sheet
    CALL METHOD OF application 'Worksheets' = sheet
    EXPORTING #1 = 1.
    CALL METHOD OF sheet 'Activate'.
    SET PROPERTY OF sheet 'Name' = 'Sheet1'.
    LOOP AT itab1.
    index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
    CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
    SET PROPERTY OF cells 'Value' = itab1-first_name.
    ENDLOOP.
    Create second Excel sheet
    CALL METHOD OF application 'Worksheets' = sheet
    EXPORTING #1 = 2.
    SET PROPERTY OF sheet 'Name' = 'Sheet2'.
    CALL METHOD OF sheet 'Activate'.
    LOOP AT itab2.
    index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
    CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
    SET PROPERTY OF cells 'Value' = itab2-last_name.
    ENDLOOP.
    Create third Excel sheet
    CALL METHOD OF application 'Worksheets' = sheet
    EXPORTING #1 = 3.
    SET PROPERTY OF sheet 'Name' = 'Sheet3'.
    CALL METHOD OF sheet 'Activate'.
    LOOP AT itab3.
    index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
    CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
    SET PROPERTY OF cells 'Formula' = itab3-formula.
    SET PROPERTY OF cells 'Value' = itab3-formula.
    ENDLOOP.
    Save excel speadsheet to particular filename
    CALL METHOD OF sheet 'SaveAs'
    EXPORTING #1 = 'c:\temp\exceldoc1.xls' "filename
    #2 = 1. "fileFormat
    Closes excel window, data is lost if not saved
    SET PROPERTY OF application 'visible' = 0.

Maybe you are looking for

  • After I installed my iWork then when tried to open it it will not open what should i do?

    After I installed my iWork then when tried to open it it will not open what should i do? Please help.

  • File Content Conversion - Sender File Adapter - Record Delimeter ~

    The inbound file has file has ~ as record delimeter. I am using the FCC at sender file adapter to covert this file into XML. Somehow, the file adapter is not able to interpret "~" as my record delimeter even thoough I specified "record.endSeparator =

  • 3.1.2 Not working???

    I have had the problem where i wont be able to recieve any calls or texts etc. and was really hoping 3.1.2 would solve this but to much dismay my phone is still experiencing the exact same problems. Everyone looks like they have had success with the

  • Time machine backup fail repeatedly

    It keeps telling me its 'already in use'. What the heck does this mean. I don't want to keep unplugging to resolve this problem. Why can't APPLE come up with permanent solution? It didn't happen for the first year or two of ownership and is now a gre

  • Ring File Unavailable--Nothing has changed, but now they don't work.

    I'm receiving an error message of "Ring File Unavaible". I have ensured it is converted to 8000hz, mono, 8-bit mu law and all of the variables. My Ringlist.xml is good to go. I am accounting for the use of capital letters. The error is not a bad ring