FCC..how to remove first row

Hello experts,
I have configured a end to end sccenario fo csv files, Im using fcc for the sender file adapter
The first row has all the field names such as name,number and the rest of the rows have the values.
when I run the scenario the xml being formed has the field names and the vales..
example
<name>name</name>
<number>number</number>
<name>Teja</name>
<number>10</number>
what i want in the xml is just
<name>Teja</name>
<number>10</number>
could any one pls help me out on this?
I have used fieldNames,fielsSeparaor and ignorerecorstSetName as the content conversion parameters..
do i have to add any more?
Regards,
Teja

Hi,
You should achieve this by using Document Offset parameter on the Sender side.  Set Document Offset to 1 in order  to ignore the first line.
"●      Under Document Offset, specify the number of lines that are to be ignored at the beginning of the document.
This enables you to skip comment lines or column names during processing. If you do not make an entry, the default value is zero lines."
http://help.sap.com/saphelp_nw70/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm
Thanks,
Pooja

Similar Messages

  • How to display first row value returened from a query as checked as default in a report

    How to display first row value returned from a query as checked as default in a report
    Example
    Parameter 1
    Paramerter2
    ABD
    x(checked)
    Test
    DEF
    JMG
    Mudassar

    Hi Mudassar,
    The issue is caused by the order in which the parameters appear in the report data tab can be difference between our report execution and it failing. In other words, “Parameter2” is execution before parameter “A” due to this issue. We can adjust the parameter’s
    order to solve the issue.
    If “Parameter2” is parameter “A”, we cannot use that expression. Because fields cannot be used in report parameter expression, if we want to display the first value returned from a query as default value, we have to fill the “Specify values” text box with
    the specific value in Default Values dialog box.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • How to remove a row from JTable

    Hi!
    I'm used to remove rows from JTables getting the model and doing a removeRow(num) like this:
    ((DefaultTableModel)jTable1.getModel()).removeRow(0);
    But with ADF and JDeveloper the model says it's a JUTableBinding.JUTableModel but its not accessible.
    How to remove a row in Jdeveloper 10.1.3.4.0?

    Or maybe is just better to refresh data in the jTable but I do not know either like doing it.

  • How to remove the row entries

    HI,
    I have a row entry which contains radio button,dropdown,input field,calender.All the fields are dynamic
    All these fields(UI elements) are in one line and these are not in the table.If I add new entry(by clicking NEW ENTRY button),then a new row will be added dynamically with the same UI elements in the new row.Means every new row entry contains radio button,dropdown,input field,calender.
    Problem :- I want to delete one row entries.Means if I delete the 5th row entries,then it should remove all the UI elements(radio button,dropdown,input field,calender) from that 5th row entries only.
    I think I am clear about the requirement.
    Please suggest me how to remove a row entry.These UI elemenets are not table entry.
    Regards
    -Sandip

    Hi Sandeep,
    You can use the below code for deleting a row from table.
    int n = wdContext.nodeProducts().size();//size of node binded with table
    int leadSelected = wdContext.nodeProducts().getLeadSelection();
    // loop backwards to avoid index troubles
    for (int i = n - 1; i >= 0; --i)
    if (wdContext.nodeProducts().isMultiSelected(i) || leadSelected == i )
    wdContext.nodeProducts().removeElement(wdContext.nodeProducts().
    getElementAt(i))
    Hope this will help.
    Regards
    Narendra

  • How to make first row as selected in af:table

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my application.
    In all the pages across my application we have multi select enabled for the table[af:table].
    But when the pages are displayed,the first row is not selected by default.
    My requirement is to display first row as selected across all the tables in my app.
    I have the selectionListenerset as for example selectionListener="#{bindings.RSCMapVO2.collectionModel.makeCurrent}" in all the pages.
    Please suggest on how to make first row as selected.
    Regards,
    Praveen

    Hi
    Put these codes in your selection listner method(You have to define a selectionListner method in your backing bean and put this code segment
    (Special thanks go to Franks how posted this code segment. threadID=1089583)
    RichTable yourTable = (RichTable) selectionEvent.getSource();
    //the Collection Model is the object that provides the structured data
    //for the table to render
    CollectionModel yourTableModel = (CollectionModel) yourTable.getValue();
    //the ADF object that implements the CollectionModel is JUCtrlHierBinding. It
    //is wrapped by the CollectionModel API
    JUCtrlHierBinding yourTableBinding = (JUCtrlHierBinding) yourTableModel.getWrappedData();
    //Acess the ADF iterator binding that is used with ADF table binding
    DCIteratorBinding yourTableIteratorBinding = yourTableeBinding.getDCIteratorBinding();
    //the role of this method is to synchronize the table component selection
    //with the selection in the ADF model
    Object _selectedRowData = yourTable.getSelectedRowData();
    //cast to JUCtrlHierNodeBinding, which is the ADF object that represents
    //a row
    JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding) selectedRowData;
    //get the row key from the node binding and set it as the current row in the
    //iterator
    Key rwKey = nodeBinding.getRowKey();
    tableIteratorBinding.setCurrentRowWithKey(rwKey.toStringFormat(true));
    Thanks
    Padma

  • How to remove empty row from rfc table output.

    Hello,
      I am using adaptive rfc and printing table output. The table rows start from 2nd row, the first row being empty. How can I remove the empty first row.
    Here is what I tried.
    wdContext.nodeDataSource().nodeTableOutput().moveNext();
    and
    wdContext.nodeDataSource().nodeTableOutput().moveTo(1);
    Neither of them worked. Any clue is appreciated.
    Srinivas

    IWDNodeElement first = wdContext.nodeDataSource().nodeTableOutput().getElementAt(0);
    wdContext.nodeDataSource().nodeTableOutput().removeElement(first);
    Armin

  • How to remove a row from a rowset obtained via a CachedRowSetDataProvider

    I have a table filled from a database that it is bound to.
    I have the CachedRowSetDataProvider that supplies the rows.
    I want to remove a row from the result set and can't figure out how.
    There is a method ... removeRow(RowKey row).
    and there is a method ... getRowKey(java.lang.String rowId)
    How do I determine what the string id is for, say, row 3?
    thanks
    jim murray

    Thats the tutorial I am working with.
    My problem is that the statement tripDataProvider.refresh();
    executed when the person drop down changes doesn't seem to clearing the previous persons results.
    So I want to clear the rowset myself by deleting the rows individually.
    I can find a method to delete a row if I supply the RowKey.
    There is a method to get the rowkey if I know the RowID, which is a string.
    Unfortunately I dont know the string to use for an arbitrary row.
    There should be a simpler way to clear the data from a rowset.
    regards
    jim murray

  • How to remove a row from a rowset

    HI,
    I am trying to do a very simple thing, but I got stuck.
    The problem:
    I want to remove a row from a rowset, without removing the row itself. Especially I do not want to remove any entities.
    I need this functionality in several situations, for example when I want to move a row from one rowset to another.
    Another situation is when I have a viewlink not based on an association. When a row is modified so it does not fit to the viewlink's where clause anymore, I need a way to remove it manually (without removig any associated entities),
    I hope someon can help me on this,
    thanks,
    Frank

    Sascha:
    The only workaround I can think of is a true hack, and you'd be entering into a unchartered territory. But, it may be worth a try.
    First, you need to create a subclass of oracle.jbo.server.ViewObjectImpl in the oracle.jbo.server package. This is because you need to override one of the package private methods. Suppose you define oracle.jbo.server.TempBaseViewObjectImpl which extends ViewObjectImpl.
    Override the following method:
    int[] getDeleteParticipants()
    This method returns an array of EO bases for which ViewRow's delete should cause deletion of EntityRow's.
    So, before you remove a ViewRow, you should set some flag in your TempBaseViewObjectImpl, so that getDeleteParticipants() would return "new int[0];" This will cause no EntityRow's to be deleted. Only the ViewRow will be removed from the collection.
    Note that you should reset this flag after the operation, so that you can delete the EntityRow's (when necessary).
    Your real VO should then subclass TempBaseViewObjectImpl.
    Once we fix this problem and provide a real API, you should remove TempBaseViewObjectImpl and extend your real VO from ViewObjectImpl instead of TempBaseViewObjectImpl.
    Thanks.
    Sung

  • How to remove a row from a jtable with DefaultTableModel

    Hi to all,]
    I want to remove a row from jtable. I am using DefaultTableModel.
    I have got some example but every example is given with AbstractTableModel
    Please help me...
    Thanks and Regards

    I want to remove a row from jtable. I am using DefaultTableModel.How do you program without reading the API.
    The name of the method you use is "removeRow". How hard is that to find by reading the API?
    Not only do you not bother to read the API, you don't even bother to read and respond to your old postings when you get help:
    http://forum.java.sun.com/thread.jspa?threadID=5137773
    http://forum.java.sun.com/thread.jspa?threadID=5134667
    http://forum.java.sun.com/thread.jspa?threadID=5131162
    Your on your own in the future.

  • How to disable first row selection in a table

    Hi,
    I have three tables which have master child relationship. I need to enable a button for each table based on row selection of corresponding table.But first row is being selected automatically and the buttons are enabled.
    what should i do in order to avoid first row selection in a table.I tried by removing selected Row Keys.But still i am getting the same problem.can anyone suggest on this.
    Thank You,
    Sukumar

    I know a hack but I don't recommend it, anyway here it goes:
    Remove selected Row Keys
    Change selectionListener from the default and create a custom action listener (You can call the default one inside of it) (Tip: use makeCurrent function in this PDF
    This will make sure that there is no selected row highlighted for the first time, but it actually means that the first row is selected, it's just not shown.
    This method is tested with 11.1.1.7

  • How to remove the rows "1/Not Defined" in Layout BPS, using bps_wb

    Hi all! I have no much experience in SAP-BPS, but I have just created a layout using BPS and BPS WB.
    I have some trouble, and I expect you can help me. In the layout, I have a table with categories and subcategories, and I put hierarchies to view totals for each category. (and also, to collapse/expand for each category). But I have some problems, a row named "1/Not Defined" appears in each category. How can I do to remove this row??
    Thank you

    Hi Dirk,
    Thank you for you reply. I'm trying to do what you say, but an error message says:
    "Characteristic 'Category' does not contain the initial value in the selection". And In more detail says:
    "You set the indicator 'Planning in characteristic hierarchy' in planning layout 'SALES'. All characteristics of the lead column must contain the initial value in the selection in this mode. However, characteristic'Category' does not contain the initial value in the selection"
    So, I thinkk is not possible to exclude # value.
    Thanks,
    Xavi

  • How to Remove Checked Rows from JTable

    Hello All,
    I am currently working on a JTable, in which I have also include a JCheckbox. What i have to do is to remove all the Rows which are Checked in the JTable, when the 'Delete' button is clicked.
    Please tell me how i can this can be done, it will be of great help.
    Thanks,
    Shikha

    Loop through the TableModel, Use the getValueAt(...) method to find rows with a selected checkBox. Then use the removeRow(...) method of the DefaultTableModel to remove the row.
    Note: make sure your loop starts at the last row of the table and counts down to 0, to simplify the delete logic.

  • How to remove multiple rows from table

    Hi All,
    in my application iam using two tables,
    this is my code
    int selection = wdContext.nodeA().getLeadSelection();
    String num = wdContext.nodeA.geAAt(selection).getV_Num();
         for(int b=0;b<wdContext.nodeVn_Context().size();b++)
                                                      if(wdContext.nodeVn_Context().getVn_ContextElementAt(b).getVa_num().equalsIgnoreCase
                                                      (num))
                                                           wdContext.nodeVn_Context().removeElement(wdContext.nodeVn_Context().getVn_ContextElementAt(b));
    here Vn_Context is having 4 rows, i mean size of Vn_Context is 4. when i use this code to remove that 4 rows based on the condition, which i gave in if, its able to remove only one row, so how to remove those four rows,  is this code correct or not, please help me.

    Hi sushma,
    if you have 4 row then why should you give the condition for removing rrow..because when you gave condition the depends on your lead selection of getVa_num().so you will return perticullar row of getVa_num(). value of lad selection ..this would not match of other row value(getVa_num().so it will remove only that value of lead selection of getVa_num().
    better you remove taht condition.
    int selection = wdContext.nodeA().getLeadSelection();
    String num = wdContext.nodeA.geAAt(selection).getV_Num();
    for(int b=0;b<wdContext.nodeVn_Context().size();b++)
    //if(wdContext.nodeVn_Context().getVn_ContextElementAt(b).getVa_num().equalsIgnoreCase
    //(num))
    wdContext.nodeVn_Context().removeElement(wdContext.nodeVn_Context().getVn_ContextElementAt(b));
    no need to give the condition right now..
    if you want to remove multiselection row,i mean selected row for multiple then you select the row as per your  rows delete.
    for(int b=0;b<wdContext.nodeVn_Context().size();b++)
    if(lead==b || wdcontext.nodeVn_Context().isMultiselection(b){
    wdContext.nodeVn_Context().removeElement(wdContext.nodeVn_Context().getVn_ContextElementAt(b));
    this way you do solve your problem..
    thanks
    jjati

  • How to select first row of JTable by default

    Hi,
    I have a JTable with 5 rows.
    When the software starts, none of the rows are selected.
    I wish to keep the first row selected by default.
    How do I do it?
    I couldnt find any method like setSelectedRow() !!!
    Does anyone have a sample code plz?
    Thanks.
    Anuj

    couldnt find any method like
    setSelectedRow()You need to use getSelectionModel() first.
    Another way is to use:
    table.changeSelection(0, 0, false, false);

  • How to get first row in query output

    HI,
    query:
    select a.LOGIN,s2diq(a.created_t)
    from service_t a,account_t b
    where a.ACCOUNT_OBJ_ID0=b.POID_ID0
    and b.ACCOUNT_NO='80161001'
    and b.status =10100
    output of query:
    80161001     6/25/2011 2:00:43 AM
    80161001_1     10/16/2011 9:10:44 PM
    80161001_2     10/16/2011 9:36:02 PM
    80161001_3     10/16/2011 10:23:07 PM
    80161001_4     10/17/2011 9:41:34 PM
    80161001_5     10/17/2011 9:45:59 PM
    80161001_6     10/17/2011 10:26:27 PM
    how to get only first row only in quaery:
    Thanks
    Prakash
    Edited by: prakashdba on Apr 7, 2009 3:09 AM

    Then how about this
    select * from
         (select a.LOGIN,s2diq(a.created_t) secondcolumn
         from service_t a,account_t b
         where a.ACCOUNT_OBJ_ID0=b.POID_ID0
         and b.ACCOUNT_NO='80161001'
         and b.status =10100
         order by COLUMN_NAME) A
    where rownum=1;

Maybe you are looking for

  • I need help uploading from iTunes to iPod

    I just received the 60GB iPod for Christmas and I love it! I've figured out how to upload video and music and all that...but I don't want to store these giant video files on my computer just so that I can have them on the iPod. But I'm afraid that if

  • Question about the hardware installat

    I just picked up the Creative SoundBlaster X-Fi XtremeGamer, and upon [attempted] installation, I noticed a couple things that I didn't expect. First, I noticed a rather large "AUX IN" connector on the top side of the card. I did some research, and a

  • LJ Pro200 M251n not printing certain font sizes

    My new printer won't print text at certain font sizes using Word or Publisher 2010. Up to 60pt it's fine, but not 72, 100 or 120. However, it will print 240 pt. It will also print these text items from pdf. Is this a driver issue? I'm using PCL6 but

  • Cpu goes to 100%

    I can open itunes. I can not click on anything on the page without my cpu going to 100% and freezing my computer. If I type in an artist in the search I can sometimes look and purchase music. If I go to another artist my cpu goes to 100% and freezes.

  • Macbook is messing up entire house connection

    Hey guys, I got a macbook a couple of days ago and it is causing a major drop of internet connection around the whole house. If I turn on my macbook and connect to the internet, most of my other family members around the house lose connection after a