Standard code for Export to XLS / XLS 2000

Hi there
I was wondering if someone knows how the standard code works for exporting a web template to Excel?
The reason I ask is that we have a button in our toolbar, which the user can click and certain items within the web template are then downloaded to Excel.
If, however, I use the context-menu (right-click) and choose to export that way, then some additional fields are included in the download.
There is one field in particular that I want, which is included in the right-click downloaded file, but I don't know which web item it is, so can't specify it in the button code.
Is there a way to determine this?
Cheers,
Andrew

There are a few third party tools that let you do that.
Some such tools are Monarch, Rep2excel etc.
Google for "convert oracle report to excel" and you will get a few more hits.
The best way to get it in Excel is to change the output format to XML and write a quick XML publisher template.
Hope this helps
Sandeep Gandhi
Independent Consultant

Similar Messages

  • Useful code for exporting to Excel xlsx

    I wanted to "give back" by posting this little code sample for exporting a query into Excel xlsx
    Kudos to Charlie Arehart for helping me increase the server memory and java heap size.
    This code works for me using CF 9 on Windows Server 2008 R2. By the way, CFSpreadsheet seems to consume a lot of memory on larger exports. For this reason, we increased the server's physical memory, then used CF Administrator to increase the jvm heap size in the Administrator -> Java and JVM settings. My max java heap size is now 3072.
    Need help? I recommend you contact Charlie Arehart on server issues: [email protected]
    Code:
    Example query is called "Myquery" Spreadsheet is called "Myspreadsheet" I export the spreadsheet to a subdirectory called "xlsx" I use cflocation to direct the browser to the spreadsheet. The browser prompts the user to open, save or cancel.
    <cfset var_filenameis = "Myspreadsheet.xlsx">
    <cfset SpreadsheetObj = spreadsheetNew("true")>
    <cfset SpreadsheetObj = spreadsheetNew("#var_filenameis#","yes")>
    <cfspreadsheet action="write" filename="./xlsx/#var_filenameis#" query="Myquery" overwrite="true">
    <cflocation url = "./xlsx/#var_filenameis#">    

    An inline DataTable is not the same thing as exporting data in a standardized XLSX format.  (I'll post the script I use in another comment.
    Regarding inline tables, here are some other worth scripts:
    Handsontable - minimalistic Excel-like data grid editor
    http://handsontable.com/
    TableSorter 2 (forked) - sorting, filtering, grouping, pagination, inline editing, sticky header
    http://mottie.github.io/tablesorter/docs/
    jQuery Grid Plugin
    http://paramquery.com/
    jQuery table to CSV
    http://www.kunalbabre.com/projects/table2CSV.php
    jQuery Pivot - presenting table data in pivot form
    http://metalogic.dk/jquery.pivot/demo.htm

  • Standard report for export sales & import purchases

    Hi all,
    In SAP any standard reports for the following:
    1. Export sales
    2. Import purchases
    regards,
    lakshminarayana

    hi,
    check these standard transaction.
    OKSO  Export Reports for Sales Orders

  • Standard codes for insp. characteristics, char. attributes and defects

    Hi
    Can anyone refer to standards and standard database developed and maintained  by international research / standard setting bodies that be used as QM basic data for inspection characteristics, attribute codes, defects codes, or other master data.
    Maybe standard codes available are different for pharma and chemical industry.
    Please reply.
    Edited by: Muhammad Mobashir on Feb 3, 2010 11:23 AM

    Like we see Oreda for Reliability Centered Maintenance that can be used in Plant Maintenance module
    Edited by: Muhammad Mobashir on Feb 4, 2010 10:06 AM

  • Different GL Codes for export and domestic behind account key ERL

    Hi all,
    I have created separate pricing procedures for export and domestic sales. The issue is that condition type PR00 is used in both procedures and the acount key behind PR00 is ERL. Now the issue is that from finance side, if i have to segregate revenue from export sales and revenue from domestic sales then how can i do that as the gl code is same in both procedures.
    Please respond.
    Best Regards,
    AI.

    Hi
    In account determination procedure you could use two different access sequence such that for domestic revenues 1st access will come into picture while for export the other one.
    try and revert

  • Reproting tool(api) for exporting in xls files in different templates

    Hi
    I need api for exporting data into xls files. DIfferent reports everyone has own template and data.
    Please suggest some free java APIs or tools that can be intergrated with java web application easy.

    you should use windward reports. we can use excel for the template, report, and now even the data source. And our design tool is word/excel/powerpoint, so you're already trained. you need a powerful, secure enterprise-level Java/J2EE reporting engine to back your critical reporting and document generation systems.
    The Windward Engine installs easily, runs on one or more servers as part of your server-based application, and can easily produce hundreds of thousands of reports per day on a single server. The server is a pure Java product (and also is available as pure .NET).
    Even better news for you guys: When combined with the Windward report design tools AutoTag and AutoTag Max, users design, schedule and run reports from within Microsoft Office. That means you can turn over reporting to the business group and get back to more interesting work.
    You don't have to take my word for it. Check out this [robust Java reporting engine|http://www.windwardreports.com/java.htm?source=pday909&campaign=pday909&utm_source=everyr&utm_medium=post&utm_campaign=pday909&id=203] for yourself.

  • Transaction code for Mass reprint of PO's

    Hi ALL,
    Please suggest me any SAP Standard Code for reprinting thousands of PO's for certain vendors.I know ME9F & ME99,other than these tcodes.
    Thanks & Regards,
    Manjula

    Hello Manjula,
    Do you have specific business requirement?
    If it is just reprinting the purchase order then ME9F is the best transaction you can use. Why you are looking for other transaction codes?
    Regards
    Arif Mansuri

  • Code for SD pricing procedure for Australia

    Dear All,
    Can anybody tell what is the standard code for SD Prcing Procedure for australia.

    Hi,
    Check in V/08, there is not any Standard Pricing Procedure for Australia provided by SAP.
    In this case, refer Pricing Procedure 'RVAA01" (Standard)

  • Facing problem with the code for sending an .xls attachment via email, a field value contains leading zeros but excel automatically removes these from display i.e. (00444 with be displayed as 444).kindly guide .

    Facing problem with the code for sending an .xls attachment via email, a field value contains leading zeros but excel automatically removes these from display i.e. (00444 with be displayed as 444).kindly guide .

    Hi Chhayank,
    the problem is not the exported xls. If you have a look inside with Notepad or something like that, you will see that your leading zeros are exported correct.Excel-settings occurs this problem, it is all about how to open the document. If you use the import-assistant you will have no problems because there are options available how to handle the different columns.
    Another solution might be to get familiar with ABAP2XLS-Project. I got in my mind, that there is a method implemented, that will help you solving this problem. But that is not a five minute job
    ~Florian

  • Export to Excel – XLS file formatting

    Hi,
    I have created process that exports report to XLS file. I write XLS file using XML tags, supported by Excel, which allow me to format each cell (especially look and data type). Unfortunately I can’t force Excel to see cell as date-cell.
    I’m getting from database date in YYYY-MM-DD format and I want the same in Excel. I can export it as string value, but I want Excel to see it as date – not string.
    This code works fine:
    <ss:Cell><ss:Data ss:Type="String">'||x.begin_date||'</ss:Data></ss:Cell>
    but Excel see the cell as a string.
    I want something like that:
    <ss:Cell><ss:Data ss:Type="Date">'||x.prnm_short_name||'</ss:Data></ss:Cell>
    but this one doesn’t work, as well as “DateTime” type.
    Do you know how to solve this problem?
    Regards,
    Przemek
    Edited by: Przemek on 2008-11-14 13:11

    Here is a sample of how you can create a procedure from an EXCEL file.
    1. create, format and save Excel file as an XML file
    2. edit file to add" htp.p(' " tags to begining of each line and "')';" tags to the end of the lines
    3. add standard header tags at start of file (see code below)
    4. add standard end tags at end of file (see code below)
    5. grant excute privileges as required
    6. test procedure: from browser (http://.../apex/owner.excel_rpt in this case; you do not need to use apex to do this
    - you might want to secure the procedure once you got it running by limiting it to run only from your app
    CREATE OR REPLACE PROCEDURE excel_rpt (fname VARCHAR2 DEFAULT 'excel_rpt.xls')
    IS
    -- query to get data; can be used in CURSOR LOOOP to fill in report
    CURSOR rpt_cur IS
    SELECT PROGNAME, user_name, priv, dept
    FROM test_data;
    BEGIN
    -- standard header to open file in EXCEL application -- REQUIRED
    owa_util.mime_header( nvl(NULL,'application/octet'), FALSE );
    htp.p('Content-Disposition: attachment; filename="' || fname || '"');
    owa_util.http_header_close;
    -- to get this, save your Excel file as XML, open in editor (I used Notepad++),
    -- prepend "htp.p(' to all the line", postpend "');" to all lines
    htp.p('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>');
    htp.p('<?mso-application progid="Word.Document"?> ');
    htp.p('<w:wordDocument
    xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
    xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:w10="urn:schemas-microsoft-com:office:word"
    xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core"
    xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
    xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
    xmlns:wsp="http://schemas.microsoft.com/office/word/2003/wordml/sp2"
    xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
    w:macrosPresent="no"
    w:embeddedObjPresent="no"
    w:ocxPresent="no"
    xml:space="preserve">');
    htp.p('<w:ignoreElements w:val="http://schemas.microsoft.com/office/word/2003/wordml/sp2"/>');
    htp.p('<o:SmartTagType o:namespaceuri="urn:schemas-microsoft-com:office:smarttags" o:name="PlaceType"/>');
    -- : deleted FOR brevity
    htp.p('</wx:sect>');
    htp.p('</w:body>');
    htp.p('</w:wordDocument>');
    -- standard closing tags -- REQUIRED
    HTMLDB_APPLICATION.g_unrecoverable_error := TRUE;
    END excel_rpt;
    GRANT EXECUTE ON excel_rpt TO PUBLIC;

  • Script that runs very slow when exporting output to XLS file

    I am using TOAD for oracle to export result to XLS. Need help on this script to chec how can I speed up the process:
    select a.div, a.zname, a.MBr, a.Loc,a.lname, b.mid as SLID, c.slname, a.FDID, b.FName as FDNAME,
    a.apptdate,b."Contact Nos",
    b."Credit Line",b."PastDue Acct"
    From
    select zname, Loccode,
    lname,
    FDID,
    ApptDate,
    div,
    MainBr
    from tbl1
    )a,
    select distid,name,managerid, dayphoneno || ' ' || mobilephoneno as "Contact Nos",
    street || ' ' || zip as Address,
    dealercreditamt as "Credit Line",
    pastdueamt as "PastDue Acct"
    from tbl2@DB2
    )b,
    select distid slid,name slname from tbl2@DB2
    )c
    where a.FDID=b.DISTID
    and b.distid=c.slid;
    SQL> @?/RDBMS/ADMIN/UTLXPLS
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 2137K| 515M| 243K|
    | 1 | HASH JOIN | | 2137K| 515M| 243K|
    | 2 | TABLE ACCESS FULL | tbl1 | 62280 | 4074K| 66 |
    | 3 | HASH JOIN | | 2137K| 379M| 236K|
    | 4 | REMOTE | | 2137K| 124M| 114K|
    | 5 | REMOTE | | 2137K| 254M| 114K|
    --------------------------------------------------------------------------

    mrp wrote:
    I am using TOAD for oracle to export result to XLS. Need help on this script to chec how can I speed up the process:XLS is a poor output format for larger result sets. Why? because all tools that I know use a kind of cell-by-cell processing to fill the fetched values into Excel.
    It is way faster to output into any kind of text (CSV) format.

  • Standard BAPI for T-code f-44

    Hi
    I need to clear vendor open invoices using BAPI's for T-code F-44 .I've got through various FM like <b>bapi_acc_document_post</b> and <b>bapi_ar_acc_getbalanceditems</b> but could'nt find solution because this FM's are for customer clearing the open items from table BSAD(cleared accounts of customer).Have any boby worked on this tcode to clear vendor accounts using bapi's or do we have any standard FM to use the scenario same as FM mentioned above for table BSAK(vendor clear items).
    Its really simple working with bdc's to transfer data from flat file to the above transaction.But as known every vendor has huge sets of items and this could be a huge performance issue....so to avoid this in future we need to work on this using exclusively BAPI's......Any suggestions or sample codes wud surely be appreciated....
    Thanks in Advance......

    Thanks for ur response Anji Reddy garu,
    I've tried to check up this given FM but could'nt find it here in my sap system both in QAS and in DEV more  the FM <b>Bapi_payit_post_clearing</b> is also not available here in my sap system what could be the problem it should display this standard FM if available right but its say FM does not exit......Can u do me a favour of forwarding the source code for both the FM's so that i can create a new customizing FM if its fits my requirement.....

  • Need help with a activation code for Adobe Acrobat X Standard for my PC,, Don't have older version serial numbers,  threw programs away,  only have Adobe Acrobat X Standard,  need a code to unlock program?

    Need help with a activation code for Adobe Acrobat X Standard for my PC, Don't have older Version of Adobe Acrobat 9, 8 or 7. 

    You don't need to install the older version, you only need the serial number from your original purchase. If you don't have them to hand, did you register? If so, they should be in your Adobe account. If not you really need to contact Adobe, though it isn't clear they will be able to do anything without some proof of purchase etc.

  • Problem in SAP standard code modification for FB03

    Hi Experts,
    I am adding 4custom fields in FB03 tcode by doing a SAP standard code modification in SE51.
    The program name is SAPMF05L and screen no. is 302(In some SAP verion, it is 304). This is the screen for document line item of an invoice.
    My problem is:
    When I add the fields in the screen, in which module will I put logic in the PBO and PAI as I am unable to figure out the German comments and the program structuring.
    Also, if anybody can tell me what to write as I am little bit confused about the logic of populating my fields with the values.
    FB03 is a display transaction so I have to keep my custom screen fields disabled.
    Regards,
    Sangeeta.

    Hi Sangeeta,
    For enhancing the screen of this Tcode, first of all search is there any Screen enhancement is provided by SAP or not and in case if it is provided then use that only.
    Regards
    Jagesh Lakdawala

  • Standard Match Code for Selection Options with Example

    Hi Guys,
                 Can anybody tell me Standard Match Code or Search help for Selection Options.
             ex: MBEW-MATNR , MBEW-BWKEY and MBEW-BWTAR. can anybody tell how to keep Search Help or Match Code for the Above Fields in ECC 6.0 with Example
              Very Urgent.
    Thanks,
    Gopi.

    Well Gopi.. as per your requirement no need to use collective search help.
    I guess you have three fields in selection-screen,out 3 fields you have two fields contains search help.
    Create your user defined search help BWTAR ..
    Check the below links for creation search help :
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee2b446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Hope you got it.
    Thanks
    Seshu

