ALV Standard Layout with problem for excel download

Hi, i have a alv grid report with this problem:
I execute the report and see all data ok.
chose the download option to spreadsheet.
*When open the spreadshet only see headers and no data.
The report have a standard Layout with 4 of 12 column selected, if i execute this report and add a new column for the pool the download works fine, if i save this new layout as default and execute the report again the download don't work fine.
¿Some idea? Thxs

Just a wild guess. In your system, check the MS excel security settings. Excel->File->options->Trust center settings. We had some similar issues with excel columns visibility when you click on the ALV spreadsheet button or download which was corrected by changing the trust center settings. I don't exctly remember which settings affect this. You may have to compare the settings with another system (If it works fine in some other system which was the case in our issue). Pls ignore if not relevant.
Regards,
Gokul

Similar Messages

  • Is there a user exit for Excel download from Web Template?

    Hi,
    Is there a user exit for Excel download from Web Template?
    Thanks,
    Frank

    Hi,
    I need to do some data manipulation before export to Excel.  I could use Table Interface to manipulate the data before rendering to the Web.
    Regards,
    Frank

  • Problem with Obi for Excel and Agents - Obiee 11.1.1.6.6

    Hello,
    When I export query to Excel from a dashboard OBI, the file size is only *350 KB* but when I use agent for same query and send an email, the excel file size is *6 MB*, so there is a great diference in size and I have a problem because I have restriction for sending emails regarding to file size.
    Do you Know why increase a lot file size when I use aaan gent ?
    I have another question:
    When I use pluggin obi for excel, I am lossing information content when I use pluggin obi for excel.
    Do you know if I must to change configuration in instanceconfig.xml ? or is there another reason ?
    Regards,
    MBP

    Thanks Benoit,
    I changed the parameter jus like you suggested to me and it works very well, but I have another problem with agent and it is regarding to file size.
    When I export query to Excel from a dashboard OBI, the file size is only *350 KB* but when I use agent for same query and send an email, the excel file size is *6 MB*, so there is a great differenrence in size and I have a problem because I have restriction for sending emails regarding to file size.
    Do you Know why increase a lot file size when I use agent ?
    I have another question:
    When I use pluggin obi for excel, I have the same problem than I expused here at beggining with agent, I am lossing information content when I use pluggin obi for excel.
    Do you know if I must to change configuration in instanceconfig.xml ? or is there another reason ?
    Regards,
    MBP

  • Problem in Excel Download

    Hi,
    I am downloading data in an excel file using OLE download from an internal table say t_excel_tab. I need the data to be downloaded into excel in the same order as it was in the internal table t_excel_tab but somehow it is being sorted randomly based on 2 columns.
    Please help me solve this issue.
    Thanks in advance,
    Mathangi

    HI
    GOOD
    CHECK WITH THIS CODE AND USE ACCORDINGLY.
    FUNCTION-POOL ZTEST_OLE. "MESSAGE-ID ..
    TYPE-POOLS: abap.
    EXCEL sheet using OLE automation.
    INCLUDE OLE2INCL.
    DEFINE ole_error.
    IF NOT &1 IS INITIAL.
    MESSAGE e899(v1) WITH 'OLE Error ='(002) &1
    RAISING ole_error.
    ENDIF.
    END-OF-DEFINITION.
    TYPES:
    BEGIN OF ty_line,
    line(4096) TYPE c,
    END OF ty_line.
    CONSTANTS:
    c_tab TYPE x VALUE 9,
    c_bgrw TYPE i VALUE 1,
    c_bgcl TYPE i VALUE 1.
    *For EXCEL operations through ABAP
    DATA:
    w_excel TYPE ole2_object, "Holds the excel application
    w_wbooks TYPE ole2_object, "Holds Work Books
    w_wbook TYPE ole2_object, "Holds Work Book
    w_cell TYPE ole2_object, "Holds Cell
    w_format TYPE ole2_object, "Object for format
    w_font TYPE ole2_object,
    w_sheets TYPE ole2_object, "Holds Active Sheet
    w_range TYPE ole2_object, "To select a range
    *For data processing
    it_line TYPE STANDARD TABLE OF ty_line,
    wa_line TYPE ty_line,
    w_field TYPE ty_line-line,
    w_tab TYPE c.
    FIELD-SYMBOLS:
    <fs_field> TYPE ANY,
    <fs_hex> TYPE ANY.
    *******************TOP Include Ends***********************
    *****************Function Module starts*******************
    FUNCTION ztest_ole_single_table.
    "----"*"Local interface:
    *" IMPORTING
    *" REFERENCE(FILENAME) TYPE RLGRAP-FILENAME
    *" REFERENCE(TABNAME) TYPE CHAR16 OPTIONAL
    *" TABLES
    *" T_DATA
    *" T_HEADING STRUCTURE LINE OPTIONAL
    *" T_FORMATOPT STRUCTURE ZFORMATOPTIONS OPTIONAL
    *" EXCEPTIONS
    *" OLE_ERROR
    *" DATA_EMPTY
    *" CLIPBOARD_EXPORT_ERROR
    DATA:
    file_already_exists TYPE c.
    IF t_data[] IS INITIAL.
    MESSAGE e899(v1) WITH 'No Data in the internal table'(001)
    RAISING data_empty.
    ENDIF.
    ASSIGN w_tab TO <fs_hex> TYPE 'X'.
    <fs_hex> = c_tab.
    REFRESH it_line.
    PERFORM prepare_int_tab TABLES t_data
    t_heading.
    PERFORM create_excel_sheet USING filename
    tabname
    t_data
    CHANGING file_already_exists.
    CHECK NOT t_formatopt[] IS INITIAL.
    PERFORM format_cells TABLES t_formatopt
    USING filename
    file_already_exists.
    ENDFUNCTION.
    ****************Function Module Ends**********************
    ****************F01(Form Include) starts******************
    ***INCLUDE LZTEST_OLEF01 .
    *& Form prepare_int_tab
    text
    --> p1 text
    <-- p2 text
    FORM prepare_int_tab TABLES it_data
    it_heading STRUCTURE line.
    CLEAR wa_line.
    IF NOT it_heading[] IS INITIAL.
    LOOP AT it_heading.
    CONCATENATE wa_line-line
    it_heading-line
    w_tab
    INTO wa_line-line.
    CONDENSE wa_line.
    ENDLOOP.
    APPEND wa_line TO it_line.
    ENDIF.
    LOOP AT it_data.
    CLEAR wa_line.
    DO.
    ASSIGN COMPONENT sy-index OF STRUCTURE it_data TO <fs_field>.
    IF NOT sy-subrc IS INITIAL.
    EXIT.
    ENDIF.
    w_field = <fs_field>.
    CONDENSE w_field.
    CONCATENATE wa_line-line
    w_field
    w_tab
    INTO wa_line-line.
    CONDENSE wa_line.
    ENDDO.
    APPEND wa_line TO it_line.
    ENDLOOP.
    ENDFORM. " prepare_int_tab
    *& Form create_excel_sheet
    text
    --> p1 text
    <-- p2 text
    FORM create_excel_sheet USING p_filename
    p_tabname
    w_data
    CHANGING p_file_already_exists.
    DATA:
    l_cols TYPE i,
    l_rows TYPE i,
    l_name TYPE char16,
    l_rc TYPE sy-subrc,
    l_res TYPE abap_bool,
    l_type TYPE c,
    l_file TYPE string,
    l_from TYPE ole2_object,
    l_to TYPE ole2_object,
    l_entcol TYPE ole2_object.
    CREATE OBJECT w_excel 'Excel.Application'.
    ole_error sy-subrc.
    CALL METHOD OF w_excel 'Workbooks' = w_wbooks.
    ole_error sy-subrc.
    SET PROPERTY OF w_excel 'Visible' = 1.
    ole_error sy-subrc.
    l_file = p_filename.
    CLEAR l_res.
    CALL METHOD cl_gui_frontend_services=>file_exist
    EXPORTING
    file = l_file
    RECEIVING
    result = l_res
    EXCEPTIONS
    cntl_error = 1
    error_no_gui = 2
    wrong_parameter = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    IF l_res IS INITIAL.
    CLEAR p_file_already_exists.
    ELSE.
    p_file_already_exists = 'X'.
    ENDIF.
    IF NOT p_file_already_exists IS INITIAL.
    Open the existing file in case if it exists
    CALL METHOD OF w_wbooks 'Open'
    EXPORTING
    #1 = p_filename.
    ole_error sy-subrc.
    CALL METHOD OF w_excel 'Sheets' = w_sheets.
    ole_error sy-subrc.
    CALL METHOD OF w_sheets 'Add'.
    ole_error sy-subrc.
    GET PROPERTY OF w_excel 'ActiveSheet' = w_wbook.
    ole_error sy-subrc.
    ELSE.
    CALL METHOD OF w_wbooks 'Add'. " = w_wbook.
    ole_error sy-subrc.
    GET PROPERTY OF w_excel 'ActiveSheet' = w_wbook.
    ole_error sy-subrc.
    ENDIF.
    IF NOT p_tabname IS INITIAL.
    SET PROPERTY OF w_wbook 'Name' = p_tabname.
    ole_error sy-subrc.
    ENDIF.
    CALL METHOD OF w_wbook 'Cells' = l_from
    EXPORTING
    #1 = c_bgrw
    #2 = c_bgcl.
    ole_error sy-subrc.
    DESCRIBE FIELD w_data TYPE l_type COMPONENTS l_cols.
    DESCRIBE TABLE it_line LINES l_rows.
    CALL METHOD OF w_wbook 'Cells' = l_to
    EXPORTING
    #1 = l_rows
    #2 = l_cols.
    ole_error sy-subrc.
    CALL METHOD OF w_wbook 'Range' = w_range
    EXPORTING
    #1 = l_from
    #2 = l_to.
    ole_error sy-subrc.
    CALL METHOD cl_gui_frontend_services=>clipboard_export
    IMPORTING
    data = it_line
    CHANGING
    rc = l_rc
    EXCEPTIONS
    cntl_error = 1
    error_no_gui = 2
    OTHERS = 3
    IF sy-subrc <> 0
    OR NOT l_rc IS INITIAL.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
    RAISING clipboard_export_error.
    ENDIF.
    CALL METHOD OF w_range 'Select'.
    ole_error sy-subrc.
    CALL METHOD OF w_wbook 'Paste'.
    ole_error sy-subrc.
    WHILE l_cols GT 0.
    l_rows = 1.
    CALL METHOD OF w_excel 'Columns' = w_cell
    EXPORTING
    #1 = l_cols.
    ole_error sy-subrc.
    CALL METHOD OF w_cell 'EntireColumn' = l_entcol.
    ole_error sy-subrc.
    l_cols = l_cols - 1.
    CALL METHOD OF l_entcol 'Autofit'.
    ole_error sy-subrc.
    ENDWHILE.
    ENDFORM. " create_excel_sheet
    *& Form format_cells
    text
    -->P_FILENAME text
    -->P_FILE_ALREADY_EXISTS text
    FORM format_cells TABLES it_formatopt STRUCTURE zformatoptions
    USING p_filename TYPE rlgrap-filename
    p_file_already_exists TYPE c.
    DATA:
    l_row TYPE i,
    l_col TYPE i,
    l_entcol TYPE ole2_object,
    l_cols TYPE ole2_object,
    l_comment TYPE ole2_object.
    LOOP AT it_formatopt.
    CLEAR: l_row, l_col.
    l_row = it_formatopt-row.
    l_col = it_formatopt-col.
    CALL METHOD OF w_wbook 'Cells' = w_cell
    EXPORTING
    #1 = l_row
    #2 = l_col.
    ole_error sy-subrc.
    IF NOT it_formatopt-bold IS INITIAL.
    CALL METHOD OF w_cell 'Font' = w_font.
    ole_error sy-subrc.
    SET PROPERTY OF w_font 'Bold' = 1.
    ole_error sy-subrc.
    CALL METHOD OF w_excel 'Columns' = l_cols
    EXPORTING
    #1 = l_col.
    ole_error sy-subrc.
    CALL METHOD OF l_cols 'EntireColumn' = l_entcol.
    ole_error sy-subrc.
    CALL METHOD OF l_entcol 'Autofit'.
    ole_error sy-subrc.
    ENDIF.
    IF NOT it_formatopt-color IS INITIAL.
    CALL METHOD OF w_cell 'Interior' = w_format.
    ole_error sy-subrc.
    SET PROPERTY OF w_format 'ColorIndex' = it_formatopt-color.
    ole_error sy-subrc.
    CALL METHOD OF w_excel 'Columns' = l_cols
    EXPORTING
    #1 = l_col.
    ole_error sy-subrc.
    CALL METHOD OF l_cols 'EntireColumn' = l_entcol.
    ole_error sy-subrc.
    CALL METHOD OF l_entcol 'Autofit'.
    ole_error sy-subrc.
    ENDIF.
    IF NOT it_formatopt-vert IS INITIAL.
    SET PROPERTY OF w_cell 'Orientation' = it_formatopt-vert.
    ole_error sy-subrc.
    CALL METHOD OF w_excel 'Columns' = l_cols
    EXPORTING
    #1 = l_col.
    ole_error sy-subrc.
    CALL METHOD OF l_cols 'EntireColumn' = l_entcol.
    ole_error sy-subrc.
    CALL METHOD OF l_entcol 'Autofit'.
    ole_error sy-subrc.
    ENDIF.
    IF NOT it_formatopt-comments IS INITIAL.
    CALL METHOD OF w_excel 'Range' = w_range
    EXPORTING
    #1 = l_row
    #2 = l_col.
    ole_error sy-subrc.
    CALL METHOD OF w_range 'Select'.
    ole_error sy-subrc.
    CALL METHOD OF w_cell 'AddComment' = l_comment.
    ole_error sy-subrc.
    CALL METHOD OF l_comment 'Text'
    EXPORTING
    #1 = it_formatopt-comments.
    ole_error sy-subrc.
    ENDIF.
    ENDLOOP.
    PERFORM save_and_close USING p_filename
    p_file_already_exists.
    ENDFORM. " format_cells
    *& Form save_and_close
    text
    -->P_P_FILENAME text
    -->P_P_FILE_ALREADY_EXISTS text
    FORM save_and_close USING p_filename
    p_file_already_exists.
    IF p_file_already_exists IS INITIAL.
    CALL METHOD OF w_wbook 'Saveas'
    EXPORTING
    #1 = p_filename.
    ole_error sy-subrc.
    ELSE.
    CALL METHOD OF w_excel 'ActiveWorkbook' = w_wbooks.
    ole_error sy-subrc.
    CALL METHOD OF w_wbooks 'Save'.
    ole_error sy-subrc.
    ENDIF.
    CALL METHOD OF w_wbooks 'Close'.
    ole_error sy-subrc.
    ENDFORM. " save_and_close
    **************Form Include Ends***************************
    *********************Test Progam**************************
    REPORT ztest_ole.
    TABLES mara.
    SELECT-OPTIONS:
    s_matnr FOR mara-matnr.
    PARAMETERS:
    p_file TYPE rlgrap-filename,
    p_tabnm TYPE char16.
    DATA:
    BEGIN OF it_mara OCCURS 1,
    matnr TYPE mara-matnr, "Material No.
    mtart TYPE mara-mtart, "Material Type
    matkl TYPE mara-matkl, "Material Group
    groes TYPE mara-groes, "Size/Dimension
    END OF it_mara,
    it_heading TYPE STANDARD TABLE OF line,
    wa_heading TYPE line,
    it_formatopt TYPE STANDARD TABLE OF zformatoptions,
    wa_format TYPE zformatoptions,
    l_col TYPE zformatoptions-col.
    START-OF-SELECTION.
    SELECT matnr
    mtart
    matkl
    groes
    FROM mara
    UP TO 100 ROWS
    INTO TABLE it_mara.
    wa_heading-line = 'Material No.'. APPEND wa_heading TO it_heading.
    wa_heading-line = 'Material Type'. APPEND wa_heading TO it_heading.
    wa_heading-line = 'Material Group'. APPEND wa_heading TO it_heading.
    wa_heading-line = 'Size/Dimension'. APPEND wa_heading TO it_heading.
    DO 4 TIMES.
    CLEAR wa_format.
    wa_format-row = 1.
    wa_format-col = l_col + 1.
    l_col = l_col + 1.
    wa_format-bold = 'X'.
    wa_format-color = '6'.
    wa_format-vert = 45.
    wa_format-comments = 'This is a heading'.
    APPEND wa_format TO it_formatopt.
    ENDDO.
    CALL FUNCTION 'ZTEST_OLE_SINGLE_TABLE'
    EXPORTING
    filename = p_file
    tabname = p_tabnm
    TABLES
    t_data = it_mara
    t_heading = it_heading
    t_formatopt = it_formatopt
    EXCEPTIONS
    ole_error = 1
    data_empty = 2
    clipboard_export_error = 3
    OTHERS = 4.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    PERFORM get_file CHANGING p_file.
    *& Form get_file
    text
    <--P_P_FILE text
    FORM get_file CHANGING p_file.
    DATA:
    l_file TYPE string,
    l_path TYPE string,
    l_fpath TYPE string.
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    CHANGING
    filename = l_file
    path = l_path
    fullpath = l_fpath
    EXCEPTIONS
    cntl_error = 1
    error_no_gui = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    p_file = l_fpath.
    ENDFORM. " get_file
    THANKS
    MRUTYUN

  • Can't open pdf attachment on Palm TX with Adobe For Palm download

    I downloaded Adobe for Palm OS (v. 3.0) to open email pdf attachments, but am getting error message: Attachment (not supported in this version) winmail.dat
    So can not open any pdf attachments.
    Tried getting mail via VersaMail and via m.comcast.net - same problem.
    Using Vista, Palm TX
    Thanks
    Post relates to: Palm TX

    Adobe for Palm is an ancient program that cannot read raw .pdf files.  It only works with a desktop component that converts pdf files that the old adobe program can read on a Palm.
    Look at the free "PalmPDF" at freewarepalm.com.  It can read pdf files by itself.
    (I'd also suggest you delete Adobe from your Palm as it's caused a lot of problems for many users)
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Shutting down NB and CPU fans altogether with speedfan for p2p download overnight

    Hi,
    Lately I started to keep my computer on overnight for p2p downloads. Problem is, my setup is too loud, thanks to the NB fan esp. I have my computer in the same room as my bed so the smallest DB difference makes an impact on my overall sleep quality
    P2P is not a cpu challenge, so right now I am trying this:
    Have speedfan turn off both NB and CPU fan when CPU is below 45C.
    CPU temp controls both NB and CPU fan as NB readings come from a Hawai beach.
    My room is really hot, my system temp is around 40C.
    It is also possible to underclock my p4 2.4 down to 1.6ghz with Clockgen.
    When Speedfan turns off NBfan, the lights go off to so I am not disturbed in my sleep by the lights
    Now:
    Is speedfan's cpu readings dependable?? (It certainly reads different than CoreCenter)
    Is stopping the NB fan bad?? Many people even remove it, but stopping it maybe worse than throwing it away in terms of airflow?
    Anyhow would my NB warmup at all if you think it handles 200mhz fsb and my FSB will be only 133, so isn't my NB underclocked already, so it wouldn't warm up as much?
    Should I underclock my P4 to 1.6ghz so it would keep it and the NB cool even more?
    Is this a really bad idea?

    Quote
    Originally posted by hesido
    Hi,
    Lately I started to keep my computer on overnight for p2p downloads. Problem is, my setup is too loud, thanks to the NB fan esp. I have my computer in the same room as my bed so the smallest DB difference makes an impact on my overall sleep quality
    P2P is not a cpu challenge, so right now I am trying this:
    Have speedfan turn off both NB and CPU fan when CPU is below 45C.
    CPU temp controls both NB and CPU fan as NB readings come from a Hawai beach.
    My room is really hot, my system temp is around 40C.
    It is also possible to underclock my p4 2.4 down to 1.6ghz with Clockgen.
    When Speedfan turns off NBfan, the lights go off to so I am not disturbed in my sleep by the lights
    Now:
    Is speedfan's cpu readings dependable?? (It certainly reads different than CoreCenter)
    Is stopping the NB fan bad?? Many people even remove it, but stopping it maybe worse than throwing it away in terms of airflow?
    Anyhow would my NB warmup at all if you think it handles 200mhz fsb and my FSB will be only 133, so isn't my NB underclocked already, so it wouldn't warm up as much?
    Should I underclock my P4 to 1.6ghz so it would keep it and the NB cool even more?
    Is this a really bad idea?
    You may see This  
    Remember, it is even without heat sink..

  • Waiting error with BPC for Excel on Citrix

    Good day,
    We are currently running SAP BPC 5.1 SP 7 (release 5.0.508.03)
    On Production and Staging , users running BPC client on our Citrix environment are experiencing a "WAITING" message when submitting on input schedules on BPC Excel after working or leaving the input schedule idle for more than +/- 10 minutes.
    We currently only experience the problem on BPC clients running on Citrix. The BPC clients running via the LAN is not experiencing this problem and we cannot replicate the problem on the LAN
    We asked our Network team to investigate they found that there was a network reset connection (RST, ACK) from the BPC Client on Citrix to the Application Server after 1 minute and 5 seconds of refreshing the input schedule.             
    Steps for Reconstruction          
    1.User running BPC for excel client on our Citrix environment.
    2.logs onto BPC for Excel.
    3.Opens and refresh's an input schedule in BPC for Excel.
    4.Works on or leaves the input schedule idle for 10-15 minutes.
    5.Submits on the input schedule after 10-15 minutes
    6.Receives a "WAITING" message in the top left hand corner for the excel for BPC screen.
    7."WAITING" message runs indefinitely.
    Notes:
    1.We can reproduce this on our Citrix Staging environment and currently experience this problem on our Citrix Staging and Production environment. The problem cannot be reproduced when a BPC client connects  via the LAN for Staging and Production.
    2.Citrix session remains active and connected during the above steps.
    3.The only way the "WAITING" message is stopped is if the users selects refresh or submit on the input schedule after a few minutes, the refresh then runs successfully, but the Submit does not go through successfully.
    4. We have asked or Citrix team to investigate and they cannot find anything that could be causing the problem.
    Any ideas?
    Thanks,
    Peter Bellis

    ok.
    In this case it seems you have a problem with antivirus or forewall into Citrix server which is blocking the communication with application server.
    I expect to be more like antivirus which is blocking actually the activity of add ins from excel whoich measn the BPC client.
    So actually your problem has nothing to do with Cittrix is just a pure problem with installation of client into that machine (in your case citrix server).
    So I suggest to disable any antivirus or firewall into that citrix server for test purpose and afte that you have to make sure that you don't have any restrictions on port 80 if this is used by BPC.
    Regards
    Sorin Radulescu

  • Configurations Required for Excel download in IR

    Hi,
    Please let me know the configurations req for enabling Excel download feature from Interactive report.
    Currently i see only CSV and PDF options in report attributes page.
    Regards,
    CKLP

    Hi,
    You need advanced printing engine e.g. BI publisher
    You can start check these links
    http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html
    http://ubuntuforums.org/showthread.php?t=1004742
    Search more information e.g. Apache POI and FOP from this forum
    Br,Jari

  • Scheduling issue with Analysis for Excel

    Hi,
    I am trying to schedule a workbook in Analysis for  Excel from CMC. The schedule always fails when I uncheck the APPLY DEFAULT FORMATS in the components tab of the Display Analysis. The schedule works fine if this box is checked. Has anyone come across this issue?
    Analysis Excel Version: 1.4.5.2837
    Thanks,
    Kal

    Hi Tammy,
    Sorry for getting back to you so late. We are right now BIP-add on SP5 for Analysis Office. We are planning to have BIP-add on SP6 next week. Dont know if this will solve my issue but something to try.
    Thanks,
    Kal

  • Problem in excel download of ALV report

    Hi All,
    I have created an ALV report with 87 fields in it. Whenever I am trying to download that report into excel the number of column breaks into 2 rows. In this case, The downloaded file contains 57 Columns in 1 row and remaining 29 Columns in second row. Can anyone please help me in understanding why this is happening while downloading this report into excel file and what will be the solution to correct it.
    To download the file I am using the icon placed at application toolbar or ( Cntrl + Shift + F9 ).
    Waiting for your response.
    Regards.
    Pravesh

    HI Parvesh,
          If you want to download the ALV result to you local file however you can follow the below coding.
    DATA:  l_filename    TYPE string,
           l_filen       TYPE string,
           l_path        TYPE string,
           l_fullpath    TYPE string,
           l_usr_act     TYPE I.
    l_filename = SPACE.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
      EXPORTING
        DEFAULT_FILE_NAME    = l_filename
      CHANGING
        FILENAME                     = l_filen
        PATH                 = l_path
        FULLPATH             = l_fullpath
        USER_ACTION          = l_usr_act
      EXCEPTIONS
        CNTL_ERROR           = 1
        ERROR_NO_GUI         = 2
        NOT_SUPPORTED_BY_GUI = 3
        others               = 4.
    IF sy-subrc = 0
          AND l_usr_act <>
          CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME                        = l_fullpath
       FILETYPE                        = 'ASC'
      TABLES
        DATA_TAB                        = T_DOWNL
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22.
    ENDIF.

  • Problem about excel download

    Dear all,
    I got a problem about Thai language.
    I wrote down ABAP code for sent mail and attached excel file to business workplace, but when I open excel file I can not read Thai language.
    Please advance.
    Regard
    Lee

    Hi Santosh,
    I cant change the code because it's SAP standard (I would njeed to find an OSS note and there doesnt seems to be one there) the SAP Standard incluse is LSLPCF02 and the code is as follows:
    DATA: fname type string,
            result type abap_bool.
      fname = file_name.
      CALL METHOD cl_gui_frontend_services=>file_exist
        EXPORTING
          file            = fname
        receiving
          result          = result
        EXCEPTIONS
          others          = 0.
      call method cl_gui_cfw=>flush.
      IF result = abap_false.
        RAISE file_not_exist.
      ENDIF.
    This seems to be the same, only difference is the way i_result is declared ??
    Thanks

  • Layout with cells for a game

    Hello,
    I'm exploring MSDN documentation to find a suitable layout component for my needs, but with no luck. I would like to display several cells just link in "4 in a row" game and be able to get/set depending on their position on the grid.
    Do you have any advice?
    Thank you

    > Looking forward to write some code and post something useful for the community.
    Please do post it! I am building a project where I need a similar 4x4 grid of items. I am currently using a regular GridView, but I'm having issues scaling that to work well on different screen sizes. I guess GridView is designed to efficiently/intelligently
    use the space it's given, but I want a 'dumber' grid of a forced size.
    Visit http://blog.grogansoft.com/ for Windows development fun.
    Actually I found this example which perfectly fit my situation with some tweaking
    http://garfoot.com/blog/2013/09/using-grids-with-itemscontrol-in-xaml/

  • Problem  in  excel  download using  OLE concept

    Hi ,
        i am trying to  create two sheets using OLE concept.
    i am able to create the excel successfully but i can't save it .
    i have one problem .
    GET PROPERTY OF excel 'ActiveSheet' = sheet.
    CALL METHOD OF sheet 'FILESAVEAS' EXPORTING #1 = w_filename1.
    IF sy-subrc eq 0.
    the sy-subrc value comes as  2.
    i am passing 'C:\SKD.XLS'  to  w_filename.
    is anything wrong.
    how can check  this method  and it's exceptions.

    i am getting the file name from user input using the  method
    *"Calling method for getting file name as saved by the user.
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        EXPORTING
          window_title         = w_title
        CHANGING
          filename             = w_filnam
          path                 = w_path
          fullpath             = w_filename1
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
    w_filename1 is of sting type .
    i am passing the  full  path to  it .
    please  let  me  i am doing anything wrong .

  • Creating a Save As dialog box with Applescript for Excel 2008

    This is going to be part of a larger script. I'm trying to figure out how to make the default save location to where the file opened from and the default file name to the current filename in the dialog box.
    Here is what I go so far...
    tell application "Microsoft Excel"
    tell active workbook
    set myFile to choose file name with prompt "Save file as:"
    end tell
    end tell
    I'm very new with working with Applescript, so at this point I have been piecing together code snippets.
    Any help would be great and thank you

    The choose file name command supports a default location parameter that tells it where to open the dialog:
    set myFile to choose file name with prompt "Save file as:" default location (alias "Macintosh HD:Users:username:foldername:")
    So you need to look at the Excel dictionary to determine the path to the current file and insert it into the script. Every version of Excel has slightly different dictionaries so the version you're running is critical to getting the right syntax.

  • Help with HttpClient for file download

    I am writing a class to download files from a website.
    The site gave me a user name and password for login
    I need to write codes to login automatically using the userName and password the site gave me.
    Please I need some help on how to do this.
    Thanks
    Cypray

    The following in google returns a number of links that look like it discusses this. I know as well that the user/pwd issue has been discussed on this site before.
    java http "file download"

