Multiline table binding only transfers one row after 4.6C to ECC6 upgrade

Good day everyone,
I have a workflow task binding that was working fine in our 4.6C system before our upgrade to ECC6.  Now when I run the workflow, I can see that a table in the container is only transferring one line in the binding to the next task.  I have verified that the first task successfully fills both lines of the table but the second line is lost when the container table is read from the next activity.
I have tried deleting and re-creating the bindings, thinking that perhaps something had changed in ECC6, but I still have the problem.  Once again, the code worked exactly as it should in 4.6C.
Does anyone have any thoughts or ideas?
Thank you in advance.
Geoff

Thanks Rick.
I do not attempt to pass the CURRENCYAMOUNT table back from the task that calls method POST.  I put a breakpoint in the method POST code and there is where I see that the container only passes the last line of the table.  Here's the code in SAP's standard POST method of BUS6035:
DATA: CURRENCYAMOUNT LIKE BAPIACCR09 OCCURS 0,
SWC_GET_TABLE CONTAINER 'CurrencyAmount' CURRENCYAMOUNT.
So my thought is that CURRENCYAMOUNT should have the two lines that are in the container.  Also, note that this was working exactly as I think it should in 4.6C and the only change to the workflow was the upgrade to ECC6.
Thanks again,
geoff

