Blank row in excel

Hi Experts,
while uploading an excel sheet having data from my system in a context node, i m getting a blank row in the node.
But my requiremenet is , if there is any blank row in the excel sheet then it shuld not get into the context nodei.e while parsing my excel sheet into a node, no empty rows details must be there in node..
provide a soln for it.
regards,
anand

Hi,
If possible pls post the code you are using to read the excel and to populate that data into node. You need to keep the condition while creating a new element to node everytime whether the row is blank or not.
Regards,
Charan

Similar Messages

  • Export to excel. Subreport blank rows generated.

    Dear Forum
    Hoping you can help with a query.
    I have a report that has 3 subreports all are supressed if blank and not shown during preview or print.
    When i try and export the report to excel the returning result is a series of blank rows in excel.
    I know the subreports are the root cause of the issue as when each of them is supressed my blank row count reduces accordingly.
    Is this a know issue or is there indeed a resolution.
    Thank you forum for your assisatnce as ever
    With Kind Regards
    Paul Marks

    Hi Paul,
    Sorry to be a downer but It has been my experience that the more complex a report is the more problems I have when exporting especially to excel.
    Below is a link to the export limitations of Crystal 10...I haven't found a newer version for XI or 2008.  This document doesn't give an exact explanation for each limitation but sometimes it's enough to know that there is an issue related to exporting your report.  In your case there are limitations related to exporting suppressed items to an excel spreadsheet.
    [Crystal Reports 10 - Export Limitations|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d0b01060-3a62-2b10-73a1-d03a6c634914]
    I don't know how much data you have but my suggestion is to try exporting your report to a csv file instead because suppression is not as much a problem when exporting to that format.  CSV files can be opened directly by Excel you are just missing any nice formatting.
    If you need a nicely formatted spreadsheet, create a standalone spreadsheet formatted the way you want and either paste in the data from your exported Crystal report or link to the data in the csv file.  I have found this type of conversion takes a little longer to set up but is much easier to maintain. 
    If you do decide to export to csv format i must also suggest that the report be formatted for export (this also helps with data dumps to excel):
    1. Start rows of data at the left most margin and align any subsequent rows with this position.
    2. Make sure the next column (to the right) always starts where the last column ends.  This ensures no blank columns get inserted between your data.  Subsequent rows should have columns aligned in size and count to ensure proper layout.
    3. Make sure all objects in a row have the exact same height and use the "fit to section" command to prevent extra rows from being generated.
    4. Suppress all sections that do not contain any objects needed in your export.
    5. If your data isn't too wide (less than 256 bytes but it can be more if the printer driver used can print at a high dpi setting) consider using a formula to create each row of data i.e. properly padded for space delimited or with the commas where you want them for csv etc).  This also gives you more control on how each data type is formatted.
    Sorry to be so long winded but I hope this helps with your exporting.
    Marshall

  • 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

  • SSIS Excel destination blank row

    I have create an SSIS package in VS 2005 (because we are still in the stone age) where I have three Excel exports using the Excel Destination. One works fine but the other two have a blank first row each time (the second row of the sheet). I have reviewed
    other threads but cannot seem to find a solution.
    I do not have extra data in my templates. I even tried creating new ones but that didn't help. Pressing <CTRL><END> takes me the the first line where the header is.
    There was one that looked promising but the selected answer referred to dead Microsoft forum link (forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2915256&SiteID=1).
    Any suggestions to fix this?
    Thanks for any help.

    I think it may be because of some unprintable characters present at the end of the excel header row.did you try explicitly setting a range to start from 2nd row for them and see if blank row disappears
    http://sqlserversolutions.blogspot.in/2009/02/selecting-excel-range-in-ssis.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Blank Row comming out from Excel Source?

    Hi,
    I use an excel datasource to populate some simple dimensions, but when i extract the excel file i get alot of blank rows from the excel files...
    How can i overcome this issue? Is this normal?
    I never had problems like this using DTS in the 2000 version
    Best Regards,
    Luis Simões

    Hi RJ,
    You could either delete as many rows from your excel source file as needed, that is rows following your data, or even better add a conditional split component (sql server 2012) after your source component to filter only the rows with data and send
    only those rows through the pipeline.
    Rudolf Swiers
    Another solution is to write a SQL query against the Excel source. Take one column that always needs to have a value and add
    WHERE myColumn IS NOT NULL.
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • Blank line in excel using SO_NEW_DOCUMENT_ATT_SEND_API1

    Hi Experts
    I have a small issue while using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1". I am sending an excel file using this function module, but in the mail, the excel has one blank row on top. My client people doesnt want it.
    Is there any method where we can control this in the program. I m filling pack list like below
    CLEAR i_pack_list-transf_bin.
      i_pack_list-head_start = 1.
      i_pack_list-head_num = 1.
      i_pack_list-body_start = 1.
      i_pack_list-body_num = i_lines.
      i_pack_list-doc_type = 'RAW'.
      APPEND i_pack_list.
      DESCRIBE TABLE i_excel LINES i_lines.
      READ TABLE i_excel  INDEX i_lines.
      i_pack_list-transf_bin = 'X'.
      i_pack_list-head_start = '1'.
      i_pack_list-head_num = '1'.
      i_pack_list-body_start = '1'.
      i_pack_list-body_num = i_lines.
      i_pack_list-doc_type = 'XLS'.
      i_pack_list-obj_name = 'Propose UWYR Results'.
      CONCATENATE 'Propose UWYR Results' sy-datum INTO i_pack_list-obj_descr SEPARATED BY space.
      i_pack_list-obj_langu = 'E'.
      i_pack_list-doc_size = i_lines * 255.
      APPEND i_pack_list.
      CLEAR i_pack_list.
    Please suggest me if there is any other alternative.
    Thanks
    Praveen

    Clear i_pack_list. and then ,
    Remove lines in BOLD.
    READ TABLE i_excel INDEX i_lines.
    i_pack_list-transf_bin = 'X'.
    i_pack_list-head_start = '1'.
    i_pack_list-head_num = '1'.
    i_pack_list-body_start = '1'.
    i_pack_list-body_num = i_lines.
    i_pack_list-doc_type = 'XLS'.
    i_pack_list-obj_name = 'Propose UWYR Results'.
    CONCATENATE 'Propose UWYR Results' sy-datum INTO i_pack_list-obj_descr SEPARATED BY space.
    i_pack_list-obj_langu = 'E'.
    i_pack_list-doc_size = i_lines * 255.
    APPEND i_pack_list.
    CLEAR i_pack_list.
    Now issue will be solved
    Edited by: Harsh Bhalla on Nov 26, 2009 4:39 PM

  • SQL query Output  exceeds 65000 rows in excel

    Hi,
    I have a SQL file attached to my concurrent program. The query in the SQL file returns tab separated output that i need to email as a csv through the same SQL file.
    The issue I am facing is that the query returns about 157000 records but only 65536 are being displayed in the excel worksheet.
    How can I get all the records by accommodating them in multiple worksheets of the same excel file?
    Please help!
    I am using EBS 11i.
    Code I am using in SQL file:
    set pages 3000
    set lines 300
    set heading off
    set term off
    set feedback off
    set verify off
    set echo off
    set serverout off
    spool /tmp/TEST.csv
    select 'Header'
    from dual
    SELECT column1||CHR(9)||column2
    FROM staging_table
    spool off
    set lines 1000 pages 40 head off echo off veri off
    select 'cd /tmp; cat $XX_TOP/install/sql/disclaimer.txt > x.dat; cat '||'/tmp/TEST.csv'||' | uuencode '||'/tmp/TEST.csv'
    ||' > '||substr('/tmp/TEST.csv',1,length('/tmp/TEST.csv')-4)||'.dat >> x.dat'
    ||' ; mail -s ''' ||'&1'||''' '||'&2'||' < x.dat'
    ||' ; rm '||substr('/tmp/TEST.csv',1,length('/tmp/TEST.csv')-4)||'.dat'||' ;'
    from dual
    list
    spool /tmp/email.txt
    spool off
    host chmod 777 /tmp/email.txt
    host /tmp/email.txt
    Thanks
    Edited by: user10648285 on May 13, 2011 5:27 AM

    open a blank Excel (2007 version), go to Data tab, then from External Data click From Text, select the CSV file (That having more than 65k records), click import, then from "start import at row" select 65001 and click next button, select delimiter as Comma, click Next button and filaly finish.
    In this way you will have the data after 65k rows in excel. Now you can simply open that cvs file in excel then you will have first 65k records (remening part will be discarded).
    So now you have two excel files and you can paste it in two diff tab.
    Note - you can repeate this activity if you have more than 130000 records...

  • Extra blank rows in vba spreadsheet zoom

    Here's how it happens:
    - in Excel 2003 VBA
    - two row dims
    - right row dim is fixed list of mbrs
    - left row dim is single member zoom
    - sheet has other stuff on it, so retrieve range is not entire sheet
    - top of retrieve range is in row 6
    so when I call EssVZoomIn() in this situation, the result is that there are 5 blank rows between each instance of a member in the left row dim. That is the exact number of rows above the retrieve range in this sheet, and it turns out that is the variable: if I move the retrieve range to row 7, I get 6 empty rows everywhere.
    I have tried every spreadsheet option that would appear to have any impact, no joy. I have tried using a free form mode retrieve, which works, but then I can't preserve formulas in the sheet, which I need to do.
    I can work around this, but what a silly thing to have to do, like do the zoom in a separate sheet, or remove all the empty rows after the zoom. Does anyone have any ideas about how to disable this "feature"?
    Thanks!

    Dheepan wrote:
    I am trying to spool a table result to a .dat file.
    The problem is the output spool file has 3 rows after each row with a column having its row data split as 3 for every enter key in the data.
    Eg:
    Original data as in DB
    A B C
    1 1 ABC DEF GH
    2 1 DEF GHI JK
    SPOOL FILE O/P
    A | B | C |
    1 | 1 | ABC |
         | |DEF |
         | |GH |
    2 | 1 | DEF |
         | | GHI |
         | | JK |
    Thanks,
    Dheepancan you post script?
    BTW, have you included SET TRIMSPOOL ON ?
    When you have moved your question, Close that thread ORACLE SPOOLING extra blank rows
    Edited by: CKPT on Mar 24, 2012 10:07 PM

  • How to hide empty rows in Excel Template

    Hello,
    I have an Excel template that I am using to format some data. I created an XDO_GROUP on a particular section that sometimes has no data in it (see below). When the template is executed, the blank sections in the XML are creating blank rows in the spreadsheet. How can I suppress the blank sections in the template so a blank row is not created in Excel?
    <A_R_Statement_Detail_S9 />
    <A_R_Statement_Detail_S9 />
    <A_R_Statement_Detail_S9 />
    <A_R_Statement_Detail_S9 />
    <A_R_Statement_Detail_S9 />
    + <A_R_Statement_Detail_S9>
    + <A_R_Statement_Detail_S9>
    + <A_R_Statement_Detail_S9>
    Thanks,

    try including the condition in group by taking not null element of that group . can you show any snapshot of current output and expected output by using some image hosting sites if possible.
    sample : <xsl:for-each select="DATA_DS/G_1/G_2[ID!='']">

  • Desformat=spreadsheet  blank rows and columns

    Hello,
    With Oracle Reports 10g R2, I'm trying to generate EXCEL report output using desformat=spreadsheet
    The excel report output is being generated with one blank column between each data column and 2 blank rows between each data row.
    Any clue to get around the problem ?
    Thanks
    Sridhar

    I think you should try this one:
    http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/excel/viewlet.html
    No more blank rows or blank columns

  • Xcelsius - Blank Rows

    Hello,
    My excel sheet in Xcelsius is populated via XML on daily basis.
    Example:
    Coulmn A1 through F22 gets populated
    Grid in dashboard displays the data in above range.
    Problem:
    I also get some blank rows from the source, which I would not like to be displyed in the dashboard.
    Example:
    John         
    Henry
    Kate
    Perry
    Ray
    Tom
    Thanks in Advance.

    Thank you for all of your suggestions.
    This problem was actually able to be fixed by scaling the Excel formulas WAY back and relying on Xcelsius' filter rows function to do essentially the same thing - except its quicker, easier, and more efficent.
    So Net Net - if anyone else is having a similar problem, take a look at seeing if there is any way to cut out the complexity of the formulas and rely more heavily on processes within Xcelsius, not just Excel.
    Domenic

  • 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.

  • Program Will Not Read First Row in Excel Sheet

    I am having difficulty getting my program to read the first row of my excel sheet. When I use the next() method the first time it automatically starts at the second row. Here is what I have for my method that reads the data from an excel file.
    package excel;
    import java.sql.*;
    public class Excel
         public void readexel(String filename) throws SQLException
              Connection c = null;
              Statement stmnt = null;
              try
                   Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
                   c = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=" + filename);
                   stmnt = c.createStatement();
                   String query = "Select * from [Sheet1$]" ;
                   ResultSet rs = stmnt.executeQuery( query );
                   while( rs.next() )
                        System.out.print("Row #" + rs.getRow() + ": ");
                        System.out.print( rs.getInt(1) + " " );
                        System.out.print( rs.getInt(2) + " ");
                        System.out.println( rs.getInt(3) );
              catch( Exception e )
                   System.err.println( e );
         }

    Thats because the first row typically contains the column headers, and you don't want them read as data. Either insert a blank row, or put in column labels, and than you can get the column labels/names from the ResultSetMetaData.
    Message was edited by:
    SomeoneElse

  • Intermittent Blank Rows coming in BI Publisher Report output

    Hi,
    We are working on a BI Publisher report output.
    Issue
    The report sometimes creates a blank row along with the headings of the report columns. Table has multiple records and between 2 records we have a data being displayed which is optional. When this record is null, it is creating an extra space and hence creating a new page with the headers and a blank row.
    Reducing the space is one issue we have thought of. Are there any other pointers to this.
    Thanks
    Ishani

    Hi,
    I did not got the complete thing but as you told you need to remove the blank space in the report and at the same you told when a column returns null the row get displayed as blank row.
    Then can you try using the Conditional region so that when ever you find the column value as null so you can hide that row.
    Just try it i donot no if your requirement is exactly like this or what.
    Thanks.

  • Insert  Blank row  After every Row  in alv report

    How to insert blank  row After every row  in Alv report

    what do you mean by a 'blank row'? ALV displays tabular data with 'any' number of columns. Now if you actually want a blank row (no columns at all, just a row), then that is just not possible. If I'm not mistaken, this question was posted before, so try to do a search on SCN. See what is says.

Maybe you are looking for

  • Text not searchable & copiable within an inported pdf doc in FM

    Hi all, I am having an unique problem with FrameMaker 7.1! There is a *.fm file and within it, I am importing by reference a pdf file. The above imported pdf file was created from OpenOffice draw (contains some shapes and text). After importing the a

  • Error while starting workflow from warning msg or error msg?

    Hello experts, I m tryin to start and workflow from error msg of ME21...whn we juss click enter without entering any value, it gives error as -" enter Purch org  ". whose msg class - ME and msg num - 083. thn from t-code SWUY,i creating and linked wo

  • Multiple Managed Beans

    Does it make sense to have multiple managed beans with a JSF app? Is there a tutorial for doing this in JSC? I can see the need for a larger app to have many managed beans at the request level and/or session level. If there isn't a way to do this the

  • Where are the latest files that be downloaded in the computer?

    a problem confused me recently.i cannot find the files which be downloaded by adobe application manager. so, who can help me? thanks.

  • SAP query SQ01 change not reflecting in Querys ABA program

    Hi Guys, Need your opinion on this issue. We have modified an existing query in SQ01. Added a new selection field and re-arrranged the selection criteria in general. However, I do not see any change in the generated ABAP report. The timestamp on the