Maybe you are looking for

  • Z10 problem with Scala rider q3 bluetooth headset

    Hi there, I've got a Z10 and I'm trying to steam music to a Scala rider Q3 (Bluetooth motorcycle headset) but I'm having problems with it. When trying to listen to music it sounds as if the music is stuttering and sounds slowed down almost like its b

  • Bank payment Methods based on Com Codes

    hi, I have 3 company codes for an Country code In IT0009, I need to populate the Pmt Mode based on Com code For eg :Com code 'A' has 3 pmt modes , so only 3 pmt modes shoould be availble in the list of values             The default Pmt modes from th

  • How to run lint in the Sun Studio 12 IDE

    I'm a newbie to the Sun Studio IDE, and I can't find a way to run lint in the IDE. The C compiler does not give many warnings (unused variables, etc), and lint does, so I want to get the lint diagnostics within the IDE. I can run lint from a terminal

  • BB Q10 empty message through Groupwise Mobility Service

    Hello forum members! We have an issue with an smartphone BlackBerry Q10 (OS version 10.1.0.4181) using Groupwise Mobility Service version 2.0.1 revision 53, installed on Suse Linux Enterprise Server 11 patchlevel 3. When the user replies to an extern

  • Regarding database update

    hi experts, i have to update the database table created by me,,i hv to insert multiple rows in it ,i m using table controls in module pool  with insert button ,cud u plz send me the code n logic...as i m new to module pool ,,plz help me..