Also, import empty rows

Hi,
does anybody know how works the data import option: "also, import empty rows"?
I have an issue with it:
in a txt file where many lines havesame values on all dimensions but with different amounts, if the last line has an amount 0 and if the option is unchecked all these datas are not imported.
I'm on BFC 7.5 SP06.
here is the data file:
D_CA;D_DP;D_STADE;D_SEGMENT;D_SECTACT;D_AFF;D_PE;D_RU;D_AC;D_AU;D_CU;P_AMOUNT;D_FL;P_COMMENT
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;0;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;-6275.85;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;0;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;0;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;0;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;-70179.09;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;0;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;-99.8;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;-31336.43;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;-10805.63;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;-1058.5;F99;
R;2011.12;COM;DINA;NA;ACOM;2011.12;XX;R707;0LIA01;EUR;0;F99;
If I clear the last line I import correctly all theses datas whatever the option.
thks a lot
Edited by: pachakuti on Jan 6, 2012 6:03 PM

same result.
and I have an answer from SAP support: there is an issue but non fixed.
thks

Similar Messages

  • Matrix Empty row Binding Problem

    Hi ,
    i created one matrix using screen painter.. all my columns are binded
    with user defined fields.(Doc Rows Table). if my total row count is 5.
    and i deleted 2 rows using rightclick deleterow event. after adding if i see the same document  it display the 2 empty rows and 3 rows with my details.. actually its showing that deleted row also.my UDT also having empty row details..
    how to resolve this?
    Regards,
    Ganesh K

    Hi Geetha,
    i think you misunderstood my scenario. while adding no empty rows
    are displayed, even if  i deleted some added row details.After adding,
    while retriving the same document  the problem occurs.if am not clear let me know..
    As you told, beforeAction = false of Add will be new form with Add mode.so not possible to check that old matrix. otherwise we can delete the empty details from database using query..in beforeaction false pval.actionsucess true part...
    regards,
    Ganesh k.

  • Empty rows from imported excel sheet

    Hi all
    I use Intelligent Explorer 8.3 and have an imported excel sheet in the query.
    If I process this file I receive a lot of empty rows on top the data I like receive. But in this excel sheet there are no empty rows. What could be the problem?
    Is there a setting which I can change the path to this excel sheet?
    The only way I know is to rename the excel file that I get a message box to set the path again.
    Thank you very much in advance
    Michael

    I solved the problem with the empty rows already. The problem was that Brio retrieves empty rows if they are used before. There is obviously a difference between empty rows which are used and which are unused. But I am still trying to find the excel settings where you can change the path to the excel sheet.
    Thank you anyway

  • Delete empty rows while having empty xml tag

    I've seen something like same but it doesn't work for me. I have a table which is created using xml rules, some time it contains empty xml tag also converted into row but I don't want these empty rows. After table creation empty rows need to be deleted.
    I've got this script from this forum which delete empty rows
    for(var i=myDocument.textFrames.length-1; i>=0; i--){
      for(var j=myDocument.textFrames[i].tables.length-1; j>=0; j--){
       for(var k=myDocument.textFrames[i].tables[j].rows.length-1; k>=0; k--){
        myContents = 0;
        for(var l=myDocument.textFrames[i].tables[j].rows[k].cells.length-1; l>=0; l--){
         if (myDocument.textFrames[i].tables[j].rows[k].cells[l].contents != "") myContents++;
         if (myContents == 0) myDocument.textFrames[i].tables[j].rows[k].remove();
    but incase of any cell contains empty xml element it goes blank. Could any one help on this.
    Thanks
    Mac

    Gyan,
    Thanks for your help. I have modified the code as below:
    public void removeblankline()
    OAViewObject rvo = (OAViewObject)findViewObject("NCRPaymentExtLineVO1");
    Row row[] = rvo.getAllRowsInRange();
    System.out.println("Remove all blank rows");
    System.out.println("Total Rows"+rvo.getRowCount());
    int jcount = rvo.getRowCount();
    for (int j=0;j< jcount;j++)
    NCRPaymentExtLineVORowImpl rowj = (NCRPaymentExtLineVORowImpl)row[j];
    System.out.println("Check Line Number: "+j);
    System.out.println("Line Type Lookup Code: "+rowj.getLineTypeLookupCode());
    if((rowj.getLineTypeLookupCode()==null)||("".equals(rowj.getLineTypeLookupCode().trim())))
    System.out.println("Removed Line Number: "+j);
    rowj.remove();
    System.out.println("Processed with Line Number: "+j);
    } // end removeblankline
    This is the change I have done:
    int jcount = rvo.getRowCount();

  • Add Empty Row not working

    Hi,
    We have an "Add Empty Row" Button.
    When that is clicked a new row seems to be added but we cannot view it.
    It is visible when a seperate action is carried out. Like a checkbox being checked.
    It seems that there is no refresh after the row has been added.
    This was working previously.
    What change could have been done that has caused this.
    Regards,
    Girishkumar Hegde

    data lo_nd_nd_pernr type ref to if_wd_context_node.
        data lt_nd_pernr type wd_this->elements_nd_pernr.
        data ls_nd_pernr type wd_this->element_nd_pernr.
        lo_nd_nd_pernr = wd_context->get_child_node( name = wd_this->wdctx_nd_pernr ).
        lo_nd_nd_pernr->get_static_attributes_table( importing table = lt_nd_pernr ).
      if lt_nd_pernr is initial.
          append ls_nd_pernr to lt_nd_pernr.
        elseif lt_nd_pernr is not initial.
      clear ls_nd_pernr.
      append ls_nd_pernr to lt_nd_pernr.
        endif.
      lo_nd_nd_pernr->bind_table( lt_nd_pernr ).
    This is the sample code for adding rows. Compare with this.

  • Calculate accurate datagrid height with variableRowHeight and without any empty row

    hi ,
    how can i calculate accurate datagrid height with variableRowHeight="true" and without getting any empty row.
    Currently i am calculating datagrid height on updateComplete event of datagrid as follows:
    public function onUpdateComplete() : void
    this.datagrid.headerHeight=50;
    datagrid.height= datagrid.measureHeightOfItems(0, this.datagrid.dataprovider.length)+this.datagrid.headerHeight;
    with following datagrid properties:
    <mx:DataGrid 
    dataProvider="{dataArrayCollection}" width="100%" rowCount="{dataArrayCollection.length}"
    id="datagrid" updateComplete="onUpdateComplete()" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0"
    fontSize="12" wordWrap="true" variableRowHeight="true" verticalScrollPolicy="off" >
    With this approach the issue is, i am getting scrollbar on datagrid's container. I want scrollbar for datagrid instead of its container so that i can have only rows to be scrollable and not the header. Also, if i set verticalScrollPolicy of datagrid as "auto", i get empty rows.
    So,is there any way to have datagrid with following properties:
    variable row height
    no empty rows
    word wrap for headers as well as for rows
    Scrollbar for grid i.e. header should remain fix ,only rows should be scrollable
    no horizontal scrollbar
    TIA

    http://blogs.adobe.com/aharui/2010/10/mx-datagrid-list-and-variablerowheight
    .html

  • My desktop has an empty row at the bottom

    Hi,
    Whenever I try to organise my desktop, it always leves an empty row at the bottom, where there could be folders.
    This annoys me. A lot.
    Does anyone know how to fix it?

    If you set your dock position to the left side ( or right side) of the screen, 'Cleanup' will then utilize the space at the bottom. The cleanup function will not use space below that point when the dock is set at the bottom in order to avoid having the dock overlap folders...even if the dock is set only to appear when you hover over it.
    1) System Preferences > Dock > Position on screen (set to right or left).
    2) Cleanup your desktop, and space at the bottom will be utilized.
    You can also adjust view options of your desktop icons to your liking...such as snap to grid, size, text position, etc:
    Right click (or control + click) anywhere on the desktop > Show view options.

  • How can I create an empty row on a #TempTable based on an input parameter

    So if my Line of Business is 'MC' or 'MG', I have to go over to Oracle and get its data accordingly. Then, when I create my final report result set, I think I'll want to UNION in that result set if my Parameter is 'MC' or 'MG'. I don't think I can UNION
    based on the value of the Parameter. So my thought process was to create an empty row on my #TempTable so when I UNION and my parameter is NOT 'MC' or 'MG' then it will have nothing to UNION in. My struggle is how do I create an empty row in my #TempTable
    if my parameter is NOT 'MC' or 'MG'
    If I am wwwaaayyy off here, please tell me so.
    This is my #TempTable Creation SQL...
    IF EXISTS
    (SELECT 1
    FROM [#TempTable_LineOfBusiness_Parameter]
    WHERE [#TempTable_LineOfBusiness_Parameter].[RESULT] IN ('MC','MG'))
    BEGIN
    SELECT *
    INTO [#TempTable_Market_Prominence_Member_Data]
    FROM OPENQUERY
    (RPDMHF,
    'SELECT HCFA_NAME_ORG.NAME_ID,
    HCFA_NAME_ORG.MEMBER_ID,
    HCFA_NAME_ORG.HIC_NUMBER,
    MEMBER.NAME_FIRST,
    MEMBER.NAME_LAST,
    HCFA_DATE.START_DATE,
    HCFA_DATE.END_DATE,
    HCFA_NAME_ORG.COUNTY_CODE,
    HCFA_NAME_ORG.PART_A_PAYMENT,
    HCFA_NAME_ORG.PART_B_PAYMENT,
    HCFA_NAME_ORG.STATUS,
    HCFA_NAME_ORG.ORG_ID,
    HCFA_NAME_ORG.PLAN,
    HCFA_NAME_ORG.ENROLL_DATE,
    HCFA_NAME_ORG.PBP_ID,
    HCFA_DATE.VALUE
    FROM SC_BASE.HCFA_DATE
    LEFT JOIN SC_BASE.HCFA_NAME_ORG
    ON HCFA_NAME_ORG.NAME_ID = HCFA_DATE.NAME_ID
    LEFT JOIN AMIOWN.MEMBER
    ON TRIM(MEMBER.MEMBER_NBR) = TRIM(HCFA_NAME_ORG.MEMBER_ID)
    WHERE HCFA_DATE.INDICATOR = ''plan''
    AND HCFA_DATE.START_DATE >= ''2015-01-01''
    END
    If I add an ELSE, it always comes back and tells me the #TempTable_Market_Prominence_Member_Data already exists. As if it's creating it regardless of the Top IF.
    Thanks for your review and am hopeful for a reply.

    Hi ITBobbyP,
    The error came back from your ELSE Statement most probably caused by the reason mentioned in Hoffmann's post.
    Regarding your requirement, I would suggest you CREATE the [#TempTable_Market_Prominence_Member_Data] explicitly.
    CREATE TABLE [#TempTable_Market_Prominence_Member_Data]
    NAME_ID INT,
    MEMBER_ID INT,
    HIC_NUMBER VARCHAR(99),
    NAME_FIRST VARCHAR(99),
    NAME_LAST VARCHAR(99),
    START_DATE DATE,
    END_DATE DATE,
    COUNTY_CODE VARCHAR(99),
    PART_A_PAYMENT MONEY,
    PART_B_PAYMENT MONEY,
    STATUS VARCHAR(99),
    ORG_ID INT,
    PALN VARCHAR(99),
    ENROLL_DATE VARCHAR(99),
    PBP_ID INT,
    VALUE INT
    IF EXISTS
    (SELECT 1
    FROM [#TempTable_LineOfBusiness_Parameter]
    WHERE [#TempTable_LineOfBusiness_Parameter].[RESULT] IN ('MC','MG'))
    BEGIN
    INSERT INTO [#TempTable_Market_Prominence_Member_Data]
    SELECT *
    FROM OPENQUERY
    (RPDMHF,
    'SELECT HCFA_NAME_ORG.NAME_ID,
    HCFA_NAME_ORG.MEMBER_ID,
    HCFA_NAME_ORG.HIC_NUMBER,
    MEMBER.NAME_FIRST,
    MEMBER.NAME_LAST,
    HCFA_DATE.START_DATE,
    HCFA_DATE.END_DATE,
    HCFA_NAME_ORG.COUNTY_CODE,
    HCFA_NAME_ORG.PART_A_PAYMENT,
    HCFA_NAME_ORG.PART_B_PAYMENT,
    HCFA_NAME_ORG.STATUS,
    HCFA_NAME_ORG.ORG_ID,
    HCFA_NAME_ORG.PLAN,
    HCFA_NAME_ORG.ENROLL_DATE,
    HCFA_NAME_ORG.PBP_ID,
    HCFA_DATE.VALUE
    FROM SC_BASE.HCFA_DATE
    LEFT JOIN SC_BASE.HCFA_NAME_ORG
    ON HCFA_NAME_ORG.NAME_ID = HCFA_DATE.NAME_ID
    LEFT JOIN AMIOWN.MEMBER
    ON TRIM(MEMBER.MEMBER_NBR) = TRIM(HCFA_NAME_ORG.MEMBER_ID)
    WHERE HCFA_DATE.INDICATOR = ''plan''
    AND HCFA_DATE.START_DATE >= ''2015-01-01''
    END
    Explicitly creating the temp table will offer below benefit in this case.
    The ELSE statement is no longer needed, if the no rows get inserted into that table, it has nothing to union an empty table.
    With the column datatype defined, you can avoid such conversion error
    SELECT NULL AS COL1,NULL AS COL2 INTO #T
    SELECT COL1,COL2 FROM #T
    UNION
    SELECT 1,'ABC'--Conversion failed when converting the varchar value 'ABC' to data type int.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • How to delete empty row without validation error in ADF Table(EMP)

    Hi Everyone,
    I am using EMP Table in ADF jspx page to insert the data into database.when i insert a row into table by createInsert operation,it inserting the row.But I need to delete that row immediately with out entering any value.
    But it showing some validation error at empno.Is there any ways to delete the empty row?if not,what are the reasons that we can't delete the row.
    could any one tell me the reasons!!
    Thanks in advance!!
    With Best Regards,
    Amar
    Edited by: 973755 on Dec 11, 2012 6:42 AM

    Amar,
    I am little confused with your logic here.....
    but if you are trying to remove the row by clicking Remove button, you can set the immediate property to true and that remove function will run without executing any entity validation.......
    -R

  • How to insert an empty row on a matrix with multiple loaded lines?

    Hi.
    I want to insert an empty row on my form's matrix. Currently I am using the <b>AddRow </b>method, as it is:
    // C# - it's mandatory to give parameters to the method (=
    oMatrix.AddRow(1,1)
    But, when the matrix already has some rows (at least 1), the method <b>AddRow </b>inserts the new line as a copy of above line, then, I have to manually clear all cells.
    Any idea on this?
    Thanks in advance.

    If you matrix is bound to a dbDatasource you can insert a record in the dbdataspurce instead of using matrix.AddRow... If not only way to do it is by clearing the row after add

  • How can I leave an empty row?

    Hi,
    If I want to use GridBagLayout, how can I leave an empty row? Or empty column? When I create the buttons on a frame, are they created sequentially? so Is that mean I can't put something back to the first row later in the program? Thx.
    Adrian

    I'm just guessing, since I havent done Java for a long time... but if you want an empty row... what pops up in my mind first is like putting in an empty JLabel/Label... for that row... but then if you wanna fill it in... i dunno...

  • Query against materialized view from stored procedure brings back empty row

    I have a stored procedure that runs a query against a materialized view. When I run the query outside the SP it works just fine. When I change the MV to a table name, the SP works. When I change it back to the MV i get an empty row. Any ideas? The code is below:
    PROCEDURE getAuth     (p_naid        IN  NUMBER,
                             p_scope       IN VARCHAR2,
                             o_xml_data    OUT SYS_REFCURSOR
                             ) IS
      BEGIN
        IF p_scope = 'Approved' THEN
          OPEN o_xml_data FOR
            SELECT naid,
                   p_naid,
                   auth_type,
                   xml_data
            FROM some_mv
            WHERE naid = p_naid;   
          RETURN;
          CLOSE o_xml_data;
    ... the rest of the procedure ...

    does procedure contain EXCEPTION handler?
    if so, then remove, delete & eliminate EXCEPTION handler (at least during testing & debugging)

  • Import "RAW files only" also imports JPEGS (+ steps to reproduce)

    I filed this bug report to Apple:
    Summary:
    When importing "RAW files only" the accompanying JPEGs are also imported when the files are stacked (cmd-K) in the import screen.
    Steps to reproduce:
    1. Create a new library
    2. Insert a card from a camera (checked with Canon G9, Lumix DMC-LX3) which holds RAW files and their accompanying JPEG files (same filename, different extension)
    3. Cmd-I to import, if the import screen does not open by itself.
    4. Make sure "RAW files only" is selected
    5. Select "Uncheck All"
    6. Select a few RAW files (for example 4) (click first, shift-click last, click checkbox, all 4 are selected at once)
    7. Cmd-K to put them in a stack.
    Above the "Import Checked" button the number of files to be imported is shown, 4 in this case.
    8. Click "Import Checked"
    Wherever the images are imported, not only the 4 RAW files will be imported, but also the accompanying JPEG files. This is also the case when only JPEGs are requested, in that case the RAW files will be imported as well.
    Is is essential that the images to be imported are stacked in the import screen. If this is omitted, only the requested files (either RAW of JPEG) are imported (4 in this example).
    Koen

    Hi again
    Sorry the delay in getting back to my post but I've been a tad busy.
    Well, after a bit of testing I can confirm that the problem does seem to be an issue with Vista (32bit and 34 bit) as Jeff states.
    I tried importing the raw files into Vista 32-bit, Vista 64-bit and XP 32-bit and whilst all operating systems allowed the import of JPEG files, I was only able to import the raw files into XP.
    I havent got a card reader so am unable to test this at the moment.
    Stephen

  • SSRS- Hide Empty Rows

    Hi,
    I am having a difficult time deleting empty rows in a table. I used HideDuplicates under properties to hide any of the duplicated data but now it is leaving me an empty row in the table. I tried to use the following codes but none of them seemed to work:
    =Iif(Previous(Fields!Apps.Value) = Fields!Apps.Value, True, False)
    =IIF(fields!Apps.value IS NOTHING, True, False)
    =isnothing(fields!Apps.value)
    =if(Fields!Apps.Value = "",
    true, false). 
    =IIF(IsNothing(Fields!Apps.Value),True,False)
    =iif(Fields!Apps.IsMissing,True,False) 
    Might anyone know another code I might use to delete the empty rows?
    Thank you in advance!

    What you are looking for is probably the Visibility option not the HideDuplicates. You can right click on the row and choose
    Row Visibility. Select "Show or hide based on an expression" and put in the expression that resolves to true to hide the row, and false to show it.
    The HideDuplicates field that you are using is there to hide duplicating text and not entire rows. For example if you have:
    Value1
    5
    Value1
    15
    Value1
    20
    Value2
    10
    You would then get:
    Value1
    5
    15
    20
    Value2
    10
    I hope that helped.
    Regards,
    Andrew.

  • Appending empty rows in internal table

    Hi,
      i am using table control, where there is a condition, some row may left empty. end if i press enter button the empty row is filled by the next available record. My need is to pick the records in the table control to the internal table including the empty rows as it is.

    Hi Karthikeyan,
    By default with user pressinng enter, empty rows will get deleted.
    How are you populating your table control? Is it from standard transaction or your internal table?
    If it is from your internal table, you can add anothe flag field for empty row.
    Whenever row is empty in your internal table, mark flag field as 'X', so in the table control you these entries will not get vanished with pressing of enter.
    This is one idea and you can build on this. You can make this flag column as non editable so that no one can change these.
    hope this helps,
    ags.

Maybe you are looking for