Excel in Place in ALV

Hi,
Is it possible to show Excel in place button in ALV Grid? How?
Thanks!

Hi,
See this thread will help u Excel view in ALV Grid---- Urgent
regards,
parvin

Similar Messages

  • Excel in place from AlV GRID

    Hello,
    i am displaying an ALV Grid by using "REUSE_ALV_GRID_DISPLAY". When I switch to Excel inplace display for the result list only 202 rows are displayed in excel. (in alv list there are 1376). When i switch back to alv list all are shown again. Has anyone an idea about ? I guess there is a parameter who limits it for excel.
    Kind Regards
    Joachim Bertram

    Hi,
    There is a Macro Security setting "Trust Access to Visual Basic Project" which needs to be turned on within Excel in order to get any rows in the Excel inplace from your ALV, but since you are getting a subset of rows I doubt this is your issue. 
    Judging from the number of SAP Notes updated in the year 2008, it would seem to me that the Excel integration is still very much an ongoing work-in-progress.  Unfortunately, I couldn't find any other Notes that specifically talk about missing only some rows (other than the ones that cover the ALL rows missing problem). 
    You may want to check with your Basis team to determine if there is some sort of setting that is limiting the number of rows being transferred.  From what you describe, though, I'd be very surprised if a setting like this (if it even exists) would be set to such a small number of Excel rows.  You might also want to check with them to find out if there is a max number of bytes allowed for Excel inplace transfers.  If so, and if you have a lot of columns, then this might be a factor.
    Which versions of Office/Excel and SAPGUI are you using?  This is important because, as [Note 722513|https://service.sap.com/sap/support/notes/722513] explains in detail, only certain combinations of MS Office, SAPGUI and SAP Basis are supported.  If you can exclude the support issue as a factor then there is a chance that the issue you described in you original message may actually be a new problem that has not been addressed by SAP yet.  After all, how and why do you suppose all of the dozens of existing Notes regarding ALV and Office integration got created in the first place?  Some customer had to discover the problem and report it to SAP. 
    One final suggestion I can make is that you should have someone confirm that Note 756623 has been applied correctly in your system.  Even though the support pack SAPKB62061 should have this Note, it never hurts to check the Note implementation line-by-line just in case (especially in a case like this in which the note seems to match your symptoms so closely).
    Best Regards,
    Jamie

  • ALV Grid Excel in Place using REUSE_ALV_GRID_DISPLAY

    I have a ALV grid displayed in a report and i have a bunch of layouts created by various users and the layouts works fine when selected. But when I use 'Excel'  (excel-in-place) button to export the grid into an excel sheet, the order of the columns are all jumbled up and not in sync with the ALV grid layout on the screen. However, when I use export to local file>excel option, the order of columns are in sync with the layout. Can any one explain why this is happening and how I can fix it ? Is there any OSS note or something that I need to apply ?
    PS : I am using REUSE_ALV_GRID_DISPLAY to display the report and I am building the fieldcatalog manually
    Eg :
    CLEAR r_fieldcatalog.
      MOVE 'TB_OUTPUT'  TO r_fieldcatalog-tabname.
      MOVE 'BUKRS'      TO r_fieldcatalog-fieldname.
      MOVE 'VBAK'       TO r_fieldcatalog-ref_tabname.
      MOVE 'BUKRS_VF'   TO r_fieldcatalog-ref_fieldname.
      MOVE text-f01     TO r_fieldcatalog-seltext_s.
      MOVE text-f01     TO r_fieldcatalog-seltext_m.
      MOVE text-f01     TO r_fieldcatalog-seltext_l.
      add '1' to lv_col_pos .
      move lv_col_pos to r_fieldcatalog-col_pos .
      APPEND r_fieldcatalog TO tc_fieldcatalog.
      CLEAR r_fieldcatalog.
      MOVE 'TB_OUTPUT'  TO r_fieldcatalog-tabname.
      MOVE 'VKORG'      TO r_fieldcatalog-fieldname.
      MOVE 'VBAK'       TO r_fieldcatalog-ref_tabname.
      MOVE 'VKORG'      TO r_fieldcatalog-ref_fieldname.
      MOVE text-f02     TO r_fieldcatalog-seltext_s.
      MOVE text-f02     TO r_fieldcatalog-seltext_m.
      MOVE text-f02     TO r_fieldcatalog-seltext_l.
      add '1' to lv_col_pos .
      move lv_col_pos to r_fieldcatalog-col_pos .
      APPEND r_fieldcatalog     TO tc_fieldcatalog.
    Thanks in advance,
    Shareen

      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_pf_status_set = 'ALV_PF_STATUS'
          i_callback_program       = sy-repid
          is_layout                = gs_layout
          it_fieldcat              = gt_fieldcat[]
          i_default                = ' '
          i_save                   = g_save
        TABLES
          t_outtab                 = it_tab
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    and beneath this just put a form.as its shown.
    FORM alv_pf_status USING l_alv_excl TYPE STANDARD TABLE.
      SET PF-STATUS 'STANDARD_FULLSCREEN' "excluding lt_extab
                    OF PROGRAM 'SAPLSETB'.
    ENDFORM.                    "alv_pf_status

  • ALV Excel in-place in Portal

    Dear gurus,
    i wonder if:
    1) ALV Excel inplace can be used within portal
    2) if yes, what configuration steps I must maintain (if there is any document about it, could anybody point me to it?)
    3) if not, can anybody suggest any alternative? I need to have my Excels formatted (like using OLE or when I generate a XML Office file, but that would take me too long to create all the outputs one by one) and if possible opened from the portal. If that could not be done, my users would accept to save it first and open the file then.
    4) I need this functionality because on my portal the users access the standard ERP transactions (through ITS or WebGUI or how exactly that is called). If I could do any programming, I would use Office UI WebDynpro container, but obviously I cannot do that. That is the reason I look for some SAP standard way how to do this.
    Thank you for your time and effort if you ave read this far:))¨
    Have a nice day everybody, regards Otto

    Looks like there is not real progress regarding this topic. Excel in-place is not supported in any GUI version except the SAP GUI for windows. For anybody who would struggle and waste time like me, please read here:
    Note 512068 - Office integration and SAP GUI for HTML
    Note 822867 - Desktop Office Integration: No support for ITS & Java GUI
    Regards Otto

  • ALV Excel in-place for ITS transactions

    Dear gurus,
    i wonder if:
    1) ALV Excel inplace can be used within portal/ transactions provided through ITS
    2) if yes, what configuration steps I must maintain (if there is any document about it, could anybody point me to it?)
    3) if not, can anybody suggest any alternative? I need to have my Excels formatted (like standard ALV in-place Excel, like using OLE or when I generate a XML Office file, but that would take me too long to create all the outputs one by one) and if possible opened from the portal. If that could not be done, my users would accept to save it first and open the file then.
    4) I need this functionality because on my portal the users access quite many standard ERP transactions. If I could do any programming, I would use Office UI WebDynpro container, but obviously I cannot do that. That is the reason I look for some SAP standard way how to do this.
    Thank you for your time and effort if you ave read this far:))
    Have a nice day everybody, regards Otto

    Looks like there is not real progress regarding this topic. Excel in-place is not supported in any GUI version except the SAP GUI for windows. For anybody who would struggle and waste time like me, please read here: Excel inplace not supported in ITS/Web GUI.
    Note 512068 - Office integration and SAP GUI for HTML
    Note 822867 - Desktop Office Integration: No support for ITS & Java GUI
    Regards Otto

  • ALV Excel in place formatting problem

    Hi All,
    I'm running out of options with a particular problem I'm experiencing in ALV, and it i'm doing my head in...
    The Problem :
    I'm using ALV Grid to create a report. The report is sorted on 4 fields of which 3 have subtotals.
    The whole of the report displays fine in ALV but when I start Excel in place, after 75 lines or so, the export to the Excel sheet seems to get confused and initially starts repeating merged cells (which is not that big a deal) but eventually values are left out all together.
    I'm not posting any code, as it does not seem to have anything to do with my code (after all it displays correctly in ALV).
    What I have tried sofar :
    -Replaced sap_mm.xls and sap_om.xls templates in BDS --> No luck, still the same problems.
    -Display without subtotals and kick off Excel in Place --> Works fine, no values truncated formatting OK, but not as I want it !!!
    -If I filter out the sections one by one,eg, C2ST by itself, L1ST by itself, the export seems to work fine.
    I have linked in two files, which show the problem :
    Here is a [Screen shot of the Original SAP list |http://www.geocities.com/adutchoz/alv_PROBLEM.jpg].
    And here is the [Excel in Place file |http://www.geocities.com/adutchoz/ALV_Formatting_problem.xls] which is wrongly formatted. As you can see after line 75 the cell merge does not work anymore and from  line 100 it is leaving out Management Activity column values.
    Has anybody else experienced these problems ? I'm interested to know this before I go to OSS...
    Any feedback will be highly be appreciated.
    Cheers,
    Wouter.

    Did you get an answer to this? could you share a solution, please?

  • Default Excel in place for cl_gui_alv_grid, no headers

    I am calling method set_table_for_first_display in cl_gui_alv_grid.
    In the layout structure I have no_headers = 'X'. 
    In the Grid view, there is no default header - it is hidden.
    When switching to Excel in place, the headers appear at the top shaded in gray.
    I have a need for two heading rows so I need the default hidden.  Is there a way to keep the default heading from converting to the gray shadded row at the top of the Excel view?

    Hi,
    On ouput of ALV Grid -> Right click->Spreadsheet->Excel(In MHTML Format)and press enter
    a pop will come for saving there replace the file name export.MHTML to export.xls.
    I hope you need this format right?

  • Excel in place runtime error

    We have a custom report which displays the output in ALV Grid ( OO ABAP , using custom container ) and when we try to use the excel in place option we get a short dump . We have more than 60 thousand records. We are using microsoft excel 2007.
    Exception condition "SYSTEM_FAILURE" raised.
    A RAISE statement in the program "SAPLOLEA" raised the exception
    condition "SYSTEM_FAILURE".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Thx
    Krishna.

    Create a custom toolbar button and use any of the standard FM's/methods to download to excel. The reason i am saying it, at times, it's been observed that for large data/records, the standard download to excel functionality dumps. Not sure if this is an actual issue, but this happened with me few times and always gave a custom download functionality.
    See, if it works.
    Thanks,
    Santosh

  • How can I run a BW Function from EXCEL-IN-PLACE (BPS)??? Please give any ex

    How can I run a BW Function from EXCEL-IN-PLACE (BPS)using VBA??? Please give any example.
    I would like to run my function module ZMY from EXCEL-IN-PLACE using VBA and get a result.

    if you are using excel in place in the web application environment I doubt you can, you've never really had any macro functionalty there.
    If you are in the gui environemnt (Planning folders) it will depend on how you want to invoke the module...

  • Import from excel in WD ABAP ALV

    Hi,
    Is there any ready made component e.g which shows Import data from excel to WD ABAP ALV.
    Kindly suggest.
    Best Regards
    Sid

    Sample codes:
    "Define the tables according to your import data,
    "or just define an structure,
    "and then define the internal table
    DATA IT_Map type table of ZYFIAccountMapCN.
    TYPE-POOLS: truxs.
    DATA F_Name(128) type C value 'd:\0927.xls'.
    DATA: it_raw TYPE truxs_t_text_data.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
      I_FIELD_SEPERATOR          =
      I_LINE_HEADER              =
        I_TAB_RAW_DATA             = it_raw
        I_FILENAME                 = F_Name
      TABLES
        I_TAB_CONVERTED_DATA       = IT_Map
    EXCEPTIONS
      CONVERSION_FAILED          = 1
      OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to read an APO table from excel in place using Visual Basic ?

    We have enhanced some APO reports using layouts that use excel in place with custom visual basic (VB) code. For example, the VB code can append the data with additional columns that perform specific calculations and then proceed to create pivot table reports in excel..That is working fine.
    The challenge is to see if that VB code could read specific APO tables (e.g. product master tables) to bring additional elements into excel and thus expand the report content. We know that additional fields can be added to the reports, but having the flexibility to read tables from VB could be more flexible.
    Can that be done?. If so, would it be possible using exclusively the VB code attached to the layout, i.e. no ABAP?

    Hello Anselmo,
    I am assuming you are doing this either using BeX analyzer or by reading the planning book using the RFC ActiveX component and a BAPI.
    I think it's possible to retrieve the data from the product master table. Here are my thoughts on how can this be done:
    1) You can create a generic datasource (transaction RSO2) for the product master table, connect that to a BW remotecube and use a BeX query to retrieve that values. You can then join the queries using VBA. Alternatively, you can build a muti-provider that connects your current InfoCube to the new RemoteCube and build a query from there. The multi-provider, in this case, joins the data (no more VBA).
    2) If you have already loaded your product master data into master data carrying InfoObjects then you can try the same technique as #1 but this time there is no need to create the generic datasource. You can use the InfoObjects for your master data as the InfoProviders for your query.
    3) You can try the ActiveX component from SAP which can  connect to any emote enabled function in SAP system. SAP already provided some BAPIs (check transaction BAPI for a list) which might be able to provide the data. You can also create your own function modules (be sure to make it remote enabled) using ABAP. (transaction SE37).
    Hope this helps

  • Excel in Place not showing

    Hi,
    I have a problem with excel in place for CL_GUI_ALV_GRID. There are times that I got an error &VEXCEL something...
    Thanks!

    An excel problem,,, never encountered the problem again

  • Is it possible to change the formatting of Excel in place

    Hi,
    is it possible to change the standard formatting of columns and texts when using Excel inplace (Excel on the web for the BPS )?
    Many thanks,
    Simon Cohen

    Simon,
    I am afraid you can't modify styles using excel in place.
    Note 632333 says the following :
    List of the features the Excel OWC can use from the template:
    Text format - font, size, colour
    Cell format - background colour, border, alignment
    Number format
    "Simple" formulas
    Panes Split and Freeze (only for Office versions 2002(XP) or higher)
    Nevertheless this applies only for cells which are not filled by BPS runtime. All texts and values written by BPS runtime into the template use standard styles. The styles cannot be changed, see below.
    List of features that are not available in the Excel OWC:
    Styles. Consequently no changes to the SAP standard styles are taken over to the OWC. Therefore the features mentioned above are available only for the cells not containing a transaction specific data
    VB Macros. When needed, the designer can use a script language (VBScript, JavaScript) to access the DOM of the OWC. You can include HTML into a text component in the Web Interface customizing (tn BPS_WB) and place your script code there.
    Cell and text formats not mentioned above (e.g. text orientation,...)
    Line brakes within a cell
    Panes Split and Freeze (only for Office version 2000)
    Embeded elements (like form objects, pictures, background picture,...)
    Having more than one worksheet in the Excel OWC
    In comparison to HTML based planning layouts the Excel layouts do not identify the position of the documents.
    Hope it helps,
    Alberto

  • Excel View from an ALV Report

    Hi,
    How I can use the Excel View correctly?. I have a User that want to see this view from an ALV Report. The user clicks on "Views" -> "Microsoft Excel" then in the ALV area appears the excel workarea but all the cells are blank.
    Is there an option or previous configuration than make the data appear?
    Regards,
    CL

    carlos,
    Check this out.
    1) To change the current layout, show additional information, or hide unnecessary information, choose  next to  and then Change Layout. 
    The Define Layouts dialog box appears. All of the fields displayed in the report are listed in the left column. All of the available information you can display is listed in the right column. This information is grouped. Through the list box, you can select a certain field group and display the available fields in the right column.
    Make the desired changes and select  Enter.
    2) Select the desired fields and use the arrow keys to transfer the selected fields or all fields. These fields are now shown in the left column.
    3) End your selection with Enter. The layout you have defined is applied to the report immediately.
    4) To save this selection, select Save. Name your layout. The name of the layout must begin with a slash (/) or with a letter (user-specific).
    5) Decide whether you want to save the layout as a user-specific layout. If you save it as a user-specific layout, it is only available to you. If you don’t save the variant as a user-specific layout, it is also available to other users.
    Hope this helps u,
    Regards,
    Nagarajan.

  • Excel option problem in ALV report output.

    Hi,
    In the output of the ALV report, if I click the Microsoft excel button, the following error is occured.
    "View cannot be switched: Product is not installed or integration is not active".
    We are using SAP GUI 7 and patch level 12.
    Please advice what shall be done to overcome this.

    Hi
    Try this.....
    Open Excel, go to Tool->Macros-->Security
    And you will see a window, Make sure that the two options at the bottom of the window are checked. Save all, close window and try again.
    And when excel asks about enable or not macros always select enable macros.
    Hope this helps.....

Maybe you are looking for

  • My new Mac Mini

    I just got my new Mac Mini the other day and my first observation is that the fan is dead quiet and the unit doesn't get even hot. Fantastic!! I've copied my applications and files from my Mac Pro desktop and I'm ready to connect it to my projector a

  • Finding errors in a Coldfusion source file at compile time

    My application is built using Coldfusion, Flex and MySQL as backend. I am using FlexBuilder 3 for editing/compiling the Flex source(MXML and Actionscript) files. For the Coldfusion(CF) source files(cfm and cfc files), I am using Coldfusion Builder to

  • Create Purchase Order in EBP system

    Hi All,   I have developed a smartform in EBP system to print Purchase Orders, can anyone please tell me how do I test this in EBP system, Regardes, SN

  • File chunking and uploading/reasembling

    i'm working on a chunked file uploader that talks to a nginx modul that handles resumable/chunked uploads. right now i'm trying to verify that the file chunking process is working correctly. however i've run into some strange things with my local tes

  • Multiple hierarchies

    Could any one tell me how we deal with Multiple hierarchies of data in XI without BPM OR with BPM? how we solve Multiple hierarchies of IDOC problems for that should we use AS2 or  module?