WD Excel-Export with Blanks

Hello,
im exporting a contextnode to an excel sheet using the ALV component.
The problem is that in one field of the context, values with more than one blank between characters occur.
For example "abc  def".
After export to excel the blanks are reduced to only one in the excelsheet ("abc def").
Values are stored in context correctly with two blanks.
Has anyone an idea how to tell the ALV component not to reduce the blanks?
Thanks for your answers!

i actually have no solution for your problem. I wanted to ask you about another possibility. Context to xml, have you consider that.

Similar Messages

  • 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

  • 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

  • Column with blank values in a excel export.

    Hello
    I Export a Report to Excel.
    That's work fine but i have a problem.
    when in a detail section one value of one column is blank, the export discard the cell.
    in result , the values after the blank do not corresponding any more with there header....
    i find this source on this bug on the web
    http://aspadvice.com/blogs/crystal/archive/2004/04/20/2199.aspx
    but the solution inside that post do not work ...
    any idea ?

    i work with VS2008 in c# with the FW 3.5
    my bug is not in design mode
    the code where i format the excel export option :
    ExcelFormatOptions b_Format = new ExcelFormatOptions();
    b_Format.ShowGridLines = true;
                            b_Format.ExcelTabHasColumnHeadings = true;
                            b_Format.ExcelUseConstantColumnWidth = true;              
                            b_Format.FirstPageNumber = p_intPageDepart;
                            b_Format.LastPageNumber = p_intPageArrivee;
                            if (p_intPageDepart != 0 && p_intPageArrivee != 0)
                                b_Format.UsePageRange = true;                                                                               
    l_ExportOptions.ExportFormatOptions = b_Format;
    the program is a .net DLL use by a VB6 program....
    The Dll is used for all Crytal works.
    i show the Rpt successfuly. but when i export the rpt to excel the bug is present in the exported file.

  • Excel export contains a blank row for the Report Header

    Hi,
    I am getting a blank row as the first row in my SSRS report when exported to excel. I have already taken care of following things,
    1. I have hidden all of the Page Header items using Globals
    2. The position of Report Body Tablix is 0, that means there is no space between report header and Report Body.
    I have developed this Report in SSRS 2012, please let me know if any more details are required. I think even after hiding Header Items, excel creates a placeholder for page header. I can't remove header from my reports as it is needed to be published in
    pdf.
    Regards
    Mohit

    Hi Mohit,
    According to your description, you are getting a blank row as the first row in your excel report when you export the report to excel, you have hidden all the items in the Page Header by using the Globals, right?
    This blank row is for the page header, although you have hidden all the items in it, but it will still display when export report to excel. Because we can’t hidden the page Header directly. Normally, we can hidden all the items in the page Header, So in
    the design phase we can also see the blank area above the report body when preview.
    We have an alternative way by add the “SimplePageHeaders” setting in “RSReportserver.config” file, after configuration the page Header will not display in the first row of the worksheet but is rendered to the Excel page header. In Reporting Services, the
    “SimplePageHeaders” default value is “FALSE” and it indicates that the page header is rendered to the first row of the worksheet. In order to display the page header in the Header/Footer section of Excel, we need to set the “SimplePageHeaders” setting value
    to “TRUE”. I did a test on my local machine and here are my steps:
    Navigate to RSReportserver.config file: <drive:> Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\RSReportserver.config.
    Backup the RSReportserver.config file before modify it, open the RSReportserver.config file with Notepad format.
    Set the Excel rendering extension code like this:
    <Render>
    <Extension Name="EXCELOPENXML" Type="Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelOpenXmlRenderer,Microsoft.ReportingServices.ExcelRendering">
    <Configuration>
    <DeviceInfo>
    <SimplePageHeaders>TRUE</SimplePageHeaders>
    </DeviceInfo>
    </Configuration>
    </Extension>
    </Render>
      4.  Save the RSReportserver.config file.
    Note: Changing the rendering extension parameters only affects rendering operations on the Report Server.
    When I access to Report Manager and export the report(includes a page header) to Excel format, the blank row will disappear now.
    Similar thread for your reference:
    SimplePageHeader property in SSRS 2008 not working
    Removing 2 top blank rows when export to excel in ssrs 2008
    r2 report
    You can find more detail in these articles about the page header and page footer:
    Exporting to Microsoft Excel (Report Builder and SSRS)
    If you still have any question, please feel free to ask.
    Regards
    Vicky Liu

  • Any way to export table to excel file with leading 0s?

    I have to export about 50 excel files from different tables.  Some tables contain leading 0s in the columns.  If I use bcp to export to xls file, the leading 0s will be missing.  If bcp to csv or txt file, there will be no issue at all.  But I have to export to xls file in order to let client update that xls file and reload to tables again.
    Is there any other ways to do this task?
    Thanks in advance.

    Ok,  I played with it and fixed it on mine to work.
    Here is what you do.  Create a blank Excel file in Excel with a single header row with your column names in it, and then set the datatypes for each column in Excel to match your export type.  For the below, create an Excel file and in column A1, put "Name" and change the column to Type Text.  Then in B1 type Date and set it to type Date, then save the file as c:\Test.xls.  Then close the file in Excel.
    In SSMS execute the following:
    Code Snippet
    INSERT INTO OPENROWSET('Microsoft.Jet.OLEDB.4.0',
    'Excel 8.0;Database=C:\test.xls;HDR=YES',
    'SELECT Name, Date FROM [Sheet1$]')
    SELECT [Name], GETDATE() FROM msdb.dbo.sysjobs
    GO
     It worked perfectly in my environment.  Don't bother with BCP, just create a formated Excel File with a header row with your output column names and then save it.

  • Export to csv with blank row error apex 4.0.2

    In a tabular form when I use the export to csv, it return a csv file and the data is fine but there is a blank row between the header and the first row of data.
    It happens in the 4.0.2 release. I used the 3.1.2 release before and it worked perfect.
    It is a bug? any idea to fix it? I want to avoid the manual export because it's a complex query with agrupation levels.
    Thank you!

    An easy solution to formatting columns as text in Excel exporting (even handles leading zeros properly). In the report SQL do the following code:
    For Interactive reports:
    decode(:REQUEST,'CSV','="'||your_column||'"',your_column) your_column_name,
    For Standard reports:
    decode(INSTR(NVL(:REQUEST,'FOO'),'FLOW_EXCEL'),0,your_column,'="'||your_column||'"') your_column_name,
    Interactive report example
    select address1,
    address2,
    city,
    state,
    decode(:REQUEST,'CSV','="'||zip_code||'"',zip_code) zipcode
    from your_table
    Standard report example
    select address1,
    address2,
    city,
    state,
    decode(INSTR(NVL(:REQUEST,'FOO'),'FLOW_EXCEL'),0,zip_code,'="'||zip_code||'"') zipcode
    from your_table
    This will work without modification if users modify and save an interactive report as well.

  • Can't export from ECC report to Excel 2010 with more than 65 K Rows

    I see several posts about Excel 2007 and the 65K row limitation, but we are rolling out Office 2010 (Excel 2010) and find that it still will not allow download of more than 65,000 from an ECC report screen.
    Excel 2010 is supposed to handle over a million rows, and user is receiving an error message that they can not  do this.
    Will SAP allow download to Excel 2010 of more than 65K rows?  
    Are there Excel settings, or GUI levels / settings we have to have ? 
    Ruth Jones

    Details from the end User:   
    When you export line items from any detailed line item transaction in SAP that supports exporting to an excel format, SAP will only allow you to export 65K+ lines, equal to the number of line items that were available in the Excel 2003 format.  If you have more than that many line, you have to download the file as u201Cunconverted.u201D  While you can then open the u201Cunconvertedu201D file in excel, it is not properly formatted correctly, and may contain page headers and footers that need to be deleted.  In Office 2007/2010, excel was extended to 1 million+ line items.  When will SAP excel integration be upgraded to expand beyond the old 65K limit on number of exportable line items in excel format?
    For example, transaction FBL3N is used to display line items in GL accounts.  Line items are routinely exported for further analysis in Finance.  GL accounts often have more than 65K line items.  When you try to export these results to a spreadsheet format, you will get a message that the list is too large to be exported.  However, if you select the unconverted format, you will be able to export the file.  Here is an example:  (Note that this is only one example with one transaction, there are many more SAP transactions that have this same issue.)
    From the Menu, she if following the path List -->  Export -->  Spreadsheet
    Receives the pop-up box entitiled:  "Export List object to XXL", with words, "An XXL list object is exported with 71993 lines and 20 columns.   Choose a processing mode".  Radio button choices of Table or Ptivot Table.  She chose Table.
    Then receives a message that (at the bttom of the page),  List Object is too Large to be Exported.   Help says this is message PC020.  But offers no further information.

  • Template having export to excel functionality with filter values in WAD

    Hi,
    I need to create a template which has export to excel functionality with all the filter values that the user has selected in the selection screen.
    export to excel can be done but how can be the output excel sheet contain only those values which we see in browser  when the report is executed with some filters.
    Regards,
    Apeksha

    Hi Apeksha,
    you can achieve this requirement (unless I do not know the detailled requirement) perhaps by using this way of implementation:
    1. Create a new template which contains an info_field which does a data binding to the variable values or the characteristic you want to display. Set the visibility of the top container to "hidden". Add a empty data provider to this template. However be aware that the name for the (empty) data provider must match the name of the data provider within the original template you want to print.
    2. Open your original template and include the template you created in step 1 (Advanced: Web Templates and technical name of the web template created in step 2). Choose the appropriate location (above/below the analysis item).
    3. Check the settings of your export command: do not set a special web item to be printed.
    If you export the template within web the second template should be printed correctly displaying the variable settings chosen in step 2 for the info_field.
    Brgds,
    Marcel

  • Excel dates export with wrong format.

    When I exported an Excel Spreadsheet with several date columns, they displayed correctly but because of wrong formatting, they didn't sort right. The cell display was, for example, 2/7/2013 but Excel treated it as 7/2/2013 because it was assigning another country's formatting. some of the cells were formatted correctly, but about half of them were wrong and they were wrong in different ways. some were Argentinian, some Carribean, some European. Any ideas how to prevent this from happening?

    Go to Sequence>Settings and in the lower left use load presets.
    Anything that's in the HD in the sequence will have to be reset using the remove attributes function. If you have mixed media, strange things will happen.
    Also use easy setup to change your preset so any future sequences you create will be in the correct format.

  • I cant export my pdf to excel - Problem with conversion

    I cant export my pdf to excel - Problem with conversion
    Somebody is having this problem?

    Hi,
    May i know what is the challenge you are facing?
    Check with another file.
    You can try with different browser as well.
    Regards,
    Florence

  • Ssrs report export to excel along with parameter filters

    HI,
    In ssrs reports export to excel along with parameter filters,is it possible or not?
    Could you please help me..
    indu

    Hi Sriindu,
    According to your description, you want to export the report into an excel file with the report parameter and filters. And you want to filter data in excel. Right?
    In Reporting Services, the components for exporting report into a file called Reporting Services Rendering Extension. There are three types of Reporting Services rendering extensions: Data Render Extension,
    Soft page-break renderer extensions, Hard page-break rendering extensions. All these three extension are only for rendering data. It can't keep the filters and parameter in the report. Also excel can't support Reporting Services filter in
    an excel file. So your requirement can't be achieved.
    Reference:
    Exporting Reports (Report Builder and SSRS)
    Interactive Functionality for Different Report Rendering Extensions (Report Builder and SSRS)
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Simon Hou

  • Export to Excel - Problem with extra rows

    Hi have a report that has 3 groups. I suppress the group headers and am using the group footers for totals.
    When I export to excel, I get extra rows in the excel file for the suppressed sections. How can I get rid of these?
    Thanks,
    Linda

    I can use this to get out additional rows on my excel export. However, in the columns, I usually put some distance between each column so the columns won't run together. This is giving me extra columns. It would be much easier if I did not have to put that distance. Is there a way to format the field to have a leading or trailing space so all the fields don't run together on the report?
    example:
    field1
    field2
    field 3
    if all these fields have data the output would look like:
    field1datafield2datafield3data
    how can I make it look like:
    field1data field2data field3data

  • Download to EXCEL - Problem with truncating leading zeros

    Hello Experts
    I have Reqs-
    When i download data into EXCEL some of the fields like PERNR lets say if the valus of the PERNR is 01000032 then in the excel it is displaying it as 1000032 or esle if a DATE field with value 02/03/2007 (obtained by concatenating MM / DD / YYYY) it is displaying in the excel as 2/3/2007.
    I dont want the truncating of zeros to happen.
    Any INPUT will be rewarded with points.
    Thanks
    Vj

    Hi,
    Try to use this FM.
    There are two very important functional modules ,which are used to add zeroes(‘0’)  & Remove zeroes(‘0’)  from  numeric string input respectively.
    The functional module ‘CONVERSION_EXIT_ALPHA_INPUT’ comes handy in this situation.           
    Another functional module ‘CONVERSION_EXIT_ALPHA_OUTPUT’ is used to reverse the Operations performed by the above FM.
    Let us look up the first case.
    Function Module: CONVERSION_EXIT_ALPHA_INPUT
    PARAMETER:
    Importing Parameter: Input   of  type ‘C’
    Exporting Parameter: Output of type ‘C’.
    This function module is use to add zeroes (‘0’), to the left of the  numeric string input ,after making the input  numeric string right justified .
    If the input string is non-numeric (including alphanumeric) , string is stored as left justified ,with blanks towards the right.
    If the string is numeric say  vehicle number , vlcvehicle-vhcle( 10 char)
    INPUT  :  ‘123456’              
    OUTPUT : ‘0000123456’
    Whereas if string is non-numeric
    INPUT :    ’ABCD’              
    OUTPUT:  ‘ABCD’.
    Hope this will solve your problem.
    Regards
    Balaji

  • How do I fill an Excel spreadsheet with the contents of a DataTable? (C#, OleDb)

    The following fills a DataTable with the contents of an Excel spreadsheet.
        oledbCmd.CommandText = "SELECT * FROM [" + stSheetName + "$]";
        DataTable dtDataTable = new DataTable();
        using (OleDbDataAdapter oledbAdapter = new OleDbDataAdapter(oledbCmd))
        oledbAdapter.Fill(dtDataTable);
    How do I fill an Excel spreadsheet with the contents of a DataTable?
    bhs67

    You can try this Excel library, it can help u to
    export datatable to excel to Database.
    After add the reference to your project ,add the following code:
    private void button1_Click(object sender, EventArgs e)
    //connect database
    OleDbConnection connection = new OleDbConnection();
    connection.ConnectionString @"Provider=""Microsoft.Jet.OLEDB.4.0"";Data Source=""demo.mdb"";User Id=;Password="
    OleDbCommand command = new OleDbCommand();
    command.CommandText = "select * from parts";
    DataSet dataSet = new System.Data.DataSet();
    OleDbDataAdapter dataAdapter = new OleDbDataAdapter(command.CommandText,connection);
    dataAdapter.Fill(dataSet);
    DataTable t = dataSet.Tables[0];
    //export datatable to excel
    Workbook book = new Workbook();
    Worksheet sheet = book.Worksheets[0];
    sheet.InsertDataTable(t, true, 1, 1);
    book.SaveToFile("insertTableToExcel.xls");
    System.Diagnostics.Process.Start("insertTableToExcel.xls");
    http://www.e-iceblue.com/Tutorials/Spire.XLS/Spire.XLS-Program-Guide/Data-Export-/Import-Export-Datatable-to-Excel-from-Database.html

Maybe you are looking for