Open Excel from SAP

Hi,<br>
got a problem. I click the Excel button after I did a query, but nothing happend. I mean the system ask me to save it as txt file, but then Excel dosn't start... More... if Im in one remote session I got this error on my status bar:<br><br>
<i>Error -216 [86.29]</i><br><br>
Hope somebody can help<br>
Thx,Roberto

Coming back to my problem I made some test...<br>
Consider first my "architecture":<br><br>
I got some client that works as client pc and some other that works thru Remote Desktop.<br><br>
I thought that address the Excel path like
ServerName\Program Files\Microsof Office\bla bla could be a common path to everybody, but I discovered that seems SAP dosnt like so much it, it like more C:\Program Files\Microsoft Office\bla bla<br>
Setting the path in  this way works for them that are working with Remote Desktop, but dosn't work for the other clients, coz they maybe got installed Office in another folder or another disk..<br>
Why should I do? Create a standard configuration for all the client so they got installed Microsoft Office in the same folder...??? Let say I got 200 client...I don't want neither to take in consideration...<br><br>
Why if Microsoft let you select the path where you like more to install office, SAP impose to get just one folder, that should be the same for everybody? Did they assume that everybody install office in the same folder, did they?? In this case.. sorry guys but things are different..<br><br>
Why you SAP guys don't consider in the next release, the let the user installation, set the path he likes more fore Word Excel or whatever else? Could be appriciate... as well as a tools for copy one configuration for every clients, instead of going client to client to setup everything....but this is another chapter ...that upset me..<br><br>
Cheers<br>
Roberto

