Unexpected behavior of Excel export

Hi,
I've reports with export to excel enabled.
One report gives one line as a result, the export "no data found".
The other rport gives several lines as result, the export only a part of it.
Any ideas how to solve this ?
Any reaction will be appreciated.
Leo

Hi Dimitri,
I've found the reason.
I use a parameter to select the records. And in this parameter I have a default value (to copy the application from one workspace to another, and the primary keys in the workspace are not the same). So, each time I've copied the application, I update the default value.
Exporting the data, the default value seems to be lost.
Leo
PS nice writing : a guy like you.....

Similar Messages

  • Excel export are merging cells for data on multiple lines !

    Hello,
    I'm using Crystal Report XI R2, when we are doing an export to Excel with have an unexpected formatting.
    For example the value of the name is on 2 lines:
    => So, on Excel the result is on 2 lines but merged. We want to have this result only on one cells.
    Remark: if we delete the 2nd lines, because cells are merged we obtain the expected result.
    Proposal A:
    Are they any set-up available concerning the formatting of Excel ?
    Proposal B:
    Could we run some VBA when we click on Export button to make queries on the Excel ?

    When they introduced Unicode support in Crystal 9 (I believe), they had to completely re-write the export routines. At that time, they made a decision to change the functionality of the excel export. Crystal is attempting to remain absolutely faithful to the graphical layout of the report as you see it in the viewer. So it creates merged cell sections, empty columns between columns, and empty rows to give you as close to exactly what you see in the viewer as possible. Unfortunately, the result is typically less than useful. Iu2019ve had several conversations with Business Objects (now SAP) with regards to this when they changed it between versions 8.5 and 10, and they have no intention of changing the functionality as it now exists.
    There is a document which is now likely somewhere on the SAP portal that explains what you need to do to obtain the best results when exporting to excel.
    The jist of it is this:
    Line up all of the columns detail data with thier headers, and make sure that data fields are the same size as thier headers. 
    Line up all rows (headers and detail rows). (ie: select everything in the row, right click, align tops, and make the same height)
    cram everything as close together as possible. zero space in the report translates to zero extra collumns and rows in the export.
    the other option is to use the export to data only functionality, but that may not be what you're looking for either.

  • Unexpected Behavior error while creating a connection in IDT

    Hi Everyone,
    I have created a connection on top of a database using ODBC.
    I could able to see the connection in IDT.
    I have mentioned the user name and pw correctly  and tried testing the connection and got the error "unexpected behavior"
    PFA error.
    what could be the reason? any idea?
    Thanks.

    I find this 32-bit vs. 64-bit ODBC somewhat confusing.  I know you aren't dealing with Crystal Reports, but this blog post does provide some clarity.  It has a link to this Microsoft knowledge base article from which I quote...
    A 64-bit version of the Microsoft Windows operating system includes the following versions of the
    Microsoft Open Database Connectivity (ODBC) Data Source Administrator tool (Odbcad32.exe):
    The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\SysWoW64 folder.
    The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\System32 folder.
    One other warning.  In my experience I have found that you cannot run both the 32-bit and 64-bit ODBC admin tools at the same time.  If you have one running and try and start the other one it will just bring up the one you already had running.
    To make sure I know which instance I am in at any give time I have created a dummy data source that corresponds to the instance; 32-bit or 64-bit.
    Let us know how it goes.
    Noel

  • Excel Exports

    1) Does anyone have a solution for creating an Excel Export with a chart / graph included?
    2) Is there any way to include formatting in an Excel Export? I'd like to be able to include Borders, Font Coloring, Formula's etc.

    Vega,
    What version of ApEx are you running? I know in 2.x you could not export graphs "directly" into excel. However, although I've never done it, I've read documentation from companies that opted to use ApEx over Java and ASP solutions... One practice was to leverage the use of individuals familiar with VBA to format reports exported from ApEx. Have any of those around? ;)
    Dan
    Sorry, meant to say VBA (Visual Basic for Applications)
    Message was edited by:
    dmcghan

  • How to freeze the columns in excel exported from SSRS report??

    We have created a report for our client. The client wants the report in excel format. As there are nearly about 30,000 rows in the excel. Client wants us to freeze the column header names in the excel so that even after scrolling down they
    will be able to see the column names.
    can anybody have idea how to achieve this in SSRS?

    Hi Shard,
    Thanks for your post, You can achive your requiremets by using the below logic. hope this will help you.
    Steps to achieve it
    1. Select the tabix and click on Tablix properties.
    2. In the General tab under Column Headers section you can see "Keep header visible while scrolling" checkbox, check it.
    3. Now the header row will be remain fixed in the report.
    OR
    1.    In the grouping pane, make sure to turn on advanced mode (click on the small black down arrow on the far right of the grouping pane) 
    2.  Select the corresponding (Static) item in the row group hierarchy
    3.  In the properties grid, set RepeatOnNewPage to true
    4. KeepwithGroup to After
    OR
    1)Freeze the header of all columns[ Freezing table header ] : To do select static member of table header row from  row groups [ Advanced Mode ] and set  FixedData to true
    2) Freeze the initial 2 columns : To do select static member of columns in column group and set fixedData to true .
    How do you freeze the tablix header row in an Excel export file in SSRS 2008
    Suhas Kudekar
    Mark as Answer if this resolves your problem or "Vote as Helpful" if you find it helpful.
    My Blog
    Follow @SuhasKudekar

  • Add columns to EXCEL exported from ALV

    Hi,
    I'm using the function module REUSE_ALV_GRID_DISPLAY, to display an ALV report. This report shows a standard text when users click on one column.
    I wanna know if its possible to add the standard text as a column into the EXCEL exported from this ALV? and if so, how can I do it?
    Regards.
    Gregory.

    Thanks again Raymond,
    With internal tables that have a type from ABAP dictionary works fine. My problem is that my internal table is declared into my program's global variables. My code bellow:
    DATA: BEGIN OF it_excel OCCURS 0,
             department  TYPE adcp-department,
             bname       TYPE usr02-bname,
             name_text   TYPE adrp-name_text,
             agr_name    TYPE agr_users-agr_name,
             text        TYPE agr_texts-text,
             from_dat    TYPE agr_users-from_dat,
             to_dat      TYPE agr_users-to_dat,
             tcode       TYPE agr_tcodes-tcode,
             ttext       TYPE tstct-ttext,
             tdesc       TYPE string,
          END OF it_excel.
    * fills the it_excel table
    perform fill_excel_data.
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        EXPORTING
          window_title         = 'File location'
          file_filter          = cl_gui_frontend_services=>filetype_excel
          prompt_on_overwrite  = 'X'
        CHANGING
          filename             = v_file
          path                 = v_path
          fullpath             = v_fpath
          user_action          = v_useraction
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
      CHECK sy-subrc EQ 0 AND v_useraction EQ 0.
      CREATE OBJECT v_excel 'EXCEL.APPLICATION'.
      SET PROPERTY OF v_excel 'VISIBLE' = 0.
      CALL METHOD OF v_excel 'WORKBOOKS' = v_workbooks.
      CALL METHOD OF v_workbooks 'ADD'.
      SET PROPERTY OF v_excel 'SHEETSINNEWWORKBOOK' = 1.
      CALL METHOD OF v_excel 'Worksheets' = v_sheet
        EXPORTING #1 = 1.
      CALL METHOD OF v_sheet 'Activate'.
      CLEAR v_subrc.
      CALL METHOD cl_gui_frontend_services=>clipboard_export
        IMPORTING
          data                 = it_excel[]
        CHANGING
          rc                   = v_subrc
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
      CHECK v_subrc EQ 0.
      GET PROPERTY OF v_excel 'ACTIVESHEET' = v_sheet.
      CALL METHOD OF v_sheet 'PASTE' NO FLUSH.
      CALL METHOD OF v_sheet 'SAVEAS'
        EXPORTING #1 = v_fpath #2 = 1.
    When calling cl_gui_frontend_services=>clipboard_export method the variable v_subrc is equal to 0 and sy-subrc is equal to 1 and the EXCEL file is not saved.
    Can you please tell me, what am I doing wrong?
    Regards,
    Gregory
    Edited by: Gregory Mayorga on Sep 7, 2010 10:56 AM

  • Excel export defaults to ".txt"

    Hi Forum,
    I have a question regarding the "Excel" export button on SAP B1.
    Whrn i try to export data clicking the excel button, the window "Save As" defaults to ".txt" extension.... is there a place to change the default to make it ".xls" instead???
    Regards,
    Manuel Roman

    Hi Gordon,
    I had B1 on a pc that anytime that i clicked on the excel button and save it, the document would open in excel right away.
    Now i have a laptop with XP Pro (same configuration as the pc) and everytime i click on save, saves the document and it doesn't open right away.... i have to basically import the txt file into excel....
    The funny thing is that it was opening the file in excel and it was formatted correctly.
    Any Ideas?
    Regards,
    Manuel Roman

  • Excel export (webui crm -- excel) wrong format of house number

    Hi,
    in an excel export  (webui crm ---> Excel)  is displaying the wrong format.
    If the house number contains a special character such as "/" then the house number displayed in the date format in Excel.
    And if in the field house number is a number and a letter such as "9 a", then the house number is displayed in time format (9:00 am) instead the house number.
    Does anybody know, how can I solve this problem?
    Thank you in adance.
    Best regards, Jasmin

    Hi,
    There is no error from the CRM functionality. If you SAVE the excel,instead of opening it directly and then " open with "
    word pad or notepad, you can see the phone no.s and fax no.s are properly transported to excel.There is a default format setting of
    excel from the Microsoft, so you are getting the default format after opening the excel.
    Steps:
    1.Export to excel.
    2.Choose the BP,PHONE and FAX columns holding the 'CTRL'key.
    3.Right click on the chosen columns and choose "format cells".
    4.Under the tab "number" choose 'number' and and reduce the decimal
    place to '0' and click "OK".
    5.Now you will be able to see the expected format.
    If you are using IE then the excel file that is being generated should be an XML file which would help with the formating issue. But when there is a problem in the generation of the XML file a CSV file is created instead.
    The kind of problems that can cause this could be :
    - Wrong version of Excel (professional needed)
    - Error in encoding (note 1560243 corrects this)
    - Active X Settings on browser are not properly setup or disabled
    - Other problems (some fixed in note 1457261)
    I hope this helps.
    Br,
    Lloyd

  • Excel Export warning:verify file is not corrupted or is from a trusted sour

    Hi, everyone,
    I'm using Apex 3.1 under CentOS 5 with 11G and Oracle HTTP server, also with Oracle BI publisher 10.1.3.3.2 under Windows server 2003.
    The Oracle BI installation got all the default settings. Print under Apex is working, with PDF, EXCEL, RTF except Excel export with a minor but annoying warning
    message like: "
    The file you are trying to Open, 'Top100-customer.xls' is in a different format than specified by the file extension, Verify the file is not corrupted or is from a trusted source before opening this file. Do you want to open this file now? "
    then if I choose YES(default is NO), everything OKs. I get the same message even I save the file locally then open it. This is annoying to our users because they get such warning everytime they try export Apex to Excel file. Did I miss something in Oracle BIP setting Or did I miss something in Apex setting? the data and export are working, just with this extra unwanted warning.
    Any suggestions are greatly appreciated.
    sean

    Thanks, John,
    Your answer is exactly right, it's EXCEL 2007 thing, not Apex or BIP thing.
    We have no control on user's registry settings, so from today on I just tell our customers "it's MS's fault" :)
    Thanks.
    sean
    Hello,
    This MS KB seems to fit your situation -
    http://support.microsoft.com/kb/948615
    John.
    http://jes.blogs.shellprompt.net
    http://apex-evangelists.com

  • Excel-Export WAD 7.0 - Header/Footer/Margins

    Dear all,
    I used the Header/Footer and Margin options in the export wizard (export to excel) but it doesn't work. When I print the excel file no header/footer information are shown. as well as the margin settings of the printed page are not as I entered.
    I know that I should use the pdf-export (it works fine), nevertheless the customer wants to have a "formatted printing" even out of a generated excel-file.
    Any ideas?
    Or do the input options regarding header/footer and so on only refer to the pdf-export?
    Thanks in advance.
    Mark

    Dear Mark,
    Unfortunately Excel exporting is not designed for such purposes. The only option you have is to specify which web items are to be exported (using the Export to Excel button with the standard command). In case you want to export from the context menu, it will send to Excel everything which is on the screen, so, no way to control.
    You could consider a workbook for a better formatted Excel, if really needed.
    Kind Regards,
    Marcio

  • How to improve the efficiency of EXCEL export?

    I've found a not too small issue of the built-in EXCEL export function. We have a page which let the users query a huge table and return a report page. The query takes long time, however the users are tolerable enough to stand that since they know the size of the table. Nonetheless, the process to export to EXCEL would take almost the same time (maybe a little bit shorter) as the query, which is in-tolerable. It seems that the built-in function just Re-run the query against the table and sends the file to the excel file. Is there any way to solve this issue?
    Thanks in advance.
    Have a nice weekend!

    That is a good idea.
    You can dump your query output into the collection and base the report region off of that collection. The Excel output just re-runs the region query so if you base the report region on the collection, you are done (you don't need to manually do just the export)

  • Unexpected behavior on 5.1.19 Select query

    Hello There,
    We are seeing an unexpected behavior on 11.2.5.1.19 where we are expecting our query should response “X” number of records while it response us back with less number of records in some situation. While looking to the change log we did notice that a fix has been added to 11.2.5.1.25 as follows:
    “Fixed a bug that would return DB_NOTFOUND while searching for an existing item using a cursor on a non-sorted duplicate btree database. [#19210]”
    We were wondering whether that fix could resolve this issue or not? If yes, is there a way we can get a Patch to apply and validate so that we can move to 11.2.5.1.25 or newer versions.
    Here is what we are doing, Within an application we have two threads, One is Inserting/Updating record in the table while the other one is selecting, and all DB operations are done in transaction. Select thread comes after certain time whenever a condition is satisfied. Although it work fine most of the time but there are situation where select response with fewer records that we expected, that causes our program to died as expected. However, if we query the Database (using dbsql) after the application died using the same select query/criteria we could able to select the exact same number of records that we were expecting to see. We are not sure what is going wrong here, any help is appreciated.
    Regards & Thanks

    Hi Rittick,
    I have made some modifications to the example program ex_sql_multi_thread.c,
    based on the information you sent in email. So far I can not reproduce the
    problem either. This does look like something we have seen before:
    Berkeley DB lost data sometimes when I ran the example ex_sql_multi_thread
    but it is difficult to pinpoint without an exact reproducer. One thought is
    if you can try the application with the latest Berkeley DB release which
    is: 5.3.15. Some race conditions were fixed in that release and since you can
    reproduce the behavior with 5.1 and 5.2 you should be able to verify if
    it is present or not in 5.3.15.
    Thanks,
    Sandra

  • How do you freeze the tablix header row in an Excel export file in SSRS 2008?

    So this is totally killing me.
    I've found out how to make a tablix header row repeat on each page of a PDF export file in SSRS 2008 (which I won't even get started on because all I can say is that 2005 is way better), but I cannot figure out how to make a simple header row of a tablix
    freeze in an Excel export file.  The tablix is right at the top of the body and spans the entire width of the design area.  How in the world do you get it to freeze in the Excel export file?

    Rashiki777,
    From your information, I get that you want to freeze the tablix header when view the report in Excel. Please follows
    these steps:
     Click
    the header row
    Click
    View menu on  top of the toolbar, then you will Freeze Panes
    Select one kind of Freeze based on your requirement.
    This link supplies the detailed steps
    http://inpics.net/tutorials/excel2007/vis5.html If you have any concern, please feel free to ask.
    Of course,
    you could utilize the list control to display a certain rows on one sheet, then every sheet in Excel will have one header, the steps are following:
    Drag a list into report body, right-click
    Details in Row Groups panel to select Group Properties….
    Click
    Add button, then type in expression =ceiling(RowNumber(nothing)/25)
    in the textbox Note: 25 is just 25 rows per page, you could reset this value based on your requirement.
    Drag the table control into this list control.
    If you want to display every page in every sheet, you could add a page break to the table control in the list.
    Best regards,
    Challen Fu

  • Execution date in Excel export from a query

    Dear all,
    I am wondering if it is possible to have the query execution date in an exported excel.
    Case: When working in a query it should be possible to export the query to excel. However I am missing the execution date of the query and the last successful data load (which is visible in the webquery).
    Anyone has an idea how to achieve that?
    Thank you in advance,
    Andreas

    Hey Guys,
    Just wanted to point out that I know how to do this with a webapplication but I would need that within an excel export from an ordinary web query.
    Could someone help out here?
    Thanks in advance,
    Andreas

  • How to Avoid Empty Space in Excel Export , while using SubReport.

    We have a sceneraio where we have parent child relationship and we are using the SubReport Concept to map the child data by taking input parameter from Parent Report.
    The RPL/HTMl viewer , PDF works fine, but  when we export data into excel empty rows are comming.
    Could  you please suggest how can we avoid empty space in Excel Export.
    we have kept the cell (width and height ) same as SubReport Width and height.

    Hi SubhadipRoy,
    According to your description, did you use separate subreport to display the data rather than insert subreport in tablix?
    Based on my test, if we are use separate subreport to display the data in the report, when we export to Excel we will get an additional row. We can adjust the minimum gap between tablix and subreport to work around the issue. In SSRS 2012, if we paste tablix
    and subreport without empty space in report design, it will not display the additional row. You can try to put the tablix and subreport in a rectangle to resolve the issue. 
    Reference:
    http://stackoverflow.com/questions/20367960/remove-additional-column-from-exporting-to-excel-from-ssrs
    There is a screenshot for your reference:
    If the issue is persist, please elaborate the issue for further investigation.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

Maybe you are looking for

  • 'IOUSBFamily was not able to enumerate a device' HD crash and reinstall

    About a week ago, my wife's PowerBook G4 suffered a fatal HD problem...we have all been there...(click click click buzz). Seeings its well beyond its warrantee plus the fact I am fairly handy, I took it upon myself to do the HD replace. Despite carpa

  • Project Server 2013 - External Data Refresh Failed

    Hi,  I have built  new Project Server 2013 in a 3 tier farm, with OWA, configured PWA site everything working fine except, Reports in BI Center, where i am getting - External Data Refresh Failed error http://Sp2013/PWA/ProjectBICenter/Sample%20Report

  • Any improvements to new 3G audio speaker , also comments on yellow screens?

    Hello all you new 3G owners, can anyone comment on the "New improved audio quality" as mentione by Steve Jobs? Has the speaker phone volume improved and can you hear the ring tones? Also a few people are commenting on yellowish tint to their screens,

  • Premiere Elements 11 video editor crashing

    Hello! We just bought Premiere Elements 11 to make short (less than 5 min) videos for work. The program is frequently crashing while editing (happening on both computers, so I'm thinking it's either how it's been installed or the company firewall may

  • Template.fmb

    I am trying to open some custom forms that were created. I am getting errors. 1st I thought I did not have permissions to attach to[b] template.fmb . Then I went and copy the fmb, but still continue to get those errorss. Where can I find the librarie