Maybe you are looking for

  • JAXP XSLT transformation UTF-8 issue

    Hi all, I have XML file generated from Java app. File is valid and is in UTF-8. I have XSLT template created with Altova StyleVision. Template is to produce RTF output file from above XML. I Java app there are two variant for XSLT transformation - wi

  • How to remove Disk Group after deinstall of Grid Infrastructure

    Hello, I deinstalled an Oracle Grid Infrastructure for a standalone server. I made the mistake of telling OUI not to drop the Disks/Disk Group. Now when I try to do a new install it shows the disks as members of a Disk Group already on the page 'Crea

  • Being spammed by non-contacts even when resticted ...

    I am getting spam messages from people outside my contact list.  This despite having selected the option in the setting for this no to be allowed. What can I do..? Here is one: Hello Dear friend, God day with duo respect and humility, am presenting t

  • Conditional primary key

    I want to use the conditional foreign key as: Table1 structure: col1 col2 Table2 Structure: col1 col2 The above are the existing tables and now i have to create a new table as follows col1 col2 col3 in this If col1 is 1 then foreign key of col2 shall

  • HT201068 I want to ignore this update.  How do I remove it from my active list on the App Store app?

    Can I remove this update from the active list on the computer?  I don't want it active as I may by mistake install this unwanted update