Similar Messages

  • Report using the feature of opening Excel in SAP.

    We are building a custom report using the feature of opening Excel in SAP.
    We need to do things like:
    Protect the worksheet, but leave some rows unprotected
    Freeze the windows
    Have any one ever used this feature before? Can any know how to do this?
    Thank you,
    PV

    No, no extra somewhere.  What it actually is, is that you are calling the methods of the application(sort of).  Here is an example application which does to the freeze panes.
    report zrich_0001.
    include ole2incl.
    data: e_sheet type ole2_object.
    data: e_appl  type ole2_object.
    data: e_work  type ole2_object.
    data: e_col1  type ole2_object.
    data: e_col2  type ole2_object.
    data: e_cols  type ole2_object.
    data: e_cell  type ole2_object.
    data: e_wind  type ole2_object.
    data: field_value(30) type c.
    parameters: p_file type localfile default 'C:RichTest.xls'.
    start-of-selection.
    * Start the application
      create object e_appl 'EXCEL.APPLICATION'.
      set property of e_appl 'VISIBLE' = 1.
    * Open the file
      call method of e_appl 'WORKBOOKS' = e_work.
      call method of e_work 'OPEN'
              exporting
                   #1 = p_file.
    * Write data to the excel file
      do 20 times.
    * Create the value
        field_value  = sy-index.
        shift field_value left deleting leading space.
        concatenate 'Cell' field_value into field_value separated by space.
    * Position to specific cell  in  Column 1
        call method of e_appl 'Cells' = e_cell
               exporting
                    #1 = sy-index
                    #2 = 1.
    * Set the value
        set property of e_cell 'Value' = field_value .
    * Position to specific cell  in  Column 2
        call method of e_appl 'Cells' = e_cell
               exporting
                    #1 = sy-index
                    #2 = 2.
    * Set the value
        set property of e_cell 'Value' = field_value .
    * Position to specific cell  in  Column 3
        call method of e_appl 'Cells' = e_cell
               exporting
                    #1 = sy-index
                    #2 = 3.
    * Set the value
        set property of e_cell 'Value' = field_value .
      enddo.
      call method of e_appl 'Columns' = e_col1
             exporting
                  #1 = 1.
      call method of e_appl 'Columns' = e_col2
              exporting
                  #1 = 2.
      call method of e_appl 'Range' = e_cols
              exporting
                #1 = e_col1
                #2 = e_col2.
      call method of e_cols 'Select' .
      get property of e_appl 'ActiveWindow' = e_wind.
      set property of  e_wind 'FreezePanes' = 1.
    ** Close the file
    *  call method of e_work 'close'.
    ** Quit the file
    *  call method of  e_appl  'QUIT'.
    *  free object e_appl.
    Regards,
    Rich Heilman

  • Open Dashboards from SAP

    Hi together,
    I've a new SAP BO Dashboards 4.1 installation on my laptop.
    Now I can't open dashboards from SAP:
    MENU -> SAP -> OPEN
    At this point I get the message: "Open from SAP not possible" (Sorry, this is my translation...)
    I don't get the SAPlogon-Pad, but the Logon-Pad is installed and placed in the right folder..., I can open any other SAP-system connection without problems....
    Any ideas ?

    Hi Holger,
    Do you have any dashboards published to SAP portal.
    Try to create a sample dashboard on SAP Netweaver connection and publish it to SAP Portal.
    Later try to open.
    If nothing works under SAP menu, reinstall the SAP GUI.

  • How to extract Cleared and Open Items from SAP R/3?

    Hi experts,
    I have a requirement from user to extract cleared and open invoice items from SAP R/3.
    Can someone tell me how to do that?
    Thanks!

    Hi,
    Use the Data source 0FI_AR_4 to Know the status (0FI_DOCSTAT) of payment to be done by customer.
    OR
    Enhance the 2LIS_13_VDITM with VBUP fields which will give the status of Billing.
    With rgds,
    Anil Kumar Sharma .P

  • Error -2146960888 when opening excel from labview using active x

    attempting to open an instance of excel from labview using active x, I even tried using the "open excel and make visible.vi" found on this site. I get errors every time, Inserting a break right after the property node, I found that it does open excel with no active workbook. once the program runs to ompletion excel terminates. The error is on the line right after the property node executes.

    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F15456A4E034080020E74861&p_node=DZ53003&p_submitted=N&p_rank=&p_answer=&p_source=External
    Attachments:
    XL97table.zip ‏29 KB

  • Spot instead comma in Excel from SAP

    Hi all.
    I get a Excel file from SAP. One of the fields is material, with format XXXXX.X in SAP, but in Excel it is shown with format XXXXX,X I need in Excel the material is shown with a spot, like SAP. What can I do?
    The code is:
    CREATE OBJECT Excel  'EXCEL.APLICATION'.
    CALL METHOD OF Excel 'WORKBOOKS' = books.
    CALL METHOD OF books 'ADD' = book.
    LOOP AT tab.
    PERFORM rellenar_celdas USING x1 tab-gltri.
    PERFORM rellenar_celdas USING x2 tab-matnr.
    ENDLOOP.
    SET PROPERTY OF Excel 'VISIBLE' = 1.
    FORM rellenar_celdas USING i j val.
    CALL METHOD OF Excel 'CELLS' = cell
    EXPORTING
    #1 = i
    #2 = j
    SET PROPERTY OF cell 'VALUE' = val.
    ENFORM.
    Thanks a lot.
    Marta.

    I did like this
    FORM CREATE_GRID USING
           X1 TYPE I Y1 TYPE I
           X2 TYPE I Y2 TYPE I
           NAME.
    *Workbooks.workSheets(1).columns(GS_CELLS).
    *Worksheets("Sheet1").Cells(5, 3).Font.Size = 14
       CALL METHOD OF GS_EXCEL 'Cells' = GS_CELL1
       EXPORTING #1 = X1 #2 = Y1.
       CALL METHOD OF GS_EXCEL 'Cells' = GS_CELL2
       EXPORTING #1 = X2 #2 = Y2.
       CALL METHOD OF GS_EXCEL 'Range' = GS_CELLS
       EXPORTING #1 = GS_CELL1 #2 = GS_CELL2.
       CALL METHOD OF GS_CELLS 'Select' .
       CALL METHOD OF GS_CELLS 'Merge' .
       CALL METHOD OF GS_CELLS 'BorderAround'
       EXPORTING #1 = 1 #2 = 2.
       SET PROPERTY OF GS_CELLS 'NumberFormat' = '#,##0.00' .
       SET PROPERTY OF GS_CELLS 'RowHeight' = 13.
       SET PROPERTY OF GS_CELLS 'Value' = NAME.
       SET PROPERTY OF GS_CELLS 'VerticalAlignment' = 2.
    *  SET PROPERTY OF gs_cells 'HorizontalAlignment' = -4108.
       SET PROPERTY OF GS_CELLS 'WrapText' =  1.
       GET PROPERTY OF GS_CELLS 'Font' = GS_FONT.
       SET PROPERTY OF GS_FONT 'Size' = 8.
    ENDFORM.

  • How to display image in Excel from SAP

    I have to download the image from SAP to Excel with data. Is there any way to do it.
    Thanks
    Vivek

    thanks for replies,
    i checked that one also but didn't get the solution i tried it shows like http://apex.oracle.com/pls/apex/f?p=52985:2:107570357797788:::::
    and my log in credentials are
    Workspace name: ajit_personal
    user name: ajit
    Pass word: ajit
    please check once where i am going wrong,
    thanks in advance,
    Regards,
    ajit

  • Unable to open Excel from desk top running Live Office

    Running Win7, Office 2007, Live Office, am unable to open excel 2007 from desk top, can only opena blank excel and then save ecel to desk top and the open. have tried the Excel options ,advanced, ignore other application but does not work
    Thx//wwagner

    hi Sergio,
    I am also facing the same problem.
    Your option worked out like a charm. It is resolved now.
    Thank you.
    Regards,
    Vamsee

  • Open URL from SAP GUI

    Hi,
    I create Business Contacts with BAPI_BCONTACT_CREATEFROMDATA from an external application.
    Is it possible to add a URL to this contact, that can be opened from the SAP GUI?
    Our customer uses the native windows sap gui. The browser should open and load the
    URL if you click on the it.
    Any hints how this could be done?
       Thomas

    Hi,
    Here is a demo.
       CALL METHOD cl_gui_frontend_services=>execute
      EXPORTING
        document               = 'http://www.sap.com'
        operation              = 'OPEN'
      EXCEPTIONS
        cntl_error             = 1
        error_no_gui           = 2
        bad_parameter          = 3
        file_not_found         = 4
        path_not_found         = 5
        file_extension_unknown = 6
        error_execute_failed   = 7
        synchronous_failed     = 8
        not_supported_by_gui   = 9
        others                 = 10
    IF sy-subrc <> 0.
    * Implement suitable error handling here
    ENDIF.
    hope this helps u.,
    Thanks & Regards,
    Sukai

  • Can't export to Excel from SAP after upgrade

    Hi there,
    We couldn't export to Excel after upgrading SAP from 2007B PL15 to 8.81 Pl07.
    We tried all workstations as well as server itself and encountered below error upon exporting to Excel.
    "AutoOpen.xls cannot be accessed. The file may be corrupted, loated on a server that is not responding, or read only."
    Microsoft Excel Folder under "General Settings >> Path tab" has been defined.
    If you have a solution or workaround for the above error, kindly share with me.
    Thank you.
    Regards,
    Yadana

    Dear Yadana,
    Check this forum
    Re: Export to excel doesn't work anymore
    Regards
    Mangesh Pagdhare.

  • Read Excel from sap server HDD

    I want to read xls from path wich I see by FM RZL_READ_DIR_LOCAL (server space) and how to read xls format to itab from this path?
    ALSM_EXCEL_TO_INTERNAL_TABLE work only on local HDD (not server space)

    Hi,
    You need to use the OPEN DATASET and READ DATASET statements.
    Here is a sample, This program will upload a comma delimited file from app server, and break it up into specific fields of an ITAB.
    report ztest_0001
    no standard page heading.
    parameters: d1 type localfile default '/usr/sap/TST/SYS/Data1.csv'.
    data: begin of itab occurs 0,
    fld1(20) type c,
    fld2(20) type c,
    fld3(20) type c,
    end of itab.
    data: wa(2000) type c.
    start-of-selection.
    open dataset d1 for input in text mode.
    if sy-subrc = 0.
    do.
    read dataset d1 into wa.
    if sy-subrc 0.
    exit.
    endif.
    split wa at ',' into itab-fld1 itab-fld2 itab-fld3.
    append itab.
    enddo.
    endif.
    close dataset d1.
    Regards,
    Satish

  • Opening excel from apex

    i have a DML program that creates a report as a text file when a button is clicked and saves it onto a shared directory.i need to open this file in excel once it is created. the apex is used for a front end that allows user to select parameters to the program.
    is there a way of opening these files in excel via apaex. or rather can you open an excel instance from apex that will open a file sitting on any location

    If you store your files as a .csv file, you will be able to download those and open them
    directly in excel. See this thread for a how to on opening BFILE:
    Storing documents in FILE SYSTEM not in BLOB
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Opening Excel from LabView

        Hey all,
    I am trying to figure out how to open an Excel document from within a running LabView .vi.  I have been looking around here but I can't seem to find exactly what I am looking for.  What I have is a GUI running to operate some test equipment.  The user needs to be able to create and load a configuration file that is created with Excel.  I have added options to my Run Time Menu to make this easy for the user, but I can't figure out how to actually execute it in the code.
    I plan on having the template they will use at a location like this:
    C:\Program Files\Naitonal Instruments\LabView 8.2\Templates\Interrogation Setup.xls
    So I am trying to figure out the best way to execute this.  I was going to use the System Exec.vi but, being a DOS prompt, it can't handle the spaces in the directory.  Is there a better way for me to do this?
    Really appreciate it.

    You can interface excel via ActiveX in LabView. Have a search through the forum with these keywords. There is also a thread containing links to excel related threads, but I've no bookmark at hand.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Downloaded data in Excel from SAP table data to have the macro and control?

    We know that in SE16 screen to display SAP table data, there is a menu item or button to download the table data to excel sheet, but in the excel sheet, the data is for display only and some calculation functions (e.g. sum) are not be able to be downloaded to the excel sheet as macro.
    Our customers would like us to see if there is a way that in the excel sheet with the download SAP table data, only some certain rows/columns of data are allowed to be changed by customers or in other words, other areas in the excel sheet should be frozen and users can not even insert a column and do the copy/paste rows/columns.  And also the original calculated column in SAP table (e.g., sum) would be in the corresponding column in the excel sheet, but with macro to do the same function (e.g., sum).  After the customers perform some changes in some allowed certain rows/columns in the excel file, then the changed data can be uploaded back to SAP.
    Wonder if there are such ABAP program to fullfill the above task to download SAP table data to an excel file and to make the downloaded data in the excel with only some certain row/columns to be changeable and all other areas frozen?
    Thanks and we will give you reward points for valuable answers!

    Hi,
    This scenario can be met with the FM : RH_START_EXCEL_WITH_DATA
    This is available in Older versions. Starts Excel with a macro.
    I have never tried using this FM.
    However, I came across : http://www.jt77.com/development1/programming-23850.html
    Showing the use of it.
    To get useful hints, also refer :
    1) Transaction : DWDM
    2) MS EXCEL as OLE Client : 
    http://help.sap.com/saphelp_nw04/helpdata/en/40/b297f3c32711d194ac00a0c94260a5/frameset.htm
    3) Read the content at any table + Defined Macros used to call Function Modules
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c043d836-166c-2910-b99e-ae3633dec547
    Once you get a solution, would appreciate a mail to me @ <REMOVED BY MODERATOR>
    Cheers,
    Remi
    Edited by: Alvaro Tejada Galindo on Feb 29, 2008 5:41 PM

  • I want read PDF file from SAP directory and create a spool request or print

    Hi all,
    I want read PDF file from SAP directory and create a spool request or print the pdf through SAP. Can any body  help me in this.
    Also please write to me if its possible to open PDF from SAP directory to adobe pdf reader.
    Thanks in advance,
    Sunny

    Hi Sunny,
    Check these links.
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    http://www.erpgenie.com/sap/abap/pdf_creation.htm
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

