Export to Excel '07 doesn't run the formatting Macro

I've searched Metalink for more information on this topic, but haven't anything usefiul. Has anyone run into this?
We're on 10gR2 (10.1.2.2)
Appreciate any help anyone could throw my way.
Brent

Kumar,
Thanks for your suggestion. I've already set the Export All Rows property on the exportButton item to True. I don't think we need to have the View objects for both the regions on the page.
As I mentioned this works fine in JDeveloper with different VOs associated with the regions.
It is not working once I deployed it to Apps Instance.
Thanks,
Satya

Similar Messages

  • When I design with Muse and export as HTML Dreamweaver doesn't attach the style sheets. Any answers?

    When I design with Muse and export as HTML Dreamweaver doesn't attach the style sheets when I open the files with Dreamweaver. Essentially when I design with Muse the files don't render the same with Dreamweaver. Is this a bug? Any work arounds?

    Then you will have to install a local server and use live view.  It's not that DW isn't rendering it or isn't attaching it, it's that Muse decided to use server-side processing to include it which is ok for a CMS practice when you are combining stylesheets for better caching, but it really isn't ideal for a single style sheet.  This is a shortcoming of Muse and one of the reasons many professionals don't back the product at the moment.  That and you can't actually buy Muse, so unless you are on a subscription you don't have it.  It's trying to fill a void for those who don't want to invest in the professional design tools like Fireworks or Photoshop or Dreamweaver, but want a cross between them to make designs.  If you have invested in the subscription though and want a better way to make layouts I highly recommend coding it yourself and using Fireworks or Photoshop to do the layout for you.  There is an excellent tutorial on the devnet (3 parts) to show you how its done ( http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html ).  Once you start using Fireworks or Photoshop you will realize just how limited Muse is in design.

  • Discoverer Plus4i - Exporting to Excel - Your server is running low

    We are currently running Discoverer Plus 4i.
    We have a couple of large reports that we want to export to Excel.
    We retrieve the report and then carry out the 'Export to Excel' action. The export starts to run but during the 'sort' phase we are getting the error "Your server is running low on virtual memory".
    The largest report is currently retrieving about 64K rows but will grow by at least another 20K.
    I appreciate we could restrict the retrieval through parameters but we were wondering if anyone had encountered this before and if there are any solutions out there.

    Hi,
    Any chance any of your items are created using custom functions/packages that return varchar's? If so, check you max char fetched (admin edition - properties tab, each item in folder(s) used by the report). The columns created by custom functions/packages will probably be 4000 characters. Excel doesn't like this. This also slows down your report. Wrap your custom function call in a substr and reduce to the correct size. This might fix your problem.
    If you don't use custom functions/packages in this report, oh well, just a thought.
    Regards,
    Nancy

  • ALV List export to Excel when program is run in background

    Hello,
    I am running into an issue with a custom ALV report which contains an export to Excel option on the input screen. However, when I attempt to run the report in background due to high volume of records/expected performance constraints, the job fails to produce a spool when the "export to Excel" option is selected. When I deselect that option, the background job successfully generates a spool, which I can then export to Excel (albeit the formatting will not look the same).
    Is the above an accurate statement or does anyone know of a way where either;
    1) The background job can create and store the Excel output into a cached directory?
    2) The spool generated, when exported to Excel, can match the format of the foreground Excel output?
    Thanks in advancce.

    Check out the sample program of the provided link ..
    http://www.sap-img.com/abap/download-in-background-in-excel-format.htm

  • Export to Excel functionality doesn't work when DataControlScope is shared.

    Hi All,
    I have a taskflow whose transaction setting is as Below:
    1.Always Begin New Transaction
    2.DataControlScope is isolated(Share data controls with calling task flow checkbox is unchecked).
    I have an Export to Excel functionality with exportCollectionActionListener.The jsff source snippet is given below.
    <af:commandMenuItem text="#{smviewcontrollerBundle.EXPORT_TO_EXCEL}"
    id="cmi1" icon="/images/excel_icon.jpg"
    binding="#{backingBeanScope.backing_fragments_RefSetSearch.cmi1}">
    <af:exportCollectionActionListener exportedId="resId1"
    type="excelHTML"
    filename="SmRefSetCodes"
    title="System Reference Inquiry Result"/>
    </af:commandMenuItem>
    The jsff is used in the above mentioned task-flow.Having this configuration in task-flow,export to excel doesn't export any table data in the excel sheet.But the moment,data-control-scope is changed to shared,export starts working.
    Is there any specific reason on this kind of behavior.
    In all other task-flows in my application,I have data-control-scope as isolated only,but there,export is working perfectly fine.
    Please help.
    Thanks,
    Gaurav

    Hi Frank,
    Thanks for your reply.
    Exactly,I have just one task-flow in which I have a page fragment for which export to excel is not working.The moment I change the data-control-scope to shared,export functionality starts working.
    I do have correct table id mentioned in exportCollectionListener.
    Is there anything I need to look into?
    Thanks,
    Gaurav.

  • ALV ( How to save the output as Excel file whenever we runs the Report )

    Hi,
          Can any one please let me know , how we can automatically save a ALV Grid Display report in Excel Format in presentation server whenever we execute the Report.
    Regards
    Avi.

    Hi,
    This report demonstrates how to send some ABAP data to an
    EXCEL sheet using OLE automation.
    INCLUDE OLE2INCL.
    handles for OLE objects
    DATA: H_EXCEL TYPE OLE2_OBJECT,        " Excel object
          H_MAPL TYPE OLE2_OBJECT,         " list of workbooks
          H_MAP TYPE OLE2_OBJECT,          " workbook
          H_ZL TYPE OLE2_OBJECT,           " cell
          H_F TYPE OLE2_OBJECT.            " font
    TABLES: SPFLI.
    DATA  H TYPE I.
    table of flights
    DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
    *&   Event START-OF-SELECTION
    START-OF-SELECTION.
    read flights
      SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
    display header
      ULINE (61).
      WRITE: /     SY-VLINE NO-GAP,
              (3)  'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (4)  'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (8)  'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
      ULINE /(61).
    display flights
      LOOP AT IT_SPFLI.
      WRITE: / SY-VLINE NO-GAP,
               IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
      ENDLOOP.
      ULINE /(61).
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-007
           EXCEPTIONS
                OTHERS     = 1.
    start Excel
      CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
    PERFORM ERR_HDL.
      SET PROPERTY OF H_EXCEL  'Visible' = 1.
    CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
    PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-008
           EXCEPTIONS
                OTHERS     = 1.
    get list of workbooks, initially empty
      CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP.
      PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
      PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
      PERFORM FILL_CELL USING 1 3 1 'Von'(003).
      PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
      PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
      LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
        PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
        PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
        PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
        PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
      ENDLOOP.
    changes by Kishore  - start
    CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP  EXPORTING #1 = 2.
      PERFORM ERR_HDL.
    tell user what is going on
      SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
      PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
      PERFORM FILL_CELL USING 1 3 1 'Von'(003).
      PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
      PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
      LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
        PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
        PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
        PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
        PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
      ENDLOOP.
    changes by Kishore  - end
    disconnect from Excel
         CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING  #1 = 'C:\SKV.XLS'.
      FREE OBJECT H_EXCEL.
      PERFORM ERR_HDL.
          FORM FILL_CELL                                                *
          sets cell at coordinates i,j to value val boldtype bold       *
    FORM FILL_CELL USING I J BOLD VAL.
      CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_ZL 'Value' = VAL .
      PERFORM ERR_HDL.
      GET PROPERTY OF H_ZL 'Font' = H_F.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_F 'Bold' = BOLD .
      PERFORM ERR_HDL.
    ENDFORM.
    *&      Form  ERR_HDL
          outputs OLE error if any                                       *
    -->  p1        text
    <--  p2        text
    FORM ERR_HDL.
    IF SY-SUBRC <> 0.
      WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
      STOP.
    ENDIF.
    ENDFORM.                    " ERR_HDL
    Please note that this example maybe slow at filling the excel table
    (perhaps four fields per second on a 900 MHz machine - almost 30 seconds
    for a short example).
    To get the data on properties and methods - there is a bit of smoke and mirrors
    going on here; they are EXCEL properties and methods, not sap ones - so you need
    to look at excel help to determine how a particular function is structured. then
    build the block in sap, as shown in the example.
    If you only want to transfer the data to Excel like when you transfer the data from
    ALV to Excel simply use the Function Modules:
    XXL_SIMPLE_API
    If you want more modifications when you transfer it to Excel use:
    XXL_FULL_API
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • Jasper Export to excel: changing background color of the cell/field

    Hi all,
    I have designed a report containing a set of 5 different fields. All these are STRING values.
    Among these are two fields named: BUDGETED and ACTUAL.
    I want to show the data corresponding to ACTUAL in red color if the value of ACTUAL is greater than BUDGETED when exported in excel format.
    The value itself should be displayed in red color or the excel cell should have a color red
    Can someone please help me in this? How can we implement the logic to compare these two values?
    Thanks in advance.

    You are using Jasper and you thought: hey, let me post a question in the Oracle Reports forum?

  • Discoverer doesn't run the same query than TOAD

    Hi,
    I'm trying to make the following in Discoverer version 10.1.2:
    To display some records of a table using a condition and display the total of all of them of the same table. I'm trying to create a custom folder with the following query:
    SELECT PRSTDCLA
    FROM PROVEIDER
    UNION ALL
    WHERE ( PRSTDCLA = 1 )
    SELECT SUM(PRSTDCLA)
    FROM PROVEIDER;
    If I run this query in TOAD, the result is the correct. But when I run it in a Desktop worksheet, the result obtained is one row: the total of the whole table.
    Why Desktop doesn't display the correct result?
    Thanks.

    Every numeric field in Discoverer has a default aggregation method. By default, this is set to sum. When you are creating the query in Discoverer, you need to click on the plus next to PRSTDCLA and select "detail" when you are creating your Discoverer query. Otherwise, it will automatically try and group by the non-aggregated column. In this case, you aren't selecting any other columns, so there aren't any other columns to group by and you get one row.
    In Discoverer admin, you can change the default aggregation method for the PRSTDCLA field so that it displays the details (and does not aggregate by default).
    Also, why put the total in the folder definition? Discoverer can put the Total at the bottom of the table for you. Just create a new "Total".
    Hi,
    I'm trying to make the following in Discoverer
    version 10.1.2:
    To display some records of a table using a condition
    and display the total of all of them of the same
    table. I'm trying to create a custom folder with the
    following query:
    SELECT PRSTDCLA
    FROM PROVEIDER
    UNION ALL
    WHERE ( PRSTDCLA = 1 )
    SELECT SUM(PRSTDCLA)
    FROM PROVEIDER;
    If I run this query in TOAD, the result is the
    correct. But when I run it in a Desktop worksheet,
    the result obtained is one row: the total of the
    whole table.
    Why Desktop doesn't display the correct result?
    Thanks.

  • WAD 70 - Export to Excel 2010 doesn't work as expected

    Hi Friends,
    We're rolling out Office 2010 and are facing several problems with BW Interfaces.
    I've to solve this:
    Runing Office XP Export to Excel ran without problems. After pressing standard button
    https:/....../portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher url was called and
    an open/save dialog appeared.
    Office 2010 : System asked for a certicate. I added VeriSign Class 3 Public Primary CA
    according to SAP note 711648 (not knowing a better way, being aware it's valid for 3.5)
    This ffinally worked, but now I have to confirm certicate four times and believe me, that is not very convenient.
    Now my question(s):
    Was I right so far and how can I avoid confirmation of certificate in dialog?
    Thanks in advance for your response and regards
    Joe

    Hi Martin,
    Thanks again. But in my case, there must be a different issue.
    Changing macro security didn't change anything visible.
    What' really strange,
    starting sexport in the context menu works without requesting certificate,
    and adding a new export statement in a button group item also works as
    desired. Comparing 'new' and' old' xhtml code, I'm not able to see any dufferences.
    Will open a new athread with this subject, if necessary.
    Best Rgeards
    Joe

  • Export to Excel u0096 how to change the layout of the spreadsheet?

    Hello all,
    Do anyone knows how to configure the layout of the excel spreadsheet that opens when doing "export to Excel" from a web template report?
    For example, I would like to add texts or the filter values, how can I achieve it?
    Thank you!
    Ron.

    how can u add labels and texts in the exported excel sheet.
    as far as i know , NO U CANNOT DO THAT.
    cos watever data is displayed out of analysis web item that and only that u can output to excel websheet.
    as the analysis web item is assigned to excel output
    but if u want to output the texts and filter
    i can suggest
    create a tabbed pages
    in tab page assign filter section
    now in that tab page if u do export to excel the excel sheet will have filter output
    u cannot change that binding as far as i know..

  • Export to Excel from Reports produces corrupt file format

    Whenever I choose to export to excel results of custom reports I am unable to open the file as I am told the file format is corrupt. The contents show as containing xml data and even changing the extension from xls to xml does not get me anywhere.
    If I save the report and then download I am still informed the file format does not match the extension but the fie will open in Excel.

    Hi,
    Please raise a ticket or provide the URL if the issue is still there.
    Kind Regards,
    Alex

  • How do I set up firefox after downloading it and it doesn't run the set up after I click on it?

    I downloaded firefox. I click the set up and it goes to the person to run it and I choose myself and then it goes away and I can't set it up. I've even tried the Administrator.

    If you want to install firefox with the details in detail can be seen here... [http://mozillafirefoxdown.blogspot.com/2011/10/how-to-install-mozilla-firefox.html Setup Firefox]
    and if you want to remove firefox can be found here... [http://mozillafirefoxdown.blogspot.com/2011/10/how-to-uninstall-mozilla-firefox.html Remove Firefox]
    and others associated with the firefox is there...
    Hope can help...

  • New to Macbook Pro - it doesn't run the printer install disc?

    Hi
    I am new to Macbooks generally and have a 2012 Pro - I am trying to intall the set up disc for a WIFI printer/scanner and the disc whirrs around helpfully but nothing actually happens...such a simple thing....help would be much appreciated.  [The manual for idiots says put in disc - run as instructed on the screen....well I would love to do just that...}

    First, ensure that the Mac is at the latest software level. Run Software Update in System Preferences and do a Check Now. Have it install anything yet amiss (for instance, you state to have 10.7.4, SU will surely offer to update to 10.7.5). Apple has been updating printer drivers from HP, Lexmark and a whole slew of makers lately.
    Then, after making sure the printer is accessible to your Mac, go ahead and create the printer instance in the computer. USB cable, ethernet cable, wireless; however it is your printer communicates. Open System Preferences /  Print & Scan, see if the printer isn't listed already (USB printers set themselves virtually automatic). If not, click on the plus button ( + ) under the left column and go about locating your printer. Options are Default (aka Bonjour, printers announce themselves on the same subnet), IP (need to know the IP address of the printer, may need to print out a configuration/test page to ascertain) or Windows (as shared by some nearby Windoze computer). Once the printer is found and selected, let the Mac "talk" to it and see if the proper driver is automatically selected. Then, when the instance appears on the left column, click to select and use the various buttons and controls on the right to finish configuring the minutiae: paper bins, media type, features like duplex printing, etc.
    For instance, we recently got an HP 5200tn LaserJet. Without having to download anything or even touch the install CD that came with it, the Mac was able to find it, set it up and even offer me a full configuration panel from where I can completely manage the printer. All these goodies were already on the system after the latest round of updates from Apple.

  • I have a Mac Mini, and it won't accept connecting my Sony video camera.  So I got a SD mem card reader to unload my movies from.  It worked the first time I used it a few months ago.  This time it says it doesn't recognize the format I am trying to use?

    I have all thenecessary updates.  I have switched over from a PC to Mac back in April and have nad nothing but problems adapting.  I don't know why this worked the first time, and put my videos inti imovie, and now it doesn't recognize it at all.  And the Mem card reader does work, because I just put the SD card from my regular camera into it and it downloaded those fine, it just won't take my movies!

    Which sony camera? I have a Sony HDR-CX550 right now and have been able to use the SD card as well as connect the camera directly. I also had CX110 that work too. You may want to try to copy the complete top level folder from the SD card to the Hard drive, then try to "import from Camera archive" and select that folder.

  • Crystal Report 2008 doesn't set  page size when export to excel file

    Hi,
    I am using Crystal Report 2008 Developer edition.
    At Crystal report design time setting the below page setup:
    Page Options -
       to A3(297X420 mm)
    Orientation --- Landscape
    and using the following code in .net (c#)
    I am using below format options to export in excel in .net 2005
    ReportDocument oReport = new ReportDocument();
    oReport.FormatEngine.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    oReport.FormatEngine.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA3;
    if (aParamlist.ReportFormat == ReportFormatEnum.MicrosoftExcel)
    ExcelFormatOptions excel = new ExcelFormatOptions();
    excel.ExcelUseConstantColumnWidth = false;
    // Use detail section one as a guideline to determine column width
    excel.ExcelAreaGroupNumber = 1;
    //excel.ExcelAreaType = AreaSectionKind.Detail;
    excel.ExcelAreaType = AreaSectionKind.Detail;
    // Prepare exporting options
    ExportOptions export = oReport.ExportOptions;
    export.FormatOptions = excel;
    export.ExportFormatType = ExportFormatType.Excel;
    oReport.Export();
    when export to excel it doesn't set the Paper Size to  A3(297X420 mm).
    Is there any way to set the paper size while export to excel or in other formats also????
    Thanks & Regds,

    Hi,
    thanks for your email.
    This is not happening in development environment.It is setting the paper size anf paper orientation properly.
    this is happening in the production environment where only redist installation is done.
    thanks

Maybe you are looking for

  • Using ipod on Estima TV

    I have an imported Toyota Estima with a factory fitted DVD/TV player in it (the type in the dashboard and with a screen that hangs down in the middle of the vehicle). In the very back there is a VTR connection and I have tried plugging my ipod video

  • Illustrator cs6 and cc crash (mac os)

    I AM TRYING TO DOWNLOAD CS6 AND CC TRIAL VERSION BUT IT ALWAYS CRASHES...... Exception Type:  EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 VM Regions Near 0: -->     __TEXT                 0000000100000000-0000

  • Error on Installation 46B in phase DBR3LOADEXEC_NT_ORA

    Hello to all! In this moment I am installing SAP R/3 4.6B on Oracle in Windows 2000. I have presenting the error in the phase DBR3LOADEXEC_NT_ORA, in the step on the process run the command SAPSSEXC.cmd. The other proccess runing ok. The firt error i

  • WebServer 6.1SP4 fails starting amserver module

    I have a working Directory Server 5.2 installation . Now I added Java Access Manager and Web Server 6.1SP4 to test the RSAauthentication module. Everything looks ok througth the installation / configure late process, but when I try to start the Web s

  • How can i make a field mandatory in MIRO transaction

    Hi, In transaction MIRO, in the details tab there is a field Cent.bank ....... I want to make that mandatory for the specific comapny codes Please suggest me some exits or Badi's so that i can code in it .........