Preview using Excel Inplace

Hi,
Could anyone tell me the reason why some Excel functions are not available when using Excel Inplace?
For example, the print preview. You have the button in the tool bar but it does not work.
Another questions is: How many other excel functions are not available and we still don't know?
Thanks

I have not tested this, but you might try the following.
The inline excel should be created from a template. And in the excel VB code should exists which call a customer event in Workbook_SheetChange. This code is executed each time a change occurs on the worksheet.
so in you r worksheet you should have the following code:
Private Sub Workbook_SheetChange(ByVal Sh As Object, _
        ByVal Source As Range)
    ' runs when a sheet is changed
  Call ThisWorkbook.Container.SendCustomEvent("DATA_CHANGE")
End Sub
this event you can catch in SAP, and reread the data from excel.
so now each change in excel triggers an event in SAP.
Not sure it works, but worth a try.
Joris.

Similar Messages

  • Excel Inplace - Update SAP R/3 tables from Excel Data

    Hi,
    I developed a report displaying using Excel inplace.  After user finished editing the Excel workingsheet, I called method get_ranges_data of interface I_OI_SPREADSHEET to get data contents.  But this method or almost all the methods of this interface requires user hit a enter key after edit a cell.  Without hit a enter key or click different cell, this method will not be able to get any data contents. 
    Is there a way I can force a user click or enter event?
    An example is apprieciated.

    I have not tested this, but you might try the following.
    The inline excel should be created from a template. And in the excel VB code should exists which call a customer event in Workbook_SheetChange. This code is executed each time a change occurs on the worksheet.
    so in you r worksheet you should have the following code:
    Private Sub Workbook_SheetChange(ByVal Sh As Object, _
            ByVal Source As Range)
        ' runs when a sheet is changed
      Call ThisWorkbook.Container.SendCustomEvent("DATA_CHANGE")
    End Sub
    this event you can catch in SAP, and reread the data from excel.
    so now each change in excel triggers an event in SAP.
    Not sure it works, but worth a try.
    Joris.

  • Still no data in Excel InPlace

    Hi.
    No data is being displayed when I use the Excel view in an ALV from 'REUSE_ALV_GRID_DISPLAY', but this is not the usual problem.
    I have the recommended settings in Excel in Tools > Macro > Security.
    The View tab of Change Layout in the ALV lists the templates sap_om.xls and sap_mm.xls.
    Trying Excel InPlace for different users and different PCs seems to show that the problem lies with the PC and not the user.
    I have re-installed Excel and SAPgui on my PC, but the fault remains.
    My SAPgui is 6.20 patch level 42.
    My Excel is 2002 SP-2.
    What could be the problem?
    Thanks,
    John

    I have a possible answer to my own question.
    I have re-installed my Kaspersky Anti-Virus for Windows Workstations software.
    It is now version 5.0.712.  I don't know what it was before.
    Now when I try to use Excel InPlace, I get a Kaspersky dialog box four times, warning about a potentially dangerous macro, and advising me not to execute it.  If I allow the execution of each macro, then Excel InPlace works.
    So it seems possible that Excel InPlace was not working before because my anti-virus software was silently preventing the execution of the macros.
    Can anyone confirm that this can happen?
    Thanks,
    John

  • No "file - send to" with excel inplace

    In excel (Version excel 97) I can send files via "file - send to - email" which starts my email client and attaches the xls file to the mail.
    When I use excel inplace in an abap program this option is not available. I still can see it, but it is grey and I cannot choose it
    Is it possible to activate this options? I use the methods of desktop office integration to get excel inplace and fill it with data (i_oi_container_control,  i_oi_document_proxy, i_oi_spreadsheet).
    regards
    Herbert

    USB Thumb drive?
    Patrick

  • BPS + Excel Inplace = Macro + Digital Signature (Certificate)

    Hi, "All"
    To achieve some goals in formatting planning layout, I changed Modul1 module (subs SAPAfterDataPut() and SAPBeforeDataGet()). Because of this SAP certificate doesn't work. To avoid annoying message about macros in opening Excel, I create certificate by Selfcert.exe in office10 folder of MS Office. And I tryed to protect BPS modul with this certificate (In VBA Editor: Tools->Digital Signature...). But after saving modified template there is no cerification record in template.
    This works correctly when I protect usual excel files, but doesn't work with BPS. Why? Did anybody try to do something like that?
    PS: How can end users use Excel InPlace BPS Layouts? I don't find any method except BPS0...

    Hallo
    Actually the end user can use Excel by building a planning folder and choose the option Folder without Separate output not web Enabled. Then the front-end is Excel.
    You can also build a WEB application Excel Enabled which give you Web Excel as layout but it is not so user friendly (only copy nad paste).
    With the planning folder you still have all Excel Functionality.
    I hope this can help you.
    Regards
    Mike

  • ALV report in Excel inplace

    In my system, when i open ALV report in Excel inplace. Excel opens report but button "Close and Return to ALV (1)" and "Exit excel" is disabled, how can it appear enabled?
    When i press key "ALT+TAB" excel menus and icons desapear, and when press "/" SAP menus appear in strange mode.
    If Excel is open in windows with one worksheet before open Excel in SAP ALV inplace, sometimes an error occured.
    Excel 2007
    SAP ECC6.0
    SAP GUI for Windows - file version 7100.2.8.1039 or 7100.2.9.1039
    Anyone help me.

    hello
    This program checks the paths, installation, and Registry keys of the desktop office applications and OCX files used in SAP Desktop Office Integration. Its results are useful to SAP if you report problems using Desktop Office Integration.
    "C:\Archivos de programa\SAP\FrontEnd\SapGui\Testtools\Check_DOI.exe"
    Hernando

  • ALV Grid in Excel-inplace

    Hi,
    I am having a report which is being shown in ALV grid. I am having one checkbox in selection-screen namely 'Excel Inplace'.If this checkbox is checked then report should be shown in excel-inplace format.
    Please guide me how to achieve this.
    I am having below constraints:
    1. Here I can't save variant in excel-inplace format and use it while execution, because user can save other variants too(may be with less fields) and use it.
    2. I have copied the standard program RFBILA10 and modifying according to my needs. This program is using FM 'REUSE*. So going for ABAP-OO will be difficult here.
    Thanks,
    Vinod.

    You need to use method SET_VIEW_EXCEL.
    Call this right after SET_TABLE_FOR_FIRST_DISPLAY.
    PS pl remember this is protected method you need to inherit this

  • ALV to Excel inplace and return issue High

    Folks;
    I have delveloped and ALv program that uses standard SAP access to EXCEL inplace but also contains the selection button process to allow individual line items to be selected to be used for another process within the report.
    I can click the Excel Icon and the ALV report downloads and displays properly in Excell inplace.  The isue starts, when I manipulate the data in Excel inplace (sort data, sum totals and then display only sums) then click on VIEWS -> SAP LIST Viewer.
    This causes one of three conditions to occur;
    Either their system will lockup, cancels out all SAP sessions and leave Excel running in the background without any indication that it is still running, or the system will cause a dump.
    I even tried with the SAP ddemo program BCALV_TEST_FULLSCREEN_LAYOUT and  the same thing occurs with SAP programs.
    Has anyone run accross this and found a solution?  SAP Notes does not appear to have anything on this.
    Thanks for any assistance.
    Mike

    Hi Michael:
    I can reproduce what you say.
    Maybe the problem is not from SAP, but from Excel. If you check the windows tasks (CTRL + ALT + DEL) and windows tasks, you will see that CPU is dedicated to Excel. If you finish the Excel process, then you get a blank screen in SAPGUI, and the transaction locked, but you can cancel transaction.
    Sorry for not giving a solution, but is just a clue.
    Regards
    Jordi

  • Manipulating data in Excel inplace via ALV grids

    Hi everybody,
    I want to create a report which displays data in an Excel file (Excel inplace).
    To solve the problem I have created a custom layout and uplodaded it via the report BCALV_BDS_MAINTENANCE to the BDS. The written report loads the data into an ALV grid, opens Excel inplace and displays the data in the custom layout. This works fine but for one exception: You can only upload an internal table to the ALV grid, consequently no additional information about the selected data itself (e.g. given by a custom selection screen) can be presented in the grid. What I need is a way which adds strings to the excel file not in an internal table.
    Is there a way to to this? Is this possible with ALV grids or do I have to use OLE?
    Thanks in advance.
    Greetings, Daniel

    Daniel,
    Its the TOP_OF_PAGE. See below.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
             EXPORTING
                  i_callback_program     = sy-repid       <<<
                  i_callback_top_of_page = 'TOP-OF-PAGE'  <<<
             TABLES
             EXCEPTIONS
                  program_error          = 1
                  OTHERS                 = 2.
    And then for the call back form.
    FORM top-of-page.                                          
    ALV Header declarations
      DATA: t_header      TYPE slis_t_listheader,
            wa_header     TYPE slis_listheader.
      wa_header-typ  = 'S'.
      wa_header-info = 'Text goes in here'.   <<<<<
      APPEND wa_header TO t_header.
      CLEAR wa_header.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = t_header.
    ENDFORM.
    This will add header to your ALV.
    Execute the program again and open the same in excel. you will now see the strings/text in the layout.
    Hope this helps.
    Ravi.
    Message was edited by: Ravi Gopan

  • Excel inplace (ALV) with Excel 2010

    Hi,
    we have changed our workstation to windows 7 and Office 2010. Now i have a problem
    with excal inplace of ALV. When i switch to excel inplace I don't find any way to save or save as the excel.
    The button "datei" isn't activ.
    Has anyone an idea?
    We use GUI 720 patch 4.
    Regards, Dieter

    A simple workaround working is to "Customize the Quick Access Toolbar" in Excel 2010 itself from the File (Backstage) menu.  add the "Save As" icon which carried forward in SAPGUI Excel inplace and now users can at least choose where to save their work as needed.
    Edited by: neil_mukh on Feb 1, 2011 1:06 PM
    Edited by: neil_mukh on Feb 1, 2011 1:06 PM

  • Format-number not working for me with preview to excel

    Hi,
    I have a report with 8 fields across within a table.
    Each field is formatted in the same way, with format-number like this (there are 8):
    <?format-number:total-year-remaining;’PT999G999D99’?>
    (that's the type-your-own form-field help text in the word template).
    When I preview the PDF, the data looks fine (8 cells shown below):
    .00 (.10) (.10) .00 (.50) (.50) (.60) (.60)
    But when previewing to Excel, there are two problems:
    1. Only the data in the last field (the 8th one) is formatted with the oracle mask:
    (.60)
    But upon closer inspection, there are two blank spaces after the number in that cell, and the value itself is treated like a string, e.g. '(.60) '. In fact if I ask excel to format this cell like a number with currency and two decimal places, in won't do it because of trailing spaces. Its just not a number to excel at that point. Probably the ('s don't help things either.
    2. The data in the first seven fields in excel are numeric, and I can format them in excel as currency, but I wanted XMLP to handle this, not the excel user.
    The bottom line is this: I want both PDF and excel output. I want both forms to have the fomat mask applied correctly. And I want excel to treat each cell as a number. Is this possible?
    Thanks
    Adam

    Anatoli,
    Hello!
    I don't know if my situation is the same as yours, but after a lot of head-scratching, forum searching and template rebuilding, I finally figured out my problem.
    I had one column that no matter what I did kept appearing in Excel as text. I'd format it to Number in Excel and nothing. When trying to sum the column, Excel would not recognize any of the values as numbers. I even did the reformatting on the XML Word template to number, and the currency format that Adam mentions. Still no go. The $ and ',' appeared, but column still formatted as string.
    I just finally noticed Adam's mention of the 2 extra spaces at the end of the numbers and sure enough mine was doing the same thing. Take out the 2 spaces and voila! Number!
    Every time I redid my template in Word (07 and 03), I used the wizard. (Add-ins>Insert>Table>Wizard) walked through the steps, not really changing anything. Then I would preview and the spaces would be there. The column that I was having problems with was the last column of the table, which would get the text 'end G_ASSIGNED_CC' inserted in after the field name - separated by 2 spaces. Once I took out these two spaces, so the column now shows 'COSTend G_ASSIGNED_CC', it worked fine in Excel - all numbers.
    Hope that helps someone out there as I was having a heck of a time finding anything (solutions anyway) on this.
    Thanks,
    Janel

  • Using Excel as  Datasource in Crystal Reports 8.5

    I have never used Excel as a source for Crystal data and I am having a bit of an issue I believe. I have an Excel file on my desktop that I am using as the datasource. Eventually it will be out on a network drive. I set up all my reports as blank reports so I do that. When it brings up the Data Explorer pop up I choose ODBC ---> then Excel Files and choose the file. I then add the sheet to the report, close the data explorer window and start designing my report. I drag the fields I want on there, but when I go and preview I don't see any data at all. I have also tried it with the Report Wizard, no go there either.  Is there something special I need to get the data to show up on there? Does it need to be formatted a certain way? Is it just easier to convert it over to an Access database? Any help anyone could suggest would be wonderful!
    Thanks
    Jami Benson

    I just checked something out and I figured out what I was doing wrong myself. It would seem that I was choosing the wrong sheet. One of the sheets, sheet 1, appears twice in the list. Once with the name of the whole spreadsheet, and once as just sheet 1. I was using the one with the name. It has the headings just no data. The other has the data and headings, just no name. Once I choose it, all seems to be well. '
    Jami

  • AVL excel inplace

    Hello,
    I am can also display data in an Excel view. The data is transferred to Excel and displayed there in an Excel sheet within the window instead of the grid. The ALV Grid Control toolbar is still visible and you can use its functions in the Excel view in my computer. But when it is run in another different equipment not it generates. It open Excell with each Shets but the data do not displayed.
    Any guide to solve to this problem.
    thanks

    Info collected from search..
    To create the template you do:
    1) Run the report.
    2) When you see the result (the AVL GRID report), you go to change layout - the view tab - mark the excel radio button, choose template sap_om.xls by double click and press enter.
    3) Now you see the report as 'excel Inplace'
    4) In the excel menu you choose 'Save as' to save your file - and now you have a template ready to be modified.
    Try to modify template :
    1) The template has 15 sheets (Format, Header, Pivot etc. etc.) - don't delete any of these! (If you do the template won't work) (I would normally call these sheets 'tabs', but in excel they are sheets of an excel-book).
    2) Add your own sheet or sheets
    3) In your own sheet you make links to the data in the standard sheets Format or RawData.
    You now have and modified template. In your own sheet you can add any formatting or calculations you want. Finally to clean the template I would clear the contents of the standard sheets Format and RawData
    you can upload the template :
    Refer the Oss note 358644 and 548409
    You will have to build your own templates by creating modified copies of the SAP standard templates SAP_OM.XLS and SAP_MM.XLS. If you can find these see note 316728 to copy them from client 000.
    You will have to work with transaction OAOR to administrate the templates and program BC_BDS_UPLOAD to upload new templates.
    And finally run the report and choose the new layout instead of sap_om.xls.
    Basis guys might able to help you.
    regards
    Vivek
    award points for useful answers

  • Leaving excel Inplace, the excel session is still active

    I all,
    I use the Excel Inplace method to format data in PivotTables. I use a template based on sap_MM.xls with the procedure Public Sub ALV_CUS_Exit (). It is working correctly.
    My problem happens when I leave the transaction and return to the initial screen. The excel session is still active causing blockages in the Excel application itself
    I looked at the OSS note 122539: it describes functions which do not yet exist in the SAP delivery for certain events. I have tried those functions with the SAP declaration like :
    public sub customer_workbook_deactivate()
        Me.Application.Quit
    End Sub
    Either I use the wrong syntax or I do not set the code in the correct place of the VBA project, I have never activated these functions while leaving the screen excel inplace.
    Can you guide me to a solution ?
    In advance thank you very much.

    Thanks, but my first problem is that I do not pass through the procedure. Once I pass through it I'll try  "me.quit()".
    Regards.

  • Excel inplace, fill excel templates

    Hey everybody!
    Do anyone have documentation or links to it how to fill in templates and mayby abap code examples about exporting data and making kind of headers and footers in Excel inplace from ALV?
    I have sap_om.xls and sap_mm.xls, but they are empty when I push 'export to excel' buttom. I couldn't find the way how to reference data from ALV or from abap report to Excel inplace. Maybe I have to fill any exact internal tables to export information (like 'xxx_data_table' or something).

    Hi,
    Hope you have Excel installed on the PC. THis excel view displays the data you have in the excel workbook instead of the display of tabular display in SAP. YOu can save these files and use them for any purpose.
    Also you can get more about this on SAP help with string "displaying data in excel inplace view".
    Details are available there.
    Regards
    Prasanna

Maybe you are looking for

  • How can I remove credit card from itunes account?

    How can I remove credit card from itunes account?

  • Scheduling background job.

    hi all, my requirement is - i have a report program. along with several other fields there is one field for doc number (idoc number) . when ever this field is emty in the selection screen, the report should get executed in the background mode by hitt

  • Is there a way to extract a sequence from an FCP7 project that crashes on opening?

    I ingeniously used a Reference Quicktime to edit with in an old project, and now that that RefQT no longer works (the files it references are old, were moved/removed), the project stalls FCP7 with the rainbow pinwheel after the reconnection dialog is

  • Question: How to create new user and schema in 11g?

    Who can give me answer how to create a new user and schedule? I had installed oracle 11g DB and oracle client in my windows OS. I found in the 11g there is no enterprise manager console with new version. It is different from with oracle 10g.So i don'

  • PLEASE HELP!! Lightroom wont open

    I bought lightroom on May 7th and have had no problems with it, but now when I open it it says "this beta version of lightroom has expired.' and it will not open.  Any ideas?