Maybe you are looking for

  • Error 1053 when starting the Routing And Remote Access service

    Hi all, When I tried to start the "Routing And Remote Access" service on Windows 8.1 I got an error message as follow. Could some one help me please. Than's.

  • Using Adobe TypeKit with AWS Elastic Beanstalk

    We're working on a prototype website using AWS Elastic Beanstalk and trying to use an Adobe typekit font on it.  I have registered the EB URL with the typekit I registered. The font works well for about an hour, then disappears. Does TypeKit block El

  • TIFF images are shown as blank when embedded in some web pages

    After I upgraded to Snow Leopard, I see blank the TIFF images displayed in some web sites, like for example any patent image in the www.uspto.gov web site. This happens on both Safari and Firefox. They both use the QuickTime plugin (I have version 7.

  • Downloading the file through transaction F110.

    Hi all,        My requirement is to generate a payment file in EFT format(comma separated format) and to download that file to a PC location using the transaction F110. The EFT file needs to generated automatically after the payment run. So I am copy

  • Whatsnew page for 3.6.17 has formatting problems with Firefox and I.E.

    I just updated from 3.6.16 to 3.6.17n and the whatsnew page, displayed after Firefox restarted, has formatting problems in the lower right hand corner. I checked it with I.E. 8 and it also shows the formatting problem. Why wasn't this caught before t