Column is shifted to 1 position right ( Excel file downloaded from ALV )

After downloading the data into the excel file from ALV ... i checked the file & i came to know that all the columns are shifted to 1 position right. Can anyone help me? Is there any sap notes available for this problem

Hello
What is the result if you open the exported file via 'File => Open' in the excel program?
what is you current basis level?
Jude

Similar Messages

  • Problem in opening of word and excell files downloaded from email attachment in MS office professional 2013 paper licence

    Hi,
    I am facing the problem in opening the word and excel files received through email in my MS office professional 2013 paper licence, Microsoft Windows 8.1 enviornment. please help in this matter
    regards
    Rajeev Bhagwat
    Administrative Officer-I
    Purchase and Store Section
    UGC-DAE Consortium for Scientific Research,
    University Campus, Khandwa Road, Indore (M.P.), India.
    Telefax-+917312361546

    I should further say the files I sent are .xlsx and .docx files.  They look fine my end and I send such files all the time without problems.
    However, I did try to cheat by going in via the Safari onto my 'live' online email account and the Safari automatically transfers them to winmail.dat files with the same result.
    Ahh - have just been on using my PC this time and you are right, it seems that the service provider does the transfer and then when my outlook opens the file (on the PC), it must reconvert to .xlsx etc again.
    Very strange.
    Ergo, I guess the question should be how I open wimail.dat files ??

  • Regarding excel file download from webdynpro table element

    Hi All,
            I want steps to do excel download from webdynpro table element.
    Thanks in advance.
    Regards,
    Muneesh Gitta.

    Hi Gitta,
    There are 2 ways in doing it, one is using GUI DOWNLOAD FM or using class clwd_runtime_services.
    DATA:
        node_node_alv                       TYPE REF TO if_wd_context_node,
        elem_node_alv                       TYPE REF TO if_wd_context_element,
        stru_node_alv                       TYPE wd_this->element_node_alv,
        itab_node_alv                       TYPE TABLE OF wd_this->element_node_alv..
    navigate from <CONTEXT> to <NODE_ALV> via lead selection
    @TODO handle not set lead selection
      IF ( node_node_alv IS INITIAL ).
      ENDIF.
    get all declared attributes
      node_node_alv->get_static_attributes_table(
        IMPORTING
          table = itab_node_alv ).
      DATA:
        node_file_download                  TYPE REF TO if_wd_context_node,
        elem_file_download                  TYPE REF TO if_wd_context_element,
        stru_file_download                  TYPE wd_this->element_file_download ,
        item_fname                          LIKE stru_file_download-fname.
      navigate from <CONTEXT> to <FILE_DOWNLOAD> via lead selection
      node_file_download = wd_context->get_child_node( name = wd_this->wdctx_file_download ).
      get element via lead selection
      elem_file_download = node_file_download->get_element(  ).
      get single attribute
      elem_file_download->get_attribute(
        EXPORTING
          name =  `FNAME`
        IMPORTING
          value = item_fname ).
      CALL FUNCTION  'GUI_DOWNLOAD'
        EXPORTING
          filename                        = item_fname
        FILETYPE                        = 'ASC'
        TABLES
          data_tab                        = itab_node_alv.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    OR
    check this blog for
    Re: Export to Excel Sheet functionality

  • Excel File downloaded from application server is also opening in notepad

    Hi Friends,
    While downlaoding an excel file from the application server,we are able to open in notepad also.But this does not conatin the excel properties and hence happening.File should only oopen with excel and no other file type
    Can any open help on this
        ld_file =  '/usr/sap/trans/abap/HR_DATA.xls'.
        OPEN DATASET ld_file FOR OUTPUT in text mode ENCODING DEFAULT .
        IF sy-subrc = 0.
          LOOP AT int_final.
            CLEAR wa_string.
            CONCATENATE int_final-employee_sno int_final-employee_code INTO wa_string SEPARATED BY con_tab.
            CONCATENATE wa_string int_final-first_name         INTO wa_string SEPARATED BY con_tab.
    please help...
    Edited by: Neliea on Oct 29, 2009 1:11 PM

    Hi,
    Please refer to these links.
    [url]Re: Internal table to excel download?;url]
    [url]Re: Transfer from Internal Table to EXCEL file...;url]
    Regards,
    Aditya

  • I solved excel file  download from jsp or javabean

    first jexcel api download
    i used the jexcel api
    here sample ; using jexcel api
    This code is servlet
    ==================================================================
    SaleAgent sa = null;
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    // get Sale List DB Agent Class
    // you are modify
    sa = new SaleAgent();
    public void service(HttpServletRequest req, HttpServletResponse res)
    throws IOException, ServletException {
    res.setContentType("application/vnd.ms-excel");
    res.setHeader("content-disposition", "attachment; filename=datesale.xls");
    // to get Sale List Parameter
    // you are modify
    String biz_id = req.getParameter("biz_id");
    String begindate = req.getParameter("begindate");
    String enddate = req.getParameter("enddate");
    // send parameter , set Parameter to get Data List from Database
    // you are modify
    sa.processDaySale(biz_id, enddate);
    ServletOutputStream out = res.getOutputStream();
    try {
    WritableWorkbook workbook = Workbook.createWorkbook(out);
    WritableSheet sheet = workbook.createSheet("datesale", 0);
    // head cell
    WritableCellFormat cf = new WritableCellFormat();
    cf.setAlignment(Alignment.CENTRE);
    cf.setBackground(Colour.LIGHT_GREEN);
    cf.setWrap(true);
    // data cell
    WritableCellFormat cf2 = new WritableCellFormat();
    cf2.setAlignment(Alignment.CENTRE);
    cf2.setWrap(true);
    // total cell
    WritableCellFormat cf3 = new WritableCellFormat();
    cf3.setAlignment(Alignment.CENTRE);
    cf3.setBackground(Colour.LIME);
    cf3.setWrap(true);
    // etc
    WritableCellFormat cf4 = new WritableCellFormat();
    cf4.setBackground(Colour.LIME);
    cf4.setWrap(true);
    // column width setting
    sheet.setColumnView(0, 10);
    sheet.setColumnView(1, 15);
    sheet.setColumnView(2, 15);
    sheet.setColumnView(3, 15);
    sheet.setColumnView(4, 15);
    sheet.setColumnView(5, 15);
    sheet.setColumnView(6, 15);
    sheet.setColumnView(7, 15);
    // head row setting
    Label label = new Label(0, 0, "NO.", cf);
    sheet.addCell(label);
    label = new Label(1, 0, "sale_date", cf);
    sheet.addCell(label);
    label = new Label(2, 0, "week", cf);
    sheet.addCell(label);
    label = new Label(3, 0, "total_sale", cf);
    sheet.addCell(label);
    label = new Label(4, 0, "net_sale", cf);
    sheet.addCell(label);
    label = new Label(5, 0, "cash", cf);
    sheet.addCell(label);
    label = new Label(6, 0, "card", cf);
    sheet.addCell(label);
    label = new Label(7, 0, "merch_bond", cf);
    sheet.addCell(label);
    // data row setting
    int t_total = 0;
    int t_net = 0;
    Number number = null;
    int maxRow = sa.getCount();
    for(int i = 0; i < maxRow; i++) {
    int t_sales = sa.getTotal_Sales_Price(i);
         int n_sales = sa.getTotal_Sales_Price(i) - sa.getTotal_Dc_Price(i);
    number = new Number(0, i+1, i + 1, cf2);
    sheet.addCell(number);
    label = new Label(1, i+1, sa.getSale_Time(i), cf2);
    sheet.addCell(label);
    number = new Number(2, i+1, t_sales);
    sheet.addCell(number);
    number = new Number(3, i+1, sa.getTotal_Dc_Price(i));
    sheet.addCell(number);
    number = new Number(4, i+1, n_sales);
    sheet.addCell(number);
    number = new Number(5, i+1, sa.getCash(i));
    sheet.addCell(number);
    number = new Number(6, i+1, sa.getCredit_Card(i));
    sheet.addCell(number);
    number = new Number(7, i+1, sa.getMerch_bond(i));
    sheet.addCell(number);
    t_total = t_total + t_sales;
    t_net = t_net + n_sales;
    // total row setting
    label = new Label(0, maxRow + 2, "", cf4);
    sheet.addCell(label);
    label = new Label(1, maxRow + 2, "Total : ", cf3);
    sheet.addCell(label);
    number = new Number(2, maxRow + 2, t_total, cf4);
    sheet.addCell(number);
    label = new Label(3, maxRow + 2, "", cf4);
    sheet.addCell(label);
    number = new Number(4, maxRow + 2, t_net, cf4);
    sheet.addCell(number);
    label = new Label(5, maxRow + 2, "", cf4);
    sheet.addCell(label);
    label = new Label(6, maxRow + 2, "", cf4);
    sheet.addCell(label);
    label = new Label(7, maxRow + 2, "", cf4);
    sheet.addCell(label);
    workbook.write();
    workbook.close();
    } catch(JXLException e) {
    e.printStackTrace();

    humm
    may be servlet link's target have to hidden frame
    i don't know correctly reason...

  • Totals not displaying in excel when download from ALV?

    Hi,
    I have a program that displays the output in ALV with totals. I am using REUSE_ALV_GRID_DISPLAY. The output in the ALV is correct, totals are also displayed correctly. But when I click on the excel button, data is shown in excel correctly but the TOTALs are not displayed. Please let me know what could be the reason.
    I am also trying to put the totals text as
       gb_layout-zebra = 'X'.
       gb_layout-totals_text = 'Totals'.
    but Totals text is not printed in the total of ALV.
    Thanks,
    Deepthi

    Hi Deepti,
    Check your field catalog whether you have missed any parameter.
    W_FLDCAT-FIELDNAME = 'NETWR'.
    W_FLDCAT-SELTEXT_L = 'Net_Value'.
    W_FLDCAT-COL_POS = 6.
    W_FLDCAT-OUTPUTLEN = 10.
    W_FLDCAT-DO_SUM = 'X'.
    W_FLDCAT-DATATYPE = 'CURR'.
    My guess you might be getting #### symbols if yes the no problem just extend the excel sheet cell(drag the cell are extend ) you can see the values removing #### symbols.
    Cheers!!
    VEnk@
    Edited by: Venkat Reddy on Nov 1, 2008 11:17 AM

  • Column shifted during Local file download in ALV Grid

    Dear Experts,
    I have an ALV grid editable report program. The program is developed to maintain custom table data.
    The table data will be maintained using this report.  User can edit the data and can save it. In this report there are some columns which are defined as checkbox (fieldcat-checkbox   = 'X'.).
    I have the buttons "Excel Upload" and "Download Template" in the application tool bar of ALV display. 
    Users can use the "Download Template" which can be used to get the exact excel format.
    But sometimes they just download the data into the Local PC file (Excel format), modify the excel data (remove ALV header and space rows) and upload by using the ALV button.(ALV Tool : cl_gui_alv_grid=>mc_mb_export)
    While downloading  I observed the ALV column values which have defined as checkboxs have shifted to next one in Excel file.
    Do any one now how to resolve this error? The column values which are defined as "Check box"  (fieldcat-checkbox   = 'X', (fieldcat  TYPE lvc_s_fcat) should not be shifted to next column in Excel during SAP standard ALV Grid download
    (ALV Tool : cl_gui_alv_grid=>mc_mb_export). 
    I am checking the ALV layout parameters. But doesn't help. If any one knows the solution please share it with me.
    Thank you.
    Kind Regards,
    Senthilraj S

    Hi,
    I know that you want to participate in answering the questions which is a good thing.
    But please check  the posting date before answering.
    sorry iam just reminding of the posting date.
    Hope you understand what i meant.
    thanks.
    Aswath
    Edited by: aswathsa on Jan 18, 2012 10:56 AM

  • Excel 2013 doesn't display .xls file downloaded from Wells Fargo (Inconsistent)

    I have two computers exhibiting the same problem but not every time.
    Windows 7 Pro 64-bit
    Office 2013 64-bit
    Download an .xls file through Chrome or IE.
    Download is fine
    Attempt to click to open.
    Excel Launches, appears in the taskbar, file never opens... Excel is unresponsive.
    Right Click Task Bar icon, program will close.  You can open other files just fine.
    I noticed when you double click the file to open, two excel.exe processes open in Task Manager... not sure if that is normal.  When you close excel, they both disappear.
    Thoughts?

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Did this issue only occur with the .xls files downloaded from Wells Fargo website? Have you tried from other website, such as OneDrive?
    Have you tried to download some .xlsx files to test from Wells Fargo website?
    Please do some tests to narrow down the issue.
    1) Try to convert the .xls files to .xlsx files, if we can open the .xlsx correctly, this issue may be caused by the compatibility issue between Office 2013 and Office 97-2003 format. Thus, I recommend you convert the file to Excel 2013
    format.
    2) Open the Excel program first=>Click Open=>Navigate to the file=>Then open it. If it also can be opened correctly, this issue may be caused by the Dynamic Data Exchange. Please try to turn off the "Ignore other applications that use
    Dynamic Data Exchange (DDE)“ setting.
    Steps:
    1.Click the File tab, and then click Options.
    2.Click Advanced, scroll down to the General section, and then clear the Ignore other applications that use Dynamic Data Exchange (DDE) check box in the General area.
    3.Click OK.
    If you have any update, please feel free let me know.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Downloading from alv to excel file

    hai
       while downloading from alv grid to excel  file
      i am not getting values properly. i have taken 110 fields. i am not getting prper way. can u plz tel me way....

    Hi ....
    I have the similar problem. My coumns are not in any sequence when I download it to excel sheet.
    How do I fix it.
    Neha

  • The data type DEC while downloading from ALV to EXCEL

    The data type DEC while downloading from ALV to EXCEL is giving some invalid data .
    Ex : In ALV field is the time difference in  hours:minutes
      if the value is  :23 in Excel it will be 22:59 .
    Please Suggest immediately

    Hi ....
    I have the similar problem. My coumns are not in any sequence when I download it to excel sheet.
    How do I fix it.
    Neha

  • Excel download from ALV not working inproduction

    Hi all,
    I am using "set_table_for_first_display" for alv display. the excel download from alv is woking fine in development and quality stystem but in production only first 3-4 rows are getting downloaded. Other rows donot appear in excel.
    Any Idea !!!
    Thanks
    Madhu

    Hi Experts,
    I have noticed that same problem is occuring in development system also with same set of data . The ascii file created has some missing rows. I guess its due to some special characters though i am not able to see any special character . Any solution for this.
    Regs
    madhu

  • I cannot Open EXCEL files transferred from my old HP laptop.

    I am unable to open EXCEL files transferred from my HP LapTop. How to resolve?

    The forum for MBP:
    MacBook Pro
    As for Excel, checked microsoft office community?
    Maybe if you try export first....?
    Vista has its own ownership permission flags. Maybe if you modify the file or a copy first, and then copy.

  • I am unable to open attachments (Word Documents, Excel file, Adobe) from my Gmail with Firefox.

    I am unable to open attachments (Word Documents, Excel file, Adobe) from my Gmail with Firefox. My computer freezes when I try to open the (email attachment) file. Task Manager says "not responding".
    You can respond to [email protected]

    You may first want to look into Safari's "Installed Plugins" section within the browser. This is (usually) found under the Safari Help header in the top of a browser. I say usually, because I don't use Safari often and mine is an older version. They handle applications and plugins like most others, to a point.
    I see in Safari Installed Plugins that mine would use
    application/pdf
    Acrobat Portable Document Format
    Acrobat Reader & reader plugin v9.5.5 for web browsers
    (in Safari 5.x, where I looked into this)
    While I use FireFox, SeaMonkey (Mozilla) and others, where I can choose in preferences the helper applications to open from the browser, Safari has different methods; so if you can change this in the preferences or settings of Safari in a later version I am not certain.
    You could see what the defaults are by using Safari help menu to open the Installed plugins, and maybe find out what happend to Adobe reader plugin. Could be it was 'sandboxed' in a later OS X and needs to be installed differently to be accepted as safe.
    It is easier to set how a file type is handled once it is inside the computer and not held in the browser; by file type in general or specific to each single document. I do both, and seldom let an a browser do these things due to security considerations. I download and open them, only then if I feel they are safe.
    Sorry to not have a specific answer for that anomaly.
    Good luck & happy computing!

  • Excel File Download and Drop downs at Column Level

    Hi All,
    I am able to download the excel file, but I want to include dropdowns for each column. So that using those values user can add new records using the drop down list values.
    I am thinking it is not possible. Can some one validate me..?
    I have another approach.
    I will download masterdata and the Filedata to the excel and later i will create the relation to show the listbox. But i am not able to download(add the tab) to the existing Excel file. In short is it possible download the multiple files into a single excel file, with different tabs.
    Thanks and Regards
    Vijay

    Hello,
    As you wanted to include dropdowns for each column, it is possible in two ways.
    Way1: Statically
    Create a View element with type Dropdown by key as one of the table column -->bind the property 'Selected Key' to the required attribute(Since attribute type will be specified to be the data element and within domain can have Fixed values --> The table column would be automatically displayed with dropdown entries.
    Way2: Dynamically
    In the WDDOINIT method of that view where you have dropdownkey element has located -->Write the following code
    DATA:    lo_node_info             TYPE REF TO    if_wd_context_node_info.
      lo_node_info->set_attribute_value_set(
        EXPORTING name      = 'Attribute_Name'
                  value_set = lt_value_set ).
    lt_value_set shall be populated with the data that you wanted to display in the dropdown.
    Thanks,
    Bharath.K

  • Refresh data in SWF based on excel file saved from SAP BW workbook

    Hi, is there a way to get data refresh in SWF dashboard from excel file as a data source. SAP BW workbook report will be saved as an excel file daily and placed in somewhere. I would like to create a dashboard which can connect to the excel data source and refresh on load.
    Appreciate your advice and help. Thank you.
    I am using Xcelsius 2008 and SAP BI 7.0

    Thank you.
    If I understand correctly from your advice, that is I should create QaaWs to pull data from SAP BI, which will return data in tabular format. Map the data in the cell range of a hidden tab, re-arrange and format the data into the row?
      Another concern: I need to display data for 4 quarters (Q1, Q2, Q3,Q4) in the dashboard, but QAAWS will only pulls data when the data is available in the database.
       Eg. Only data for 3 quarters are found in the database, QAAWS will return data for Q1, Q2,Q4.
             This will mess up the position fixed in the xcelsius. Do you have any suggestion on this?
       Sorry to bother u for the simple questions.
       Thank you.

Maybe you are looking for

  • Creation of Unique Number Ranges for Organizational Objects

    Hi Gurus, As per our client's requirements, We need to create unique number ranges for Organizational Objects such as O,S,P to distinguish based on the Object ID. Could you please help me out to create the same. And also to create unique number range

  • Help needed in spooling a file

    hello gurus , i have a table emp consist of values like name place phno abcd ksla 123 errd lkis 456 ertw asd 324 reqq lsd 432 then i did was spool d:/file1/empdetails.xls select * from emp then the file got spooled but the output was not exactly wat

  • Back can will not work

    I have wiped my phone and closed all apps and the cam will not work it is just showing a black screen but the forint once is ok is there anything I can do or should I contact Vodafone ? I have the iPhone 5 in black

  • Listcube to Planning Area

    Hello Experts, While releasing the value from listcube to supply planning book ( via tx - /sapapo/rel_to_snp), an error pop-up. "Characteristic combination XXXXXXX ( Mat. No) - XXXX ( plant No ) : Negative values set to Zero" Any clue why is this hap

  • Problem with Forte Express, on priorities of the ORDERBYconstraints .

    In my businessModel I've got 2 Tables : Table MACHINE : - MACHINE_ID, MACHINE_NAME, MACHINE_BRAND, MACHINE_MODEL, USERS_ID (which is a foreign key of the table USERS.) Table ACTIVITY : - ACTIVITY_ID, ACTIVITY_NAME. In my applicationModel I've got a b