Cross-Tab export to excel

Hi
I have a problem exporting crosstab to excel format from ASP page as sell as from crystal IDE.
To be more specific the content if crosstab itself exports successfully,
but i do have header titles above the crosstab I add in report design.
These headers look great in crystal viewer and in PDF format export, but when exported to excel these headers goes below the crosstab content.
to finalize the question:
Is there any way to keep custom headers to crtosstab and see them in excel export ?
We are using RDC component of crystal 10 (CRAXDRT.dll) in ASP pages.
thx

Then please post your query to the [Crystal Reports Design|SAP Crystal Reports;.
As per the header for this forum:
This forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
Ludek

Similar Messages

  • How to remove the tabs Export to Excel, Export as CSV in z0ADHOC web templa

    We have made a copy of 0ADHOC - standard web template  as Z0ADHOC.
    Now we would want to remove the tabs  Export to Excel, Export as CSV from thcopied Z0ADHOC.
    Can any one help out.
    Regards

    Devaraj,
    If you look at the Z0ADHOC through the WAD closely in the overview tab, you will find a web item called GR1Toolbar. This is in turn linked to another web template called 0ADHOC_TABLE. Click on GR1Toolbar and view its properties to see this detail. Now if you open the web template 0ADHOC_TABLE in the WAD, you will see soms text elements. The last two:[SAP_BW_TEXT_!IID_546],
    [SAP_BW_TEXT_!IID_549] are the ones for export to xl and CSV. Now to achieve this in your scenario, I think you will have to create another Z Template called Z0ADHOC_TABLE, remove these two text elements and then Link it to the template Z0ADHOC. Try this and let me know if it works.
    Cheers
    Anand

  • Cross Tab export : Excel Data Only - Row headings are *bottom* aligned?

    Hi All,
    Having a problem with Crystal 11 / BOXI.
    I have a Cross Tab working fine that has four Row groupings (labels on the left).
    In Preview mode, it looks as expected. Row #1 label appears on line 1. Row #1 label shows blank on line 2,3,4 etc until it is ready to change.
    The organization of the Row group is further made clear by a nice box that spans multiple rows. The Row label appears at the TOP of this box as you might expect.
    In Excel-Data Only format, there is a problem. (I saved, scheduled, and ran on BO XI Enterprise CMC console.) The Excel file shows the Row 1 labels without any box (that's OK as it is "data only") however the text is bottom aligned. So the first label does not appear until the final row of the grouping.
    Same thing is happening with Row 2, 3 groupings, they are all bottom aligned.
    It's confusing for the users who would expect the Row grouping labels to be all top-aligned.
    I have searched the forums and support site and read all technotes. I also tried several things including:
    Format Field for Row#1 Name, choosing Left/Right/Center horizontal alignment (where is the same for vertical??)
    Within BO Enterprise, try combinations of options under Excel - Data Only : export formatting, maintain relative object position, maintain column alignment, use options saved with report, etc.
    Any ideas? Is there a way to force a top-alignment programmatically, for Excel Data Only output?
    Help appreciated !
    Rob McCauley
    Cognex
    Natick, MA 01760 USA

    I found the answer to this question with help from SAP Support.
    In the Cross-Tab Expert, Customize Style tab, click "Column Totals on Top".
    Then, the Excel Data Only report will show the row titles Top-aligned for the row group.

  • Template with tabs Export to excel with variable dataprovider

    I have looked at examples in this forum of how others have used an "export to excel" button with a variable dataprovider but I cannot get these examples to work for my situation.
    I have a web template with 2 tabs, 1 dataprovider on each. The template has an icon button for "export to excel". The code came from 0QUERY_TEMPLATE. The tabs require a JavaScript function which hides all items except for the one on the selected tab and sets the property for the selected tab. I got the code for this from the WEB API reference for BW 3.x.
    I cannot get the button "export to excel" to export the selected (non-hidden) data provider. I need somehow to have a variable for dataprovider on the command to export. 
    Any help would be greatly appreciated.
    Provided below is my template.
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_PROPERTIES"/>
    <param name="TEMPLATE_ID" value="ZTEST_EXPORT"/>
    <param name="VARIABLE_SCREEN" value="X"/>
    TEMPLATE PROPERTIES
    </object>
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_1"/>
    <param name="QUERY" value="ZPC_010"/>
    <param name="INFOCUBE" value="ZPC_M01"/>
    DATA_PROVIDER: DATAPROVIDER_1
    </object>
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_2"/>
    <param name="QUERY" value="ZPC_011"/>
    <param name="INFOCUBE" value="ZPC_M01"/>
    DATA_PROVIDER: DATAPROVIDER_2
    </object>
    <html>
    <head>
    <link href="/sap/bw/Mime/Customer/StyleSheets/ServicePortalBWReports.css" type="text/css" rel="stylesheet"/>
    <Script type="text/javascript">
    <!--
    /* function goto_tab: Show all items, starting with tabname, Hide all other items */
    function goto_tab(tabname) {
    SAPBWOpenURL(SAP_BW_URL_Get()'&item=TAB*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');
    /* DHTML function to set correct span-Tag visible
    For each Tab in Tab-Header (head_TAB) check, if item TABx is visible
    If Item is visible set Header as selected
    Otherwise set corresponding span-Tag to not visible */
    function set_actual_tab() {
    i=0;
    do {
    i++;
    if (document.getElementById('head_TAB'+i) != null) {
    /* Check if Object tag is hidden */
    var prop = SAPBWGetItemProp('TAB'+i);
    var hidden=true;
    if (prop != null){
    for(j=1;j<prop.length;j++){
    if (prop[j][0] == "HIDDEN") hidden = (prop[j][1]=='X');
    if (hidden) {
    document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);
    else {
    document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);
    } while (document.getElementById('head_TAB'+i) != null)
    -->
    </script>
    </head>
    <body>
    <TABLE class=SAPBEXNavLineBorder cellSpacing=0 cellPadding=1 width=5 border=0>
    <TR>
    <TD width="5%">
    <TABLE cellSpacing=1 cellPadding=2 width="100%" border=0>
    <TR>
    <!-- Display Export Excel--->
    <TD class=SAPBEXNavLine><A href="<SAP_BW_URL CMD='EXPORT' FORMAT='XLS' DATA_PROVIDER='DATAPROVIDER_1'>">
    <IMG alt="Export to MS Excel" src="Mime/BEx/Icons/S_X_XLS.gif" border=0></A></TD>
    </TD></TR></TABLE></TD></TR></TABLE>
    <TABLE cellSpacing=1 cellPadding=5 width="75%" border=0>
    <TR>
    <TD vAlign=top>
    <P>
    <TABLE cellSpacing=0 cellPadding=5 border=0>
    <TR>
    <TD class=SAPBEXTbsTab id=head_TAB1><A href="javascript:goto_tab('TAB1')">Tab 1</A></TD>
    <TD class=SAPBEXTbsTab id=head_TAB2><A href="javascript:goto_tab('TAB2')">Tab 2</A></TD>
    </TR></TABLE>
    <TABLE class=SAPBEXTbsBdyEdg cellSpacing=0 cellPadding=5 width="5%"
    border=0>
    <TR>
    <TD vAlign=top>
    <SPAN id=TAB1><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB1"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
    <param name="GENERATE_CAPTION" value=""/>
    ITEM: TAB1
    </object></SPAN>
    <SPAN id=TAB2><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB2"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="GENERATE_CAPTION" value=""/>
    <param name="HIDDEN" value="X"/>
    ITEM: TAB2
    </object></SPAN>
    </TD></TR></TABLE></P>
    <SCRIPT type=text/javascript>
    <!--
    /* This function call is needed to set the correct state */
    set_actual_tab();
    -->
    </SCRIPT>
    </TD></TR></TABLE>
    </body>
    </html>

    Kevin,
    Try calling a javascript function (e.g. excel_export) when the export icon is clicked on.
    Using the prop array find the tab that is not hidden and then use that index to build your export command. i.e. if tab1 is visible then pass dataprovider_1 to the excel download command.
    Another method would be to place a hidden field on the form to store the dataprovider and then read that field in the javascript function.  You would have to update this field when you switched between the tabs.
    Cheers,
    Kelly

  • Cross-Tab Report export to Excel

    I have a cross-tab report that I need to export to excel and keep the same formatting.  When I export the report the first column is Part # the next is operation #.  The report is grouped on Part number, but each part may have multi operation.  When I look at the report in Crystal or as a PDF the part # is at the top then each operation is a seperate row that follows.  When I export it to excel it works fine but instead of the part # appearing at the top then follow by each operation the part number ends up on the last operation in the list.  How can I export this and keep the format the same?  by the way I have tried both xls data only and xls 2007 options

    Hello Experts,
    I also tried to export the CR cross tab report in Excel Data only format.
    Also I want to display Row label i.e. my Rows are different dates so I created a text field and named as Date & Time but when export it to Excel Data Only, the date time label appears 1 row above then rest of the columns. It works good while looking on InfoView but export messed it up.
    Can you please suggest.

  • Export Cross tab percent values to excel as percent format

    Post Author: mailtovenkats
    CA Forum: Exporting
    Hi,
       when im exporting percent values in cross tab report to excel then excel format cell is not converting as percent and its format as genreral. i want to be excel format as percent.
    Any one help me do to achive this.
    Thanks,
    Venki

    Dear Yuka,
    You may check this thread:
    Re: Incorrect date format in excel reports
    Thanks,
    Gordon

  • Cross-tabs in Multiple Sub-reports

    Post Author: Kiwi Jan
    CA Forum: Crystal Reports
    I have created a crystal report which contains multiple detail sections (Da-Di). Each detail section contains a subreport, which contains a cross-tab.
    I have done this because I need to create one excel spreadsheet which contains data from different types of cross tabs.
    For example, one cross tab lists accounts and totals, the second lists accounts and totals by cost centre (17 of these), and a third lists accounts and totals by product group (11 of these).
    I have lined up all the columns perfectly, and when I export to Excel (Data only), it works perfectly, and I get all the rows and columns of all the cross-tabs in one excel worksheet. Brilliant.
    However, when I print, preview or export to pdf, I only see the "real" page and do not see any virtual pages that are shown in each of the sub-reports.
    How can I print or view this from the main report and get the virtual pages as well, without stuffing up my export to excel?
    Any suggestions would be greatly appreciated.

    Hi Kim,
    What version on Crystal Reports are you using? If its CR 2008 then you can take advantage of the various gridvalue functions and the calculated member feature available.
    Here's what you need to do:
    1) In 'Preview' mode, right click the 1st col and select Calculated Member > Insert Column
    2) This will insert a col after the 1st col. To make the newly added col appear 1st, right click on the top left corner of the crosstab and go to Advanced Calculations > Calculated Member
    3) In the Properties area, set the Insert Evaluation to 'Before'
    4) Now the new col would be the 1st col in the crosstab and it's values would be 0
    5) You said you calculate the Billed Amount on some logic; you can apply the summarization logic by editing the calculation formula
    6) Right click one of the 0 values in the new col and select Calculated Member > Edit Calculation Formula. Use the formula in this manner:
    select Gridlabelat("Row",currentrowindex)
    case "Job1" : 50
    case "Job2" : 20
    Default : 0
    The function GridLabelAt() accepts 2 parameters: 1st is the name of the row. In this case it would be your database field name. Suppose your database field used as a row is called Customer.Country then the formula would be:
    Gridlabelat("Customer.Country",currentrowindex)
    You can use if-else instead of the select -case if you like, but this is where you need to apply the logic for billed amount.
    At last, you'd notice that the Header for this col is blank. Just Right click the blank header and select Calculated Member > Edit Header formula and type in "Billed".
    That's it! The grand totals for the row won't add the values from the calculated member.
    Hope you get this working.
    -Abhilash

  • Exporting Cross Tabs to Excel - Data Only

    I have a report with three cross tabs embedded in three report footers (RFa, RFb, RFc).  The third cross tab in RFc, is actually in a subreport.  When I preview the report and then export to excel in Excel Data Only there is no problem.  Howeever, when I export the report (with the same export settings as before) without previewing it first, it truncates the data found in the first and third crosstabs.  Anybody have any ideas on what could be causing this?  I have played with the settings in the export options and have gotten it to export the first and second crosstabs without previewing but the third crosstab is still a problem.
    I thought that Crystal reports would export exactly what is in the report and I do not know why previewing should matter or not?
    Thank you for your help!

    Athalia,
    I tried to recreate the issue using the Xtreme sample database with 3 crosstabs in RFa,b,c with hours of the day as columns. First crosstab has rows for Region, second uses City, and third uses Country.
    All 3 are summarizing Customer Credit ID and the 3rd has the sum of Last Years Sales and count of Address1.
    When I export this I get the correct result whether the report is previewed or not. I am using the exporting options, Maintain Relative Object position, Maintain Column Alignment, and Simplify Page Header
    I would suggest;
    a) Ensure that the 3 crosstabs are left aligned and that the column widths of all 3 are the same
    b) If there are any other sections in the report that are visible try suppressing all but the 3 sections with the crosstabs in them, will it export now?
    c) Try recreating the 3rd crosstab adding just 1 summarized field at a time until it fails and then any formatting that you had done until it fails to try and narrow down what is causing the truncation
    d) Try creating a similar report using the Xtreme sample database to see if you can recreate the issue and if so then document the steps so that I can recreate it.

  • Exporting Cross-Tab to Excel using RAS 9.0 - incorrect and data loss

    Hello,
    Hope somone can help to solve the following issue.
    Develop a cross-tab report using Crystal Report Developer 9.0. service pack 5 or above.
    (1). Viewing in Crystal Report - no problem - all rows and columns displayed correctly.
    (2). Export to Excel using Crystal Report - no problem - all rows and columns exported correctly.
    (3). Viewing in RAS 9.0 - no problem, all rows and columns displayed correctly.
    (4). Export to Excel using RAS 9.0 - problem - only one or two rows with last rows are exported but wrong data. Most columns are not exported.  Seems like exporting errors.
    RAS 9.0 was patched with hotfix 200603 and service pack 5.
    Please help or is there any hotfix or service pack that resolved this problem?  As developer, we can use crystal report for exporting but for users, their only choice is through RAS.
    Thank you very much!

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • Cross Tab Formatting Problem when exported to excel

    Hi There,
    I got a problem with cross tab when exported to excel, Call_id field is occupying 4 cells. Below is the structure
    AssignedGroup-Call_Id-Total
    A--1001-
    A--1011-
    Total-----2-
    B--1021-
    B--1031-
    Total-----2-
    C--1041-
    Total-----1-
    can anyone help? How to restrict call_id to fit in single cell?
    Thanks,
    Jyothi
    Edited by: Jyothi Yepuri on Sep 16, 2009 7:50 AM

    Yeah.. crystal has giving  some issues while exporting reports without SPs, especialy previous versions.
    So  Better to install latest SP or patches for CR 10.0. I think SP 6 is the updated one for CR10.0.
    For More info Go through this link,
    http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp#CR10
    Regards,
    Salah

  • Cross Tab Grand Total Out Of Line When Exporting to Excel Data Only

    Does anyone have a solution to this issue:
    Setting up a cross tab report with a grand-total field at the end of it and exporting to Excel Data Only format, moves the grand total values one column to the right of where the should be.
    eg:
    Company    Month    Revenue    Total
    Acme       200710   1000.00    1000.00
    Indigo     200710   2000.00    2000.00
    Total                          3000.00   3000.00
    Thanx for any input - looks better in fixed font.
    the 2nd 3000.00 appears to the right of the Total column and not under it

    Post Author: swat
    CA Forum: Exporting
    Hi,
    Of what i gather from ur scenario...this is what i did in one of my reports.
    I had to use two subreports and they had to occupy one cell each, in line with other fields.
    To obtain that,all the fields required in the subreport i put them into a text box.Therein restricting the fields to the txt box only...
    Then import that sub-report as it is.
    It worked for me....
    try out...
    All this only if've understood u right...

  • None of the cross tabs are being exported to Excel

    Hi All,
    I am experiencing a strange problem of export failing when any of the cross tab is exported. It comes out with a message,
    "An error occurred while trying to export the Worksheet.
    (Export failed.) "
    This is occuring in Plus and Viewer.
    But All the tables are being exported without any problem.
    Any Idea ???
    Thanks

    Only iTunes purchases may copy over via File > Transfer Purchases - otherwise syncing is one way, from the computer to the device. To get the rest of your music/films etc onto the new computer you can copy the backup from your old computer onto the new one and then load them into iTunes

  • Cross-tab with a lot of data causes fault in crpe32.dll when exporting to Excel

    Hello.  I believe I found a bug in the Service Pack 9.  After upgrading my production to runtime 9, I found that cross-tab reports with large datasets crashed the website.  Per the Windows Application Log, a fault happened in the crpe32.dll.  So I uninstalled the runtimes for 9 and re-installed 8 and the reports worked again.  My production uses the 64 bit runtimes.
    I created a test site which includes a two datasets one large and one small with two reports, one cross-tab and another non-cross-tab.  The site has four pages, one to open the cross-tab report using the large dataset, another with the same cross-tab report using the small dataset, another for the non-cross-tab report using the large dataset and the last with the non-cross-tab report using the small dataset.  Only the cross-tab report using the large dataset causes the fault.  I’ve attached the test site for you use as needed.

    Hi Thomas,
    What version of Visual Studio are you using?
    What OS are you using?
    What version of IIS?
    I did a quick test using a simplied one liner WEB app and I see the same thing...
    FYI, changes we've done is IIS recommends, actually it's a must, to load the report and viewer in the Page_Init section and not the Page_Load so you initialize all of the required dependencies, Page Load doesn't handle it properly...
    I tried both, doesn't make any difference...
    By the way your "large dataset" is not that big. I've seen people use a 10 meg xml files.
    Try moving all of your code to the Page_Init section and test again to confirm...
    I don't believe it has anything to do with the amount data directly, I believe it's the number of pages to render for a crosstab report.
    I'll escalate this to DEV - ADAPT01726274
    Set for SP 10 ( which means I set it to be fix in SP 10 but it does not mean it will be. All depends on DEV's work load )
    Thanks
    Don

  • Automated csv Export from a specific Tab in a Excel Workbook

    Hi,
    i would like to export a specific tab from an excel workbook on a application server in csv format - how can i do this?
    Query Extractor doesn´t - about OpenHub i am not shure.
    thx in advance!
    cu
    Dominik

    Hi,
    I think Tcode RSCRM_BAPI can help you to save in CSV format in application server from ur query.make sure you dont have any free characteristics in ur query.give it a try and lets know.If you are looking for procedure Goto TCode RSCRM_BAPI and select ur query or query view and on the toolbar select Extract and in the next screen give some tech name and select .CSV format give the file path in ur application directory and dont forget to schedule the selction.Then you would be able to see ur report in .CSv format in ur app server.
    Regards
    Chandru

  • Export to Excel functionality for Multiple tabs in WAD

    Hi,
    I have a requirement where in i need to export a report from WAD to excel. The WAD template has multiple tabs which i want individually in seperate excel sheet tabs. How can i achieve this ?
    Regards
    Snehith.

    Hi,
    have a global button (some where on the top) with command 'export to excel' and configure all your analysis item for that button. So when u execute the template and when u click on individual tab, the report out from individual tab will be exported to excel when u click on Export to excel button.In this way u can individually export the output to excel.
    Regards

Maybe you are looking for

  • Problem in Installing JavaFX for NetBeans 6.0.1

    Hi , I am using NetBeans6.0.1. The problem I am facing while installing/updating JavaFX plug-in in NetBeans6 is that the system is watched by network firewall. NetBeans is unable to retrieve information about the updates as firewall doesn't allows it

  • Cancel a Sales Order via IDOC processing

    Hello, I am trying to cancel an item within a sales order using ORDERS05 (IDOC_INPUT_ORDCHG). My IDOC contains the following data: E1EDK01-ACTION = 003 (Changes in one or more items) E1EDK02-QUALF  = 002 (Vendor Order) E1EDK02-BELNR  = SAP Sales Orde

  • Merging/Combining email PDF Portfolios

    I am creating a few PDF portfolios with Acrobat Pro 9 and Outlook 2003 to archive my email. I have a few files because it seems like there's a limit on the number of email it will convert at one time(other thread). I have two separate PDF portfolios

  • Error in deploying SAP Netweaver Application

    Hi I am trying to deploy and run my application in SAP Netweaver studio got strucked up with error a dialog is opened with the message <b>"http://inp-jangalac:50000/webdynpro/dispatcher/local/create_modify_Customer_Order/CreateModifyOrderApplication?

  • Naming Clips

    Just upgraded from iMovie HD to iMovie '09. Is it possible to "name" clips so that they can be easily identified in the clips pane? Video taping sporting events can result in over 100 clips in a single event. By naming clips (iMovie HD), I could keep