Problem with Excel Download

Hi There,
Were upgradding to version 700 (ECC 2005) and we have a problem when we download to excel.
When program (customer) is run (in foreground) we get an dump when we try to download to excel using the MS_EXCEL_OLE_STANDARD_DAT Function Module. it seems to have a problem when it gets to the; call method cl_gui_frontend_services => file_exist
SAP kernal 700
SAP database 700
SAP Gui 640
Any thought on the problem ?
Thanks

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

Similar Messages

  • Problem with excel download using ALV_XXL_CALL

    Hi All,
    Standard program is using this FM ALV_XXL_CALL for downloading data into excel sheet.
    I am trying to download table data in the excel but the excel file is opened without data.
    I am unable to view data in the excel file(2007) after the execution of program.
    Any Help for the same will be highly appreciated.
    Thanks

    Often we face situations where we need to download internal table contents onto an Excel sheet. We are familiar with the function module WS_DOWNLOAD. Though this function module downloads the contents onto the Excel sheet, there cannot be any column headings or we cannot differentiate the primary keys just by seeing the Excel sheet.
    For this purpose, we can use the function module XXL_FULL_API. The Excel sheet which is generated by this function module contains the column headings and the key columns are highlighted with a different color. Other options that are available with this function module are we can swap two columns or supress a field from displaying on the Excel sheet. The simple code for the usage of this function module is given below.
    Program code :
    REPORT Excel.
    TABLES:
      sflight.
    header data................................
    DATA :
      header1 LIKE gxxlt_p-text VALUE 'Suresh',
      header2 LIKE gxxlt_p-text VALUE 'Excel sheet'.
    Internal table for holding the SFLIGHT data
    DATA BEGIN OF t_sflight OCCURS 0.
            INCLUDE STRUCTURE sflight.
    DATA END   OF t_sflight.
    Internal table for holding the horizontal key.
    DATA BEGIN OF  t_hkey OCCURS 0.
            INCLUDE STRUCTURE gxxlt_h.
    DATA END   OF t_hkey .
    Internal table for holding the vertical key.
    DATA BEGIN OF t_vkey OCCURS 0.
            INCLUDE STRUCTURE gxxlt_v.
    DATA END   OF t_vkey .
    Internal table for holding the online text....
    DATA BEGIN OF t_online OCCURS 0.
            INCLUDE STRUCTURE gxxlt_o.
    DATA END   OF t_online.
    Internal table to hold print text.............
    DATA BEGIN OF t_print OCCURS 0.
            INCLUDE STRUCTURE gxxlt_p.
    DATA END   OF t_print.
    Internal table to hold SEMA data..............
    DATA BEGIN OF t_sema OCCURS 0.
            INCLUDE STRUCTURE gxxlt_s.
    DATA END   OF t_sema.
    Retreiving data from sflight.
    SELECT * FROM sflight
             INTO TABLE t_sflight.
    Text which will be displayed online is declared here....
    t_online-line_no    = '1'.
    t_online-info_name  = 'Created by'.
    t_online-info_value = 'SURESH KUMAR PARVATHANENI'.
    APPEND t_online.
    Text which will be printed out..........................
    t_print-hf     = 'H'.
    t_print-lcr    = 'L'.
    t_print-line_no = '1'.
    t_print-text   = 'This is the header'.
    APPEND t_print.
    t_print-hf     = 'F'.
    t_print-lcr    = 'C'.
    t_print-line_no = '1'.
    t_print-text   = 'This is the footer'.
    APPEND t_print.
    Defining the vertical key columns.......
    t_vkey-col_no   = '1'.
    t_vkey-col_name = 'MANDT'.
    APPEND t_vkey.
    t_vkey-col_no   = '2'.
    t_vkey-col_name = 'CARRID'.
    APPEND t_vkey.
    t_vkey-col_no   = '3'.
    t_vkey-col_name = 'CONNID'.
    APPEND t_vkey.
    t_vkey-col_no   = '4'.
    t_vkey-col_name = 'FLDATE'.
    APPEND t_vkey.
    Header text for the data columns................
    t_hkey-row_no = '1'.
    t_hkey-col_no = 1.
    t_hkey-col_name = 'PRICE'.
    APPEND t_hkey.
    t_hkey-col_no = 2.
    t_hkey-col_name = 'CURRENCY'.
    APPEND t_hkey.
    t_hkey-col_no = 3.
    t_hkey-col_name = 'PLANETYPE'.
    APPEND t_hkey.
    t_hkey-col_no = 4.
    t_hkey-col_name = 'SEATSMAX'.
    APPEND t_hkey.
    t_hkey-col_no = 5.
    t_hkey-col_name = 'SEATSOCC'.
    APPEND t_hkey.
    t_hkey-col_no = 6.
    t_hkey-col_name = 'PAYMENTSUM'.
    APPEND t_hkey.
    populating the SEMA data..........................
    t_sema-col_no  = 1.
    t_sema-col_typ = 'STR'.
    t_sema-col_ops = 'DFT'.
    APPEND t_sema.
    t_sema-col_no = 2.
    APPEND t_sema.
    t_sema-col_no = 3.
    APPEND t_sema.
    t_sema-col_no = 4.
    APPEND t_sema.
    t_sema-col_no = 5.
    APPEND t_sema.
    t_sema-col_no = 6.
    APPEND t_sema.
    t_sema-col_no = 7.
    APPEND t_sema.
    t_sema-col_no = 8.
    APPEND t_sema.
    t_sema-col_no = 9.
    APPEND t_sema.
    t_sema-col_no = 10.
    t_sema-col_typ = 'NUM'.
    t_sema-col_ops = 'ADD'.
    APPEND t_sema.
    CALL FUNCTION 'XXL_FULL_API'
      EXPORTING
      DATA_ENDING_AT          = 54
      DATA_STARTING_AT        = 5
       filename                = 'TESTFILE'
       header_1                = header1
       header_2                = header2
       no_dialog               = 'X'
       no_start                = ' '
        n_att_cols              = 6
        n_hrz_keys              = 1
        n_vrt_keys              = 4
       sema_type               = 'X'
      SO_TITLE                = ' '
      TABLES
        data                    = t_sflight
        hkey                    = t_hkey
        online_text             = t_online
        print_text              = t_print
        sema                    = t_sema
        vkey                    = t_vkey
    EXCEPTIONS
       cancelled_by_user       = 1
       data_too_big            = 2
       dim_mismatch_data       = 3
       dim_mismatch_sema       = 4
       dim_mismatch_vkey       = 5
       error_in_hkey           = 6
       error_in_sema           = 7
       file_open_error         = 8
       file_write_error        = 9
       inv_data_range          = 10
       inv_winsys              = 11
       inv_xxl                 = 12
       OTHERS                  = 13
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    I hope it  might be of some help to you.
    Thanks & Regards,
    Radhika
    Edited by: Radhika Parag Rajopadhye on Dec 1, 2009 8:27 AM
    Edited by: Radhika Parag Rajopadhye on Dec 1, 2009 8:27 AM

  • Problem with Excel download   and scientific number

    hi:
       I am downloading internal table to excel using cl_gui_frontend_services=>gui_download. The  field value of a recorder  is '77E000' as text type in the internal table. When it downloaded to the excel , the value is converted to the scientific number '7.7E+01'.
       How can I solved it ?
      thanks.

    Hi,
    Before passing the internal table to GUI_DOWNLOAD, concatenate a apostrophe symbol to the field such that the field will be considered as text and displayed as it is in the Excel.
    Eg,
    If field1 is the field containing 77E000 in the internal table then use this
    data: c_quote(4) type c value ''''.
    loop at itab.
    concatenate c_quote itab-field1 into itab-field1.
    modify itab.
    Now pass this internal table to GUI_DOWNLOAD and check.
    Regards,
    Vikranth

  • Problem with Application-download to FP2000-controller

    Hello
    i have a problem with the download to the fieldpoint module.
    My software configuartion:
    - LV 7.1
    - LV DSC 7.1
    - LV RealTime 7.1
    - FieldPoint 4.1 & LVRT for FP-20xx
    at the beginnings the system works fine. but after an operating system reinstall from win2k to winxp it would not work.
    the error message which i get called: "download failed VI_IsInitialized.vi"
    and in an other window: Shared library vistopped cannot started at the RT-device
    thank you for time I look forward to your reply.
    Markus Hediger
    ps: sorry for my bad english

    Hi All,
    I am using SAP LOGON 710 version . And also  I  tried to convert txt to Excel file .While converting also it is not giving the sysmbol of ( " ) .
    thanks for your reply.
    Regards,
    Srikanth P.

  • Problem with Excel output format

    Hi Guys,
    I am creating a report in XML Publisher (not standalone). I am facing some problems could anyone please help me to figure out the issues.
    Is it possible to have all three output format (PDF, HTML & EXCEL) exact (same aligned) only by creating a single RTF Template? I am facing the problem with Excel output format the output format of excel is taking excels cell formatting.
    Example Numeric fields --> Right Aligned, text fields --> Left Aligned
    One more issue with excel is -ve(negative) values are getting displayed in red and in brackets like ($13) (with red color).
    Our client want excel output on priority.
    Is there any limitation for excel output format of reports?
    It is very urgent for us please help.
    Any help would be highly appreciated.
    Thanks,
    Pragati
    Edited by: user11237443 on Aug 27, 2009 1:22 AM

    Hi Mahi,
    Thanks for your response. But i could not understand how can we write wrapper program could you please give some light on this or provide some link it would be helpful for me:-)
    I have read that blog for excel limitations but i have more question?
    1) What about the negative values?
    if any field is displaying negative amount then excel not displaying right value for that:(
    2)How can we align header or data?
    Do XMLP with EBS provide any solution for formatting in excel?
    3) If for the alignment of numeric value we concatenate them with any special character then how can we perform calculation that field?
    Here are so many formatting issues do we need to write any code in xml for that?
    Please help.
    Many Thanks,
    Pragati

  • While installing adobe creative cloud , getting the following error msg " There seems to be a problem with the download process. Error code:201"

    while installing adobe creative cloud , getting the following error msg " There seems to be a problem with the download process. Error code:201"

    Creative Cloud Help / Error downloading Creative Cloud applications
    http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html

  • If I change the nation setting of my iTunes in order to buy a song from the American iTunes store, then change my setting back to the Korean store (where you cannot buy music) will that create any problems with my downloaded content?

    If I change the nation setting of my iTunes in order to buy a song from the American iTunes store, then change my setting back to the Korean store (where you cannot buy music) will that create any problems with my downloaded content? I want to buy an album that I cannot get hold of in Korea, but it is available in the US iTunes store. However since most of my apps are downloaded from the Korean store I'll need to switch back in order to update them. Does anyone know if there are any issues in doing this. I'd rather find out before I spend money, change my store setting back to Korea, and then get told I can't listen to the music because I bought it from the US store and my iTunes is set to the Korean store.
    Cheers.

    You canot easily change your country settings.  The iTunes Store in a country is intended only for use by that country's residents, and only while they are in the country. To use the iTunes Store in a country you need a credit card (or other card type if acceptable in a country) issued in that country, billed to an address in that country, and also be physically present in that country when using the store.  You are also restricted to waiting 90 days between country changes.
    E.g., "The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance." - http://www.apple.com/legal/itunes/us/terms.html#SERVICE

  • Problem with torrent-downloading, dont start!?

    I have a problem with my Transmission (torrent-downloading), it dont start to download any file. My friends has tried the same torrents-file and with no problems. I havnt had this problem before, it just started recently. I have tried BitTorrent to check if its something was wrong with Transmission but it didnt start either to download (BitTorrent say, "Checking for firewall..").
    So have I change some preferences in Mac OS X or somewhere else that make this problems with torrens-download?

    Apple Discussions does not condone the use of torrent downloading, usually for pirated software. Therefore, you will not get any help on this forum.
     Cheers, Tom

  • HT1391 How can I get a full history of our purchases?  We had some problems with some downloads since 5/25/12.We were charged for items that said "Free"? Help

    How can I get a full history of our purchases?  We had some problems with some downloads since 5/25/12.We were charged for items that said "Free"? Help

    iTunes Store menu > View My Account...
    Sign in and select "See All" in Purchase History.
    You can only see them in "batches" of ten. As far as I know there is no way to obtain a comprehensive summary.
    The prices are tabulated in that list. If they were supposed to be free, and they show that you were charged, then click the arrow next to the suspect purchases and click "report a problem".

  • What's the problem with Adobe Downloader assistant? It's impossible to download a trial version of

    What's the problem with Adobe Downloader Assistant? It's making it impossible to download a trial version of PS 5 extended. I can see that I'm not the only one experiencing difficulties with this so........what's the story Adobe?!!!! If you don't want people to download trial versions of your products then just say so! Or do something about the problem and remove this faulty download.I have a brand new Mac,so it shouldn't be a problem. The Adobe Downloader has been extracting for 2 days now, and I can't shut it off. Very irritating!

    If you are having problems with extracting it is likely that you have customized the location of your download.  I would recommend downloading to your User folder or Desktop folder.  When the download and extraction process are complete you can then install to your Program Files folder.

  • HT1338 I have a problem with opening downloaded files from the internet; zip types. Can you tell me an app to open these types of formats of files?

    I have a problem with opening downloaded files from the internet; zip types. Can you tell me an app to open these types of formats of files?

    It should unzip if you double-cick.
    What are you seeing happen when you do that?
    Select a .zip file in the Finder and Get Info (cmd-i). What is set for it to Open With. It should be Archive Utility.

  • I have a problem with books downloaded in ibooks to my ipad.  Full chapters are missing.

    I have a problem with books downloaded in ibooks to my ipad.  Full chapters are missing.  Do others have the same problem?

    the article just has instructions on redownloading books after your delete them under the managing contect heading then under      Can I download my previously purchased book again at no additional cost?
    you can delete books by going into collections then hitting edit
    basicish instuctions here http://macinstruct.com/node/451

  • Hello, i have a problem with the download of the testversion of photoshop CC.

    Hello, i have a problem with the download of the testversion of photoshop CC. After 3 minutes after beginning with the download always appears "failure A12E5" and the download is stopping. Who has a good idea for the solution of my problem?

    Hello, here are some troubleshooting steps that relate to download problems: http://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html

  • Problems with iTunes downloading songs to computer

    Problems with iTunes downloading songs to computer. I hook up my iPhone as well as my Ipod and it does not download the new content on my computer.

    with that one we'd better check on these possibilities:
    You can't import or play music from an audio CD in iTunes for Windows
    these resources might be helpful with that:
    Using CD Diagnostics in iTunes for Windows to troubleshoot CD/DVD drive issues
    iTunes for Windows: Updating the firmware on your CD or DVD drive
    Updating the drivers on your Windows PC
    Where to find firmware for your CD/DVD drive

  • TS3297 My downloaded song stops suddenly halfway through. I assume there was a problem with the download. Can I download the file again??

    My downloaded song stops suddenly halfway through. I assume there was a problem with the download. Can I download the file again?? Will I have to purchase the song again?

    You need to delete the current copy of the broken track from your library before it will be offered up for download. It may help to close and reopen iTunes.
    If the problem persists and you can't get a good version of the file contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support.
    tt2

Maybe you are looking for

  • Bringing up a word document

    just a quick question please ...whats the code for calling up a WORD document as a link ? thanks bb

  • My iphone 5 has a lock on the rotation

    my iphone 4s has a lock on the rotation. how can i take it off

  • Can someone compare these to imac please?

    Im looking to buy a used Imac. Can someone please compare the two imacs for me please? Which one is better? Would be using it for music (Pro Tools) For the 1st one here is the info I got for it. Model number-MC511XX/A S/N- W8*******5PE whats a fair p

  • OS X Diagnostic software for commercial use?

    Hello! I work as a computer technician, and though we primarily service Windows machines, we get some Macs, and I'm currently one of only two Mac technicians on staff. I use DiskWarrior frequently on my own machines and my family's, but a glance at i

  • WebLogic on WinXP

    Although WL7.0 does not support WinXP - has any one made a succesful installation?