Similar Messages

  • My table lists only up one row at a time. dynamic don't work

    Hi!
    I have a table that consists of: ID, NAME, LINK and
    CONTENTID.
    It's 5 records in it at the moment.
    I create a recordset.
    I choose all (ID, NAME, LINK and CONTENTID).
    It only shows up ONE row. I mark the table and choose
    repeating behavior. I still only get up one row.
    I follow this tutorial:
    http://www.adobe.com/support/dreamweaver/building/users_delete_rcrds_php/users_delete_rcrd s_php03.html
    I use Dreamweaver CS3.
    Any good advice, cause I haven't got a clue.
    I've tried everything: the embassy, the German government,
    the consulate. I even talked to the U.N. ambassador. It's no use, I
    just can't bring my wife to orgasm.
    Marw

    Can't get it to work. But I start off with this:
    1.
    http://img521.imageshack.us/my.php?image=01tablexk1.png
    After I follow your instructions, and mark
    name I get this:
    http://img514.imageshack.us/my.php?image=02trselectedzg6.png
    But still I only get one post and have to use a Recordset
    navigation bar instead.
    Marw

  • Transfer purchases only transfers one app at a time

    I'm trying to back up my iPad in preparation for installing the new iOS, I'm transferring purchases first, but iTunes only transfers one app each time I click transfer purchases! This never used to happen, any idea how to stop it doing this, how do I transfer all the apps at once?
    Also, when I sync my iPad or iPhone, iTunes frequently moves the apps around on the screen of the iPhone/iPad, taking them out of folders etc, and re-installs ones I've deleted from the iPhone/iPad. How do I get it to stop doing this? I just want it to back up whatever is on the iPhone/iPad, not change it in any way.

    My iPhone4 and iPad2 are both doing this same thing (only transferring one app at a time). It is really frustrating because I purchase a lot of apps from my phone or ipad and it takes forever to keep clicking 'transfer purchases' over and over again for each individual app every time that I sync or update. It would be great if someone could figure out how I could enable it so that all of the apps transfer to the computer at once.
    Regarding the second part of your post, I've had that same problem before. When doing a sync, after backing up my iPhone/iPad, the apps are updated, and when the screen comes back all or most of the folders are missing and I have more apps than can fit in the display. Or sometimes it happens after upgrading the software or restoring it. After reading other posts about the same thing, I've found that doing a restore from your latest backup will usually restore all of your folders, too. The trick is that you might have to do the restore twice. Try to restore your phone from a backup and when it comes back, if the folders are still missing, do the restore one more time. I don't know why doing it the second time works, but it has worked for me on 3 separate occasions when nothing else would. I know that it is a pain to have to waste the time of doing an entire restore (especially if you have to do it twice), but it is less work than having to remember and recreate your folders from scratch.
    Message was edited by: bigdaddylongluv
    Message was edited by: bigdaddylongluv

  • How can I use table headers only without using rows.

    how can I use table headers only, without using rows and without leaving the space.
    If anyone could say me how to paste the pic in this questions, I would have shown it.
    The flow of view is in this way
    {Table header(table on top of table)
    column header1___|| column header2__ || column header3__ ||}
    <b>Here is the blank space I am getting, How to avoid this space?this space is of one table row height</b>
    {Contents column1 || Contents column2 || Contents column3 || (This is of other table below the uper table)}
    I am using scroll for the content part of table only.
    So I am using two tables.
    I am using NW04.

    I did the possibles you explained, but couldn't get rid off the space.
    Any other solutions?
    I am keeping the header static and the content columns scrollable.
    I have used two tables one to display header above and the other to display only the contents.
    I have put the contents table in scroll container.
    And the header table in transperent container.
    Thanks and Regards,
    Hanif Kukkalli

  • Edit Appraisals:  Notes only shows one row at a time

    Under the Employee Review tab of MSS-->Edit Appraisals, when I click to create an appraisal, the appraisal form in our system has areas to add notes.  However, in the portal, the area to add notes is only 1 row.  It is scrollable, but you can only see one row of text at a time.  How can I expand the notes area/editor to show multiple lines of text?

    Turns out the configuration is on the R/3 side when setting up the Appraisal.  There is an option for number of lines for notes.

  • Result Set only returning one row...

    When I run the following query in my program, I only get one row.
    SELECT * FROM (SELECT * FROM ul_common_log_event WHERE application_name = 'Configuration' ORDER BY cle_id DESC) WHERE ROWNUM <= 500;
    However when I run it in TOAD, I get all the rows I am looking for.
    Here's my java
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery(query);
    My record set only contain one row. I am using Oracle 9 OCI driver BTW.
    Any ideas? Thanks!

    Good thinking. That was the first thing I tried. That was not the problem. It turns out that I was stomping my rs object in another method. Problem resolved!
    Thanks for the reply!

  • HT1296 I'm trying to sync my Outlook Calendar to my ipad.  I did it once, but it only transferred one month.  How do I do it?

    I'm trying to sync my Outlook Calendar to my ipd.  I did it once when I first got my iPad (just 1 month ago), but it only transferred one month. I'm trying to sync all of my calendar.  How do I do that?

    WHen you have your iPad connected to iTUnes on your computer, navigate to the info page and scroll down. I know there's a 'how far back to sync' option (might n ot be those exact words). Perhaps you have it set for only one month?

  • Read from 2 tables, write only to one. Simple, but impossible??

    I've been messing about with various annotations for quite a while now, and I can't seem to figure out how to accomplish this seemingly simple task. I'm hoping somebody could explain to me the probably very obvious and simple mistake that I am making.
    I realize that question would otherwise point to problems in my database design and persistence strategy, but I can't seem to read from 2 tables, and write to only one. I have an entity bean that refers mainly to one table, but needs just one column of information from another table. It should not attempt to alter the secondary table, just join on it to get the one field it needs. So far, I've got the following:
    @Entity
    @Table(name = "ventureprofile")
    @SecondaryTable(name = "venture",
                    pkJoinColumns = @PrimaryKeyJoinColumn(name="ventureid"))
    @NamedQueries( {
            @NamedQuery(name = "Ventureprofile.findByVentureprofileid", query = "SELECT v FROM Ventureprofile v WHERE v.ventureprofileid = :ventureprofileid"),
            @NamedQuery(name = "Ventureprofile.findByVentureid", query = "SELECT v FROM Ventureprofile v WHERE v.ventureid = :ventureid"),
            @NamedQuery(name = "Ventureprofile.findByVenturesummary", query = "SELECT v FROM Ventureprofile v WHERE v.venturesummary = :venturesummary"),
            @NamedQuery(name = "Ventureprofile.findByLogoimagelocation", query = "SELECT v FROM Ventureprofile v WHERE v.logoimagelocation = :logoimagelocation"),
            @NamedQuery(name = "Ventureprofile.findByVisible", query = "SELECT v FROM Ventureprofile v WHERE v.visible = :visible ORDER BY v.venturename")
    public class Ventureprofile implements Serializable {
        @Id
        @GeneratedValue(strategy=GenerationType.AUTO, generator="Ventureprofile.ventureprofileid.seq")
        @SequenceGenerator(name="Ventureprofile.ventureprofileid.seq", sequenceName="ventureprofile_ventureprofileid_seq", allocationSize=1) 
        @Column(name = "ventureprofileid", nullable = false)
        private BigInteger ventureprofileid;      
        @Column(name = "ventureid", table="ventureprofile", nullable = false)
        private Long ventureid;
        @Column(name = "venturesummary")
        private String venturesummary;
        @Column(name = "logoimagelocation")
        private String logoimagelocation;
        @Column(name = "visible", nullable = false)
        private boolean visible;  
        @Column(table = "venture", name = "venturename", nullable=false, insertable=false, updatable=false)
        private String venturename;
    //... The extra column of data is "venturename", the tables are related by the column "ventureid". I contest, that since I have specified for read/write access no fields mapped to the 'venture' table (I specified with 'table=' any ambiguous columns), and described the table relationship via my @PrimaryKeyJoinColumn annotation, that toplink should not try to persist anything to the 'venture' table. However, I am getting the following exception:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: org.postgresql.util.PSQLException: ERROR: null value in column "venturename" violates not-null constraint
    Error Code: 0
    Call: INSERT INTO venture (ventureid) VALUES (?)
            bind => [220]
    Query: InsertObjectQuery(VCMarkWeb.db.entity.Ventureprofile[ventureprofileid=220])
            at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:311)
    ...It seems pretty clear that toplink is trying to insert an empty row into the secondary table, and barfing since it is inserting no values, including those constrained to be nonnull. Anyway...I hope it's clear what's going on here, and perhaps somebody knows the right way to do this. Thanks fot your help!

    Tom and Cornelius,
    Thank you both for your ideas. This what I think I will do:
    1) Drive up to OWC (fortunately they are only about 15 miles away from where I live) and get a bigger HD and some more RAM.
    2) Copy the OS9 applications on the existing HD to a thumb drive.
    3) Install the new hard drive and memory
    4) Install OSX TIger and 9.2.2
    5) Maybe do the 4.1.8 firmware update also, maybe.
    6) Look around for a Superdrive and if I can get one for a good price, I'll do it otherwise I'll just use USB thumb drives if I need to copy something off the PB.
    One thing that I was fighting with the other day was that when I had the yoyo power supply plugged in and attached when the PB was in the kitchen, the batteries would not charge although the yoyo was outputting +24 VDC.
    I move everything to the garage, where I originally fixed the yoyo power supply, plug it in out there and the batteries started charging!!! Scratching my head...then I check the voltage between the metal barrel (with the Vsensing resistor attached between the metal shell and the ground wire) of power supply plug and the +24 VDC wire and there is 22 to 23 VDC with the batteries being charged. In the kitchen when they were not being charged, it was about 1.0 VDC. So I rotate the plug a little bit and the batteries start charging. Rotate it more and the batteries don't charge. Something else to do when I have spare time.
    Anyway, thanks for the help and suggestions.
    John

  • Repeater for XML datasource only showing one row

    Hello.
    I'm having a problem displaying multiple rows of data from an XML document in
    a
    jsp net-ui:repeater section. The database call seems to be working fine, the
    XML seems to be
    put together fine, and the XML document's getting to the jsp via the request.
    But, only one
    row of data (the first row) shows up.
    My .xsd defines TblCompany. TblCompanyDocument was created by Workshop in the
    XMLBeans generation.
    Advice/guidance/assistance would be much appreciated.
    Thanks.
    -eric-
    Following is in my dataControlImpl.jcs file. It returns seven rows.
    * @common:operation
    public TblCompanyDocument listCompany() throws SQLException
    RowSet company = db.listCompany();
    TblCompanyDocument xmlDoc = TblCompanyDocument.Factory.newInstance();
    TblCompany xml;
    while (company.next())
    xml = xmlDoc.addNewTblCompany();
    xml.setCompanyId(company.getInt("company_id"));
    xml.setCompanyName(company.getString("company_name"));
    xml.setWebAddress(company.getString("web_address"));
    xml.setUpdateBy(company.getString("update_by"));
    xml.setUpdateDt(new XmlCalendar(company.getDate("update_dt")));
    company.close();
    return xmlDoc;
    Following is in my companyController.jpf. It is used to get the results from
    my
    dataControlImpl in the form of an XML document, place them into a request attribute,
    and
    pass them on to the index.jsp page as a list of companies to choose from. I've
    verified that,
    at this point, var has seven rows of data in it.
    * Action encapsulating the control method :listCompany
    * @jpf:action
    * @jpf:forward name="success" path="index.jsp"
    * @jpf:catch method="exceptionHandler" type="Exception"
    public Forward listCompany()
    throws Exception
    TblCompanyDocument var = myControl.listCompany();
    getRequest().setAttribute( "results", var );
    return new Forward( "success" );
    Following is in my index.jsp. I've verified that, at this point, the request
    has an attribute called
    results, and it has the XML document with seven 'rows' of tblCompany in it.
    <netui-data:repeater dataSource="{request.results.tblCompany}">
    <netui-data:repeaterHeader>
    <table cellpadding="2" border="1" class="tablebody" >
    <tr>
    <td>ID</td>
    <td>Name</td>
    <td>Web Address</td>
    <td>Update By</td>
    <td>Update Date</td>
    </tr>
    </netui-data:repeaterHeader>
    <netui-data:repeaterItem>
    <tr>
    <td><netui:label value="{container.item.companyId}"></netui:label></td>
    <td><netui:label value="{container.item.companyName}"></netui:label></td>
    <td><netui:label value="{container.item.webAddress}"></netui:label></td>
    <td><netui:label value="{container.item.updateBy}"></netui:label></td>
    <td><netui:label value="{container.item.updateDt}"></netui:label></td>
    </tr>
    </netui-data:repeaterItem>
    <netui-data:repeaterFooter></table></netui-data:repeaterFooter>
    </netui-data:repeater>

    Well, I get to answer my own question (thanks to a friend). Perhaps this will
    help someone
    else.
    The problem seemed to be in the repeater datasource. When Workshop created the
    {pageFlow.allRows} property for me, instead of referring to the subordinate XML
    structure as
    the name I gave it, it tacked on an ...Array suffix, like:
    * allRows
    * tblCompanyRowSet
    f() tblCompanyArray
    I did modify my XML structure during my debugging, and am now afraid to undo it.
    Nonetheless, here's how it looks now:
    <xs:element name="tblCompany">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="company_id" type="xs:int"/>
    <xs:element name="company_name" type="xs:string"/>
    <xs:element name="web_address" type="xs:string"/>
    <xs:element name="update_by" type="xs:string"/>
    <xs:element name="update_dt" type="xs:date"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="tblCompanyRowSet">
    <xs:complexType>
    <xs:choice maxOccurs="unbounded">
    <xs:element ref="tblCompany"/>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    And, here's how my repeater code now looks. It works fine. The other scenario
    that probably
    would've worked with my first newsgroup post would to not have created a tblCompanyRowSet
    XML structure, and just made the dataSource={pageFlow.allRows.tblCompanyArray}.
    <netui-data:repeater
    dataSource="{pageFlow.allRows.tblCompanyRowSet.tblCompanyArray}">
    <netui-data:repeaterHeader>
    <table cellpadding="2" border="1" class="tablebody" >
    <tr>
    <td>companyId</td>
    <td>companyName</td>
    <td>webAddress</td>
    <td>updateBy</td>
    <td>updateDt</td>
    </tr>
    </netui-data:repeaterHeader>
    <netui-data:repeaterItem>
    <tr>
    <td><netui:label value="{container.item.companyId}"></netui:label></td>
    <td><netui:label value="{container.item.companyName}"></netui:label></td>
    <td><netui:label value="{container.item.webAddress}"></netui:label></td>
    <td><netui:label value="{container.item.updateBy}"></netui:label></td>
    <td><netui:label value="{container.item.updateDt}">
    <netui:formatDate pattern="MM/dd/yy: HH:mm z"></netui:formatDate>
    </netui:label></td>
    </tr>
    </netui-data:repeaterItem>
    <netui-data:repeaterFooter></table></netui-data:repeaterFooter>
    </netui-data:repeater>

  • Changing background color in JTable, only changes one row at a time...

    I'm trying to change the color of rows when the 5th column meets certain criteria. I think I'm very close, but I've hit a wall.
    What's happening is the row will change color as intended when the text in the 5th column is "KEY WORD", but when I type "KEY WORD" in a different column it will set the first row back to the regular colors. I can easily see why it's doing this, everytime something is changed it rerenders every cell, and the listener only checks the cell that was just changed if it met the "KEY WORD" condition, so it sets every cell (including the previous row that still meets the condition) to the normal colors. I can't come up with a good approach to changing the color for ALL rows that meet the condition. Any help would be appreciated.
    In this part of the CellRenderer:
            if (isSelected)
                color = Color.red;
            else
                color = Color.blue;
            if (hasFocus)
                color = Color.yellow;
            //row that meets special conditions
            if(row == specRow && col == specCol)
                color = color.white; I was thinking an approach would be to set them to their current color except for the one that meets special conditions, but the two problems with that are I can't figure out how to getColor() from the table, and I'm not sure how I would initially set the colors.
    Here's the rest of the relevant code:
        public void tableChanged(TableModelEvent e)
            int firstRow = e.getFirstRow();
            int lastRow  = e.getLastRow();
            int colIndex = e.getColumn();
            if(colIndex == 4)
                String value = (String)centerTable.getValueAt(firstRow, colIndex);
                // check for our special selection criteria
                if(value.equals("KEY WORD"))
                    for(int j = 0; j < centerTable.getColumnCount(); j++)
                        CellRenderer renderer =
                            (CellRenderer)centerTable.getCellRenderer(firstRow, j);
                        renderer.setSpecialSelection(firstRow, j);
    import javax.swing.table.*;
    import javax.swing.*;
    import java.awt.Component;
    import java.awt.Color;
    public class CellRenderer extends DefaultTableCellRenderer
        int specRow, specCol;
        public CellRenderer()
            specRow = -1;
            specCol = -1;
        public Component getTableCellRendererComponent(JTable table,
                                                       Object value,
                                                       boolean isSelected,
                                                       boolean hasFocus,
                                                       int row, int col)
            setHorizontalAlignment(JLabel.CENTER);
            Color color = Color.green;
            if (isSelected)
                color = Color.red;
            else
                color = Color.blue;
            if (hasFocus)
                color = Color.yellow;
            if(row == specRow && col == specCol)
                color = color.white;
            //setForeground(color);
            setBackground(color);
            setText((String)value);
            return this;
        public void setSpecialSelection(int row, int col)
            specRow = row;
            specCol = col;
    }If I'm still stuck and more of my code is needed, I'll put together a smaller program that will isolate the problem tomorrow.

    That worked perfectly for what I was trying to do, but I've run into another problem. I'd like to change the row height when the conditions are met. What I discovered is that this creates an infinite loop since the resizing triggers the renderer, which resizes the row again, etc,. What would be the proper way to do this?
    Here's the modified code from the program given in the link. All I did was declare the table for the class, and modify the if so I could add the "table.setRowHeight(row, 30);" line.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.border.*;
    public class TableRowRenderingTip extends JPanel
        JTable table;
        public TableRowRenderingTip()
            Object[] columnNames = {"Type", "Company", "Shares", "Price", "Boolean"};
            Object[][] data =
                {"Buy", "IBM", new Integer(1000), new Double(80.5), Boolean.TRUE},
                {"Sell", "Dell", new Integer(2000), new Double(6.25), Boolean.FALSE},
                {"Short Sell", "Apple", new Integer(3000), new Double(7.35), Boolean.TRUE},
                {"Buy", "MicroSoft", new Integer(4000), new Double(27.50), Boolean.FALSE},
                {"Short Sell", "Cisco", new Integer(5000), new Double(20), Boolean.TRUE}
            DefaultTableModel model = new DefaultTableModel(data, columnNames)
                public Class getColumnClass(int column)
                    return getValueAt(0, column).getClass();
            JTabbedPane tabbedPane = new JTabbedPane();
            tabbedPane.addTab("Alternating", createAlternating(model));
            tabbedPane.addTab("Border", createBorder(model));
            tabbedPane.addTab("Data", createData(model));
            add( tabbedPane );
        private JComponent createAlternating(DefaultTableModel model)
            JTable table = new JTable( model )
                public Component prepareRenderer(TableCellRenderer renderer, int row, int column)
                    Component c = super.prepareRenderer(renderer, row, column);
                    //  Alternate row color
                    if (!isRowSelected(row))
                        c.setBackground(row % 2 == 0 ? getBackground() : Color.LIGHT_GRAY);
                    return c;
            table.setPreferredScrollableViewportSize(table.getPreferredSize());
            table.changeSelection(0, 0, false, false);
            return new JScrollPane( table );
        private JComponent createBorder(DefaultTableModel model)
            JTable table = new JTable( model )
                private Border outside = new MatteBorder(1, 0, 1, 0, Color.RED);
                private Border inside = new EmptyBorder(0, 1, 0, 1);
                private Border highlight = new CompoundBorder(outside, inside);
                public Component prepareRenderer(TableCellRenderer renderer, int row, int column)
                    Component c = super.prepareRenderer(renderer, row, column);
                    JComponent jc = (JComponent)c;
                    // Add a border to the selected row
                    if (isRowSelected(row))
                        jc.setBorder( highlight );
                    return c;
            table.setPreferredScrollableViewportSize(table.getPreferredSize());
            table.changeSelection(0, 0, false, false);
            return new JScrollPane( table );
        public JComponent createData(DefaultTableModel model)
            table = new JTable( model )
                public Component prepareRenderer(TableCellRenderer renderer, int row, int column)
                    Component c = super.prepareRenderer(renderer, row, column);
                    //  Color row based on a cell value
                    if (!isRowSelected(row))
                        c.setBackground(getBackground());
                        String type = (String)getModel().getValueAt(row, 0);
                        if ("Buy".equals(type)) {
                            table.setRowHeight(row, 30);
                            c.setBackground(Color.GREEN);
                        if ("Sell".equals(type)) c.setBackground(Color.YELLOW);
                    return c;
            table.setPreferredScrollableViewportSize(table.getPreferredSize());
            table.changeSelection(0, 0, false, false);
            return new JScrollPane( table );
        public static void main(String[] args)
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
        public static void createAndShowGUI()
            JFrame.setDefaultLookAndFeelDecorated(true);
            JFrame frame = new JFrame("Table Row Rendering");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.add( new TableRowRenderingTip() );
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
    }Edited by: scavok on Apr 26, 2010 6:43 PM

  • Worklist table ponits to the first row after copy row

    Hi experts,
    We have installed ESS BP 1.41 into EP version 7.02. Now we found one issue in the ESS Working Time application screen.
    The screen has an option of copying rows from Worklist Table on top to the bottom table having Weekly/Daily view.
    The problem is if we choose recoreds from the top table and press the button 'Copy Rows' the table gets re-sorted and again points to the first row.
    When there are hundreds of entries in that table, it becomes difficult for the user to see the rows selected for copy immediately after pressing the Copy Rows button.
    Can anyone help to stop this sorting.
    Regards
    Arindam

    Hi Siddharth,
    many thanks for your reply. One doubt in BP 1.41, it is a WD java application, but the note you suggested, talks about the Ehp5 version which is in WD abap. Can you please re check and confirm.
    Regards
    Arindam

  • Sap.m.Table generating first two blank rows after adding more rows.

    Hi everyone,
                          I am stucked in a very bad condition the problem is with the table rows and columns. I am generating dynamic table columns and rows based on searched unit so whenever i am searching i created a function for initializing the table rows and columns i am looping the array for whatever the size of rows and columns it will display up to 5. My issue is with the request going is adding more times then the required one. So if anyone can check for the solution. Only problem is my data is generated correct but next time i call this method again it is hiding the first 2 rows.
    function initializeGrid() {
        if (SHOPFLOOR_DCS_UNIT_KEY != null) {
            var dcsComboBox = sap.ui.getCore().byId("selectDCSName");
            var dcsName = dcsComboBox.getValue();
            var viewData = {};
            viewData.EntityName = "DataCollectionSetAttribute";
            viewData.Condition = [{ColumnName : "DcsName",Value :dcsName}];
            viewData.Projection = {AttributeName:true,AttributeType:true,Length:true,Precision:true,LowerLimit:true,
                    UpperLimit:true,DefaultValue:true };
            $
            .ajax({
                type : "POST",
                url : "/demo/xsds/designer/SelectByQueryService.xsjs",
                contentType : "application/json",
                data : JSON.stringify(viewData),
                dataType : "json",
                success : function(data) {
                    /*dcDataTable.unbindItems();
                    dcDataTable.removeAllItems();
                    dcDataTable.removeAllColumns();*/
                    var dcsCols = data;
                    if (data != null
                            && data.length > 0) {
                        var firstColumn = [{
                            "AttributeName": "SerialNumber",
                            "ModifiedAttributeName": "SerialNumber"
                        for (var index = 0; dcsCols.length > index; index++) {
                            var currentRow = dcsCols[index];
                            if (currentRow.AttributeName != null
                                    && currentRow.LowerLimit != null
                                    && currentRow.UpperLimit != null) {
                                dcsCols[index].ModifiedAttributeName = currentRow.AttributeName
                                + "["
                                    + currentRow.LowerLimit
                                    + " - "
                                    + currentRow.UpperLimit
                                    + ","
                                    + "Def:"
                                    + currentRow.DefaultValue
                                    + "]";
                                firstColumn
                                .push(dcsCols[index]);
                            } else if (currentRow.AttributeName != null) {
                                dcsCols[index].ModifiedAttributeName = currentRow.AttributeName
                                + "["
                                    + "Def:"
                                    + currentRow.DefaultValue
                                    + "]";
                                firstColumn
                                .push(dcsCols[index]);
                            if (currentRow.AttributeType != null
                                    && currentRow.AttributeType == "LocalDate")
                                dateAttributes[dateAttributes.length] = currentRow.AttributeName;
                        dcsCols = firstColumn;
                        runtimeDCS = dcsCols;
                        console.log("dcsCols", dcsCols);
                        var viewData = {};
                        viewData.EntityName = dcsName;
                        viewData.Cmd="GET";
                        viewData.UnitKey=SHOPFLOOR_DCS_UNIT_KEY;
                        $.ajax({
                            type : "POST",
                            url : "/demo/xsds/designer/AddOrRemoveDCSDataService.xsjs",
                            contentType : "application/json",
                            data : JSON.stringify(viewData),
                            dataType : "json",
                            success : function(data) {
                                console.log("dcsVals"+
                                        JSON.stringify(data)+data.length);
                                dcDataTable.removeAllColumns();
                                for (var i = 0; i < data.length; i++) {
                                    for (key in data[i]) {
                                        var textValue = data[i][key];
                                        if (typeof textValue !== "object"
                                                && typeof textValue === "string"
                                                && textValue
                                                .indexOf("/Date(") > -1) {
                                            var startIndex = textValue
                                            .indexOf("(");
                                            var endIndex = textValue.indexOf(")");
                                            var tempValue = textValue.substring(startIndex + 1,endIndex);
                                            var tempDate = new Date(parseInt(tempValue));
                                            data[i][key] = tempDate.toDateString();
                                dcsModel.setData({dcsRows : data});
                                sap.ui.getCore().setModel(dcsModel);
                                var columnList = new sap.m.ColumnListItem();
                                dcDataTable.bindItems({
                                    path: "/dcsRows/",
                                    template: columnList,
                                for (var i = 0; i < dcsCols.length && i<5; i++) {
                                    dcDataTable.addColumn(new sap.m.Column({
                                        header : new sap.m.Label({
                                            text : dcsCols[i].ModifiedAttributeName
                                    columnList.addCell(new sap.m.Text({
                                        text : {
                                            path : dcsCols[i].AttributeName
                                clearItems();
                            },error : function(response) {
                                console.log("Request Failed==>",response);
                                if (response.responseText.indexOf('<html>') == -1)
                                    console.log(JSON.stringify(response.responseText));
                                else
                                    console.log("Invalid Service Name");
                },error : function(response) {
                    console.log("Request Failed==>",response);
                    if (response.responseText.indexOf('<html>') == -1)
                        console.log(JSON.stringify(response.responseText));
                    else
                        console.log("Invalid Service Name");
        else {
            console.log("Data not found!!!");

    No, even with the select box gone the table still doesn't show the last two rows, so this seems indeed be irrelevant to the question.
    Best Regards,
    S.
    ***update***
    I tried to create a simple case in which the same strange behavior occurs but I can't seem to reproduce it. The table that produces the two blank rows is part of a complex application and I tried to extract enough of it for a simple test case that behaves the same way but I can't manage to do that. I guess that once I have the behavior I will also know what causes it.
    It seems that the iterator is set to rangesize 10 but the table rests on rangesize 12, when I looked at other tables in the application it seems that if I want to set the rangesize from 57 to 50, it remains on 57.
    Can anyone help me with either this limited info or otherwise instruct me to get more info ?
    Best Regards,
    S.
    Edited by: matdoya on Dec 1, 2008 5:51 AM

  • How to configure OC4J to force the access only to one page after the log in

    Hi,
    I want to know how could I force the access to only one page of the web application when the user first time accesses.
    I don't want to use session. Is there another way, say by configuring the OC4J configuration files?
    Thanks

    Hi,
    you can write a servlet filter for the we application that checks if the accessed page is the login page and if not of the login page was accessed before
    Frank

  • HT1423 My imac G5 only recognizes one slot after installing 2x2 GB ram

    My mac is a early 2009 model running 10.7 software. I realized it was running pretty slow so i decided to upgrade the ram from 2GB to 4GB. After installing it, i checked my memory and it recognizes one slot and not the other.

    I swapped them and it showed that the other slot did not recognize it either.
    Its the correct RAM for my computer, I contacted the seller and hopefully they would send me another. Thank you!

  • Since loading the new update, my downloads only display one page after the Quicktime Player symbol is shown.

    I often access published papers from our university library. Since I updated Firefox, the QuickTime Player icon displays on my Mac, the papers load properly, but only the first page is displayed. If I copy the full URL from the Mozilla address line into another browser, the full article is loaded with that browser. Can you help, please. Firefox is my FAVORITE browser, but lately is causing me problems. Thank you.

    Totally agree with this post. I like my swr30 a lot less now. Some ideas of the updates are good, but the execution is poorly and unusable. How do you do a roll back as you mentioned?

Maybe you are looking for

  • IWeb link to folder and enclosed files

    I have several student projects that they published to a folder using iWeb, and saved to folders using other HTML editors(BBEdit, NVu). These are now on my local drive. What I want to do is to make a link from my iWeb page to their work. I need to kn

  • Dynamic prefix of schema name in PL/SQL objects

    I have a requirement where schema name would be passed as a parameter to the procedure and I am supposed to write some DML statements on some of the fixed tables. The table names are common among any schemas, but then only the schema names change. Th

  • Confusing issue relating to javac

    Hi all, I have 2 files: A.java and B.java in foo/test/xcom with content as following: A.java: package xcom; public class A {} B.java package xcom; public class B extends A {} Now, I use javac to compile it. ** 1st try: set current directory to "xcom"

  • Different song counts on iTunes & iPhone(?)

    Greetings;      I've been noticing a difference between the synched song counts that are displayed in iTunes/Devices on the "Music" tab, and the actual number of songs that are on my iPhone. Any idea why this is?

  • Incremental Numbering for File Names

    I've been trying to wrap my head around this problem all day. So I've found two very helpful scripts on this forum: here and here. The second one works, but I'd like to be able to direct where the files are saving to and I'd like to save them as .tif