Unable to read last column in FCC

Hi Experts,
I have a simple fcc to bapi scenario....
I have two questions
Firstly ..what is the limit on the number of fields , I mean number of columns in the input file????
Secondly.. Im facing a strange issue where the last column is not being read if it empty , and being read (as i see it in comm channel monitoring) only when it has a value...
Pls share ur thoughts

Hi Teja,
> Firstly ..what is the limit on the number of fields , I mean number of columns in the input file????
There is no limit, you can use any number of fields based on your requirements.
> Secondly.. Im facing a strange issue where the last column is not being read if it empty , and being read (as i see it in comm >channel monitoring) only when it has a value...
If you want to read that fields always(if value is there or not) then in the mapping use map with default node function.
More info check this link
http://help.sap.com/saphelp_srm40/helpdata/ru/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards
Ramesh

Similar Messages

  • Unable to read BLOB column

    Hi,
    I want to read data in text format from the BLOB column
    XML_col is the column with BLOB datatype in TEST table.
    select BLOB2VARCHAR(XML_col) from TEST;
    I created BLOB2VARCHAR function to convert from BLOB to Varchar.
    CREATE OR REPLACE FUNCTION TEST_fnc (html IN BLOB)
    RETURN VARCHAR2
    IS
    tmpvar NUMBER;
    tmpchr VARCHAR2 (4000);
    BEGIN
    tmpchr := UTL_RAW.cast_to_varchar2 (DBMS_LOB.SUBSTR (html, 4000, 1));
    tmpchr := SUBSTR (tmpchr, 1, 4000);
    RETURN tmpchr;
    EXCEPTION
    WHEN OTHERS
    THEN
    RETURN NULL;
    END blob2varchar;
    I am getting output as ’
    Which i guess is wrong.

    Hi,
    This will print your output character by character
    Try this and let me know
    DECLARE
       v_read_bytes  BINARY_INTEGER;
       v_pos         INTEGER;
       v_blob_len    INTEGER;
       v_buffer      RAW(200);
       v_file_data   fnd_lobs.file_data%TYPE;
    BEGIN
             SELECT file_data
               INTO v_file_data
               FROM fnd_lobs
              WHERE file_id = 121708;
             v_blob_len    := DBMS_LOB.getLength (v_file_data);
             v_pos         := 0;
             v_read_bytes  := 1;
             WHILE v_pos <= v_blob_len
             LOOP
                v_pos         := v_pos +  1;
                DBMS_LOB.read (v_file_data, v_read_bytes, v_pos, v_buffer);
                DBMS_OUTPUT.PUt_line(utl_raw.cast_to_varchar2(v_buffer));
             END LOOP;
    END;

  • Unable to filter the report by clicking the last column's name

    Hi,
    I have interactive report page having lots of column. All columns were not fitting in the screen so I added a code in the region--- header and footer section---
    <div style="overflow: auto; width: 1220px; height: 700px;">
    I got a scroll bar at the bottom. But a new problem arised. When I am trying to filter the report by clicking the column name in the report page , a popup is opening for the first column but the pop up is not opening for the last column. For the middle columns, the popup is opening but not below its name. This pop is for filtering the report based on that columns.
    Please give some idea to fix this bug.
    Thanks,
    Chandra Bhanu

    You could try to display as many columns as fit your screen, and put the rest of your columns as form fields in a detail view, somewhat like this:
    http://apex.oracle.com/pls/apex/f?p=vincentdeelen:report_details_in_iframe_v1
    Please tell the steps how to do it.
    Thanks,
    Chandra Bhanu

  • Total Last Cell from last row, last column into another table

    What I'm trying to do is create a sum in a final table that will add together all the last cell Sums in the last column, last row from all Ten tables.
    Example of where I want to get the information from:
    I know I could use something like this *=SUM(Table 1 :: K45,Table 2 :: D9)* but in the future I want to be able to add extra rows in the Ten tables and therefore have the final table calculate the last cell without having to manualy change the cell numbers in the Sum.
    Message was edited by: Pongify

    Pongify wrote:
    Your "Bingo" solution worked a treat, now with Ten tables do I have to put the code in the last table cell Ten times changing the table number on each?
    Yes you have, the last table is perfectly unable to guess from which table it must grab datas.
    CAUTION There is an oddity which I call a bug.
    If you rename one of the table from which you grab datas, the two first occurences (in bold) in the formula will be adjusted accordingly but the 3rd one will not (the underlined one).
    =INDIRECT(ADDRESS(ROWS( *Tableau 1* :: A),COLUMNS( *Tableau 1* :: 1:1),,,"_Tableau 1_"))
    My guess is that the designers forgot that this "string" has exactly the same status as the first two occurences. Of course it's reported to Apple but at this time, we have to live with it.
    Here is a slightly modifier formula:
    =INDIRECT(ADDRESS(ROWS(Tableau 1 :: A),COLUMNS(Tableau 1 :: $1:$1),,,"Tableau "&ROW()))
    I replaced 1:1 (in the COLUMNS operand) which was modified during the fill down process by $1:$1 which remains unchanged.
    As I am lazy, I modified the last reference to the tables so it is automatically adjusted during the fill down process (my tables are named Tableau 1 thru Tableau 10).
    Yvan KOENIG (from FRANCE dimanche 6 juillet 2008 16:27:30)

  • How to get the last column info of the given table

    Hi All,
    I want to get the last column information like :
    column name, datatype of the last column in the given
    table use PL statement. Please help.
    Thanks,
    JP

    SCOTT@orcl SQL> desc emp
    Name                                                  Null?    Type
    EMPNO                                                 NOT NULL NUMBER(4)
    ENAME                                                          VARCHAR2(10)
    JOB                                                            VARCHAR2(9)
    MGR                                                            NUMBER(4)
    HIREDATE                                                       DATE
    SAL                                                            NUMBER(7,2)
    COMM                                                           NUMBER(7,2)
    DEPTNO                                                         NUMBER(2)
    SCOTT@orcl SQL> select column_name, data_type from user_tab_columns
      2  where table_name = 'EMP'
      3  and column_id = (select max(column_id) from user_tab_columns
      4  where table_name = 'EMP');
    COLUMN_NAME                    DATA_TYPE
    DEPTNO                         NUMBER
    SCOTT@orcl SQL>                                                                      

  • Finder in column view has no expander divider on the last column

    I deal with a lot of graphics on my computer and I have a lot of subfolders. While in finder in column view there is no expanding divider for the last column when it is showing a graphic. When I first open a photo or graphic in finder the last column shows the graphic smaller than regular size. In SL there was a column divider to expand only that last column so I could make the graphic larger to see it better. Now in Lion there is no divider on the right side of that last column to expand the last column where the grahic is showing. In order for it to finally expand I have to drag the right side of the Finder window all the way across my display until the bottom slider bar disappears and then that last column will expand. This is frustrating having to have my Finder all across my display just to get the graphic larger.
    Is there a way to get an expander divider to show up for the last column when viewing a graphic in column view? I know I can click on the "eye" icon to see it, but the column view will expand the graphic larger than 100% so I can see more details.
    Thanks for any and all help.
    Connie

    Yes, that is how my whole finder window expands across my display until the bottom slider bar disappears....then and only then does the last column expand. I have to have open as many as 8 columns to get to my graphic. Keeping the Finder window to a smaller size and using the bottom slide bar to navigate to the far right column is nice, but all I want is that far right column where my graphic is showing to expand so I can see it better.
    Thanks but what you suggest only resizes the whole Finder window until it can expand no further, then the last column expands the graphic. But then my whole display is a huge Finder window.

  • Table Control + last column

    Hello Friends,
    i am facing a strange problem. I have created a table control using table control wizard. when I enter the values in table control select the entry and press okey button everything works fine. then I gave the program to user for test, and he came back with following issue:
    He entred the data in the table control, and then he press the enter button. then he went to the last column and change the value, press again enter button, the value overwrite again ( which he has entered before ).
    I went in debug mode to see what is going on, and surpringly while entring the value in the last column I press enter the control did not went to my module "Z_TAB_CTRL_modify input." rather it went in user_command. module.... and that's why it did not updated the value after user change in last column....
    Any idea what I can do to fix this issue...
    Regards,

    Hi,
    CHAIN.
    ENDCHAIN. 
    Effect
    The statements CHAIN and ENDCHAIN of the dynpro flow logic define processing chains. Between CHAIN and ENDCHAIN, the statements FIELD and MODULE can be executed. The statements between CHAIN and ENDCHAIN form a processing chain. Processing chains cannot be nested. The CHAIN statement can be specified in the event blocks at PAI and PBO , however, in the event block at PBO it has no effect.
    <b>A processing chain allows the joint processing of all the screen fields stated between CHAIN and ENDCHAIN after FIELD statements:</b>
    The contents of all screen fields combined to a processing chain by the FIELD statements can be checked in the shared conditions ON CHAIN-INPUT and ON CHAIN-REQUEST of the MODULE statement.

  • Problem with attachtment XLS (last column of the xls)

    Hi,
    iam working on interface in which i will be sending an email along with attachtment where my email along with attachtment are working perfectly ,the problem is with the XLS where the last column of the XLS is taking 255 char which is the length of the field .
    How i have to  restrict it ?
    solution on this would be helpfull .
    Thanks ,
    shankar.
    I have attached the sample code too.
    FUNCTION zemail_send_attachment.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(EMAILID)
    *" VALUE(SUBJECT)
    *" VALUE(ATYPE)
    *" TABLES
    *" ATTACH_FILE STRUCTURE SOLISTI1
    *" BODY OPTIONAL
    This table requires information about how the data in the
    tables OBJECT_HEADER, CONTENTS_BIN and CONTENTS_TXT are
    to be distributed to the documents and its attachments.
    DATA objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
    This table must contain the summarized data dependent on each object type.
    SAPscript objects store information here about forms and styles,
    for example. Excel list viewer objects store the number of rows and columns
    amongst other things and PC objects store their original file name.
    DATA objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
    This table must contain the summarized content of the objects identified as binary objects.
    DATA objbin TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
    WITH HEADER LINE.
    This table must contain the summarized content of the objects identified as ASCII objects.
    DATA objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    This table must contain the document recipients.
    DATA reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE .
    This structure must contain the attributes of the document to be sent.
    DATA: doc_ching LIKE sodocchgi1.
    DATA: tab_lines LIKE sy-tabix.
    Create the internal table for body , subject
    DATA: it_body LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    CONSTANTS: con_cret TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
    con_tab TYPE c VALUE cl_abap_char_utilities=>cr_lf.
    Move Body to Internal Table (body into it_body)
    LOOP AT body .
    MOVE body TO it_body .
    APPEND it_body .
    ENDLOOP.
    doc_ching-obj_descr = subject. "Subject of the Email
    Move the Subject and Body to OBJTXT
    objtxt[] = it_body[].
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    doc_ching-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'RAW'.
    APPEND objpack.
    Convert IT to Excel format
    IF atype = 'XLS' .
    LOOP AT attach_file .
    REPLACE ALL OCCURRENCES OF '#' IN attach_file WITH con_cret ."INTO objbin.
    IF sy-tabix = 1.
    MOVE attach_file TO objbin.
    ELSE.
    CONCATENATE con_tab attach_file INTO objbin.
    ENDIF.
    APPEND objbin.
    ENDLOOP.
    ELSEIF atype = 'TXT' .
    Convert IT to Text format
    LOOP AT attach_file .
    REPLACE ALL OCCURRENCES OF '#' IN attach_file WITH con_cret. " INTO objbin.
    CONCATENATE attach_file con_tab INTO objbin .
    APPEND objbin .
    ENDLOOP.
    ENDIF.
    DESCRIBE TABLE objbin LINES tab_lines.
    objhead = subject. APPEND objhead.
    Creating the entry for the compressed attachment
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num = 1.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    IF atype = 'XLS'.
    objpack-doc_type = atype.
    ELSEIF atype = 'TXT'.
    objpack-doc_type = 'RAW'.
    ENDIF.
    objpack-obj_name = 'ATTACHMENT'.
    objpack-obj_descr = 'TEST'. "Attachment File Name
    objpack-doc_size = tab_lines * 255.
    APPEND objpack..
    reclist-receiver = emailid.
    reclist-rec_type = 'U'.
    APPEND reclist.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = doc_ching
    put_in_outbox = 'X'
    commit_work = 'X'
    IMPORTING
    SENT_TO_ALL =
    NEW_OBJECT_ID =
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    receivers = reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    operation_no_authorization = 4
    OTHERS = 99 .
    ENDFUNCTION.

    I had this problem after migrating to JDeveloper 10.1.3. Problem was with inconsistent DB column types. In our case, the DB column was CHAR containing only numbers, but VO defined it as NUMBER. This caused no problem in 9.0.3 we used before.
       <ViewAttribute
          Name="ParentFlagNew"
          IsPersistent="false"
          Precision="1"
          Type="oracle.jbo.domain.Number"
          ColumnType="NUMBER"
          AliasName="PARENT_FLAG_NEW"
          Expression="PARENT_FLAG_NEW"
          SQLType="NUMERIC" >
          <Properties>
             <Property Name ="DISPLAY_LIST" Value ="1=Yes,0=No" />
             <Property Name ="DISPLAY_LIST_sk" Value ="1=Áno,0=Nie" />
             <Property Name ="Renderer" Value ="sk.transacty.cm_iface.bc4j_common.ListFieldRenderer" />
          </Properties>
          <DesignTime>
             <Attr Name="_DisplaySize" Value="1" />
          </DesignTime>
       </ViewAttribute>

  • Sender file adapter dropping last column during content conversion

    I am trying to process a flat file with pipe delimited data, but when the last column of the file is empty the file adapter ignores the column, causing issues with the subsequent mapping program.  For example, if the file contains the following data..
    1||three|
    ... the converted content produced is...
       <column1>1<column1>
       <column2/>
       <column3>three</column3>
    My mapping is expecting that <column4/> also be delivered in order to function properly.  The fields are all defined in record.fieldNames, and if there is any data present following the third pipe it is assigned correctly to the column4 element.  I have also experimented with setting missingLastFields to "add", and tried explicitly specifying endFieldSeparator to 'nl' with no success.
    Is there anyway to control this behavior in the communication channel, or is my only option to to account for it within the mapping by using mapWithDefault function for every field that appears at the end of a record?

    Nataliya,
    Ensuring that the element is populated during the mapping appears to be the only way to account for this.  Therefore, whenever mapping the last column of a record set, I just made sure to use the MapWithDefault function in case the last field of the record is empty.  It's a little extra manual effort, but it appears to be working fine so far.  I was hoping for a better answer myself.

  • Unable to read multiple files in BODS

    hi all,
    i am unable to read multiple files [with same format of fields] using wild card characters in file name.
    scenario:
    i have 2 files: test1.xlsx & test2.xlsx
    in the excel file format, for the file name column, i have given test*.xlsx.
    and done the direct mapping to target column.
    but when i run the job i am getting below error.
    at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.ReadAllRows(MSExcelAdapterReadTable.java:1242)
    at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.readNext(MSExcelAdapterReadTable.java:1285)
    at com.acta.adapter.sdk.StreamListener.handleBrokerMessage(StreamListener.java:151)
    at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:448)
    at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
    at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1600)
    at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
    please let me know if there is any solution to this.
    regards,
    Swetha

    Hi,
    i just copied a xlsx file with 3 different names (Test_Data.xlsx, Test_1.xlsx, Test_2.xlsx) and tried with below options and it worked for me.
    Note: I tried on the same OS and DS 4.1 SP2(14.1.2.378)versions. In Linux File names are case sensitive.

  • Last column in JTable detaches from edge of JScroll Pane

    i have a JTable in a JScrollPane which is in half of a JSplitPane.
    The table has autoResizeMode set to AUTO_RESIZE_OFF to make the horizontal scrollbar appear.
    However, when i resize the split pane to make the table bigger, the edge of the last column no longer runs to the edge of the JScrollPane, it detaches.
    What i need is for the last column to be able to expand infinitely, but when the split pane size is being reduced, for the columns to disapear off the edge of the scroll pane and the scroll bar to appear. This is a mix of AUTO_RESIZE_OFF and AUTO_RESIZE_LAST_COLUMN.

    I too had this problem. I had a method that would set the minimum size of columns based on the data within the table, etc. It seems that when you do anything to set the pref or min size of a column the horizontal scrolling gets all messed up. How I solved the problem is to basically swap the autosize method on the table back and forth whenever the parent component of the table is resized. Some example code follows.
    First, add a inner class ComponentListener on the parent component the table is in (a frame in my case, I guess this could be the scroll pane too?):
    _myFrame.addComponentListener( new ComponentAdapter()
        public void componentResized(ComponentEvent e)
            _parentResized();
    });Now the _parentResized() method that is called by the inner class looks like this:
    * Our parent container component was resized, so update how the table's
    * columns are layed out.
    private void _parentResized()
        TableColumnModel tcm = _table.getColumnModel();
        int colWidth = 0;
        for( int j = 0; j < tcm.getColumnCount(); j++ )
            colWidth += tcm.getColumn( j ).getPreferredWidth();
        // Have to check scroll for width > 0, because the first time this gets
        // called, it is 0, and that will cause the viewport to scale to fit the
        // entire table (which could be bad).  Note that this will get updated
        // if the window is resized as well.
        if( _tableScroll.getWidth() > 0 && colWidth < _tableScroll.getWidth() )
            _table.setAutoResizeMode( JTable.AUTO_RESIZE_ALL_COLUMNS );
        else
            _table.setAutoResizeMode( JTable.AUTO_RESIZE_OFF );
    }What that does is whenever the table's parent component is resized it evaluates the pref width of the whole table, if it's greater than the scrollpane's width, it turns autosizing of columns off (which will make the horiz scrollbar work properly), if it is less than the scrollpane's width, it turns autosizing on. Hackish I know.
    You need to make sure to call the _parentResized() method as well whenver you do something else that might cause the pref width of the table to be resized (like you repopulate and calc pref widths, etc.)
    Hope this is of some use to you.

  • BUG JSF h:dataTable with JDBC ResultSet - only last column is updated

    I tried to create updatable h:dataTable tag with three h:inputText columns with JDBC ResultSet as data source. But what ever I did I have seceded to update only the last column in h:dataTable tag.
    My JSF page is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1250"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1250"/>
    <title>Stevan</title>
    </head>
    <body><h:form>
    <p>
    <h:messages/>
    </p>
    <p>
    <h:dataTable value="#{tabela.people}" var = "record">
    <h:column>
    <f:facet name="header">
    <h:outputText value="PIN"/>
    </f:facet>
    <h:inputText value="#{record.PIN}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Surname"/>
    </f:facet>
    <h:inputText value="#{record.SURNAME}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    <h:inputText value="#{record.NAME}"/>
    </h:column>
    </h:dataTable>
    </p>
    <h:commandButton value="Submit"/>
    </h:form></body>
    </html>
    </f:view>
    My java been is:
    package com.steva;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class tabela {
    private Connection conn;
    private ResultSet resultSet;
    public tabela() throws SQLException, ClassNotFoundException {
    Statement stmt;
    Class.forName("oracle.jdbc.OracleDriver");
    conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe", "hr", "hr");
    stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
    resultSet = stmt.executeQuery("SELECT PIN, SURNAME, NAME FROM PERSON");
    public ResultSet getPeople() {
    return resultSet;
    I have instaled “Oracle Database 10g Express Edition Release 10.2.0.1.0” – product on my PC localy. I have enabled HR schema and I have instaled and pupulated with sample data folloving table:
    CREATE TABLE "PERSON"
    (     "PIN" VARCHAR2(20) NOT NULL ENABLE,
         "SURNAME" VARCHAR2(30),
         "NAME" VARCHAR2(30),
         CONSTRAINT "PERSON_PK" PRIMARY KEY ("PIN") ENABLE
    I have:
    Windows XP SP2
    Oracle JDeveloper Studio Edition Version 10.1.3.1.0.3894
    I am not shure why this works in that way, but I think that this is a BUG
    Thanks in advance.

    Hi,
    I am sorry because of formatting but while I am entering text looks fine but in preview it is all scrambled. I was looking on the Web for similar problems and I did not find anything similar. Its very simple sample and I could not believe that the problem is in SUN JSF library. I was thinking that problem is in some ResultSet parameter or in some specific Oracle implementation of JDBC thin driver. I did not try this sample on any other platform, database or programming tool. I am new in Java and JSF and I have some experience only with JDeveloper.
    Java been(session scope):
    package com.steva;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class tabela {
    private Connection conn;
    private ResultSet resultSet;
    public tabela() throws SQLException, ClassNotFoundException {
    Statement stmt;
    Class.forName("oracle.jdbc.OracleDriver");
    conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@localhost:1521:xe", "hr", "hr");
    stmt = conn.createStatement
    (ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
    resultSet = stmt.executeQuery("SELECT PIN, SURNAME, NAME FROM PERSON");
    public ResultSet getZaposleni() {
    return resultSet;
    JSF Page:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1250"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1250"/>
    <title>Stevan</title>
    </head>
    <body><h:form>
    <p>
    <h:messages/>
    </p>
    <p>
    <h:dataTable value="#{tabela.zaposleni}" var = "record">
    <h:column>
    <f:facet name="header">
    <h:outputText value="PIN"/>
    </f:facet>
    <h:inputText value="#{record.PIN}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Surname"/>
    </f:facet>
    <h:inputText value="#{record.SURNAME}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    <h:inputText value="#{record.NAME}"/>
    </h:column>
    </h:dataTable>
    </p>
    <h:commandButton value="Submit"/>
    </h:form></body>
    </html>
    </f:view>

  • Number of rows returned by SELECT LAST(column)

    I have about 50,000 rows in my MS Acess database table so I have used SELECT LAST(column) AS newField FROM table... to retrieve the last data in the column however when I check the number of rows in the resultset using
    resultset.last();
         int rowcount = rs.getRow();
    rowcnt returns the total no.rows (about 50,000) in the table.
    I thought it should just return one.
    Is it normal?

    Thanks again dcminta. I'll try with your code.
    I just wanted to know why resultset returned the number of all records in that column when I only selected the last.
    I had the �Invalid Cursor Position� error with "while(rs.next())" as I (thought I) had only one record in the resultset and I was fiddling with my code.
    They are all fine now.
    Thanks guys.
    Booh1(old lady)

  • Error accessing device data in netweaver."Unable to read data;can't connect

    Hi Friends,
    We have implemented MAM in one of our client here in India. Its around 7 months the project been gone live.
    From last few weeks we are facing problem accessing Device in Netweaver.
    We prepared a patch to be applied to devices but on searching by providing mobile device name ie. eg. MOBILE_000011 it gives an error which says "Unable to read data; cannot connect to middleware".
    It searches the device successfully but but doesnt display its device details,components etc.
    I checked in MI server for short dumps TSV_TNEW_PAGE_ALLOC_FAILED.
    All the measures have been taken to remove this dump. But problem still persist.
    Please suggest to identify the problem.
    Thanks, Amit Sharma

    hello frnds....
    still expecting your views....

  • FRM-40502 unable to read list of values

    Hi all
    FRM-40502 unable to read list of values
    am getting this error when i try to populate list of values for some employees only
    The LOV query is as follows
    Select dsm_code,dsm_desc,dsm_content from deschange_master
    where dsm_orgn=:parameter.p_orgn
    and (dsm_ctry =:parameter.p_ctry or :parameter.p_ctry is null)
    and(dsm_loc =:parameter.p_loc or :parameter.p_loc is null)
    and( dsm_oru =:parameter.p_oru or :parameter.p_oru is null)
    and
    ((DSM_CODE  like '%PWI%' and DSM_CODE like '%INCR%')
    and (select count(eih_emp_code)from employee_increment_header
    where eih_emp_code =:edcd_emp_code and
    to_date(eih_eff_date,'DD-MON-RR') = to_date(:desig_date,'DD-MON-RR'))=1)
    or
    ((DSM_CODE not like '%PWI%' and DSM_CODE not like '%INCR%')
    and (select count(eih_emp_code)from employee_increment_header
    where eih_emp_code = :edcd_emp_code and
    to_date(eih_eff_date,'DD-MON-RR') = to_date(:desig_date,'DD-MON-RR'))<>1)
    order by dsm_code

    Hi,
    You have missed 1 equal sign in the last portion of the query. Check the below code. (Not tested)
    Select dsm_code,dsm_desc,dsm_content from deschange_master
    where dsm_orgn=:parameter.p_orgn
    and (dsm_ctry =:parameter.p_ctry or :parameter.p_ctry is null)
    and(dsm_loc =:parameter.p_loc or :parameter.p_loc is null)
    and( dsm_oru =:parameter.p_oru or :parameter.p_oru is null)
    and
    ((DSM_CODE  like '%PWI%' and DSM_CODE like '%INCR%')
    and (select count(eih_emp_code)from employee_increment_header
    where eih_emp_code =:edcd_emp_code and
    to_date(eih_eff_date,'DD-MON-RR') = to_date(:desig_date,'DD-MON-RR'))=1)
    or
    ((DSM_CODE not like '%PWI%' and DSM_CODE not like '%INCR%')
    and (select count(eih_emp_code)from employee_increment_header
    where eih_emp_code = :edcd_emp_code and
    to_date(eih_eff_date,'DD-MON-RR') = to_date(:desig_date,'DD-MON-RR'))=1)
    order by dsm_codeRegards,
    Manu.

Maybe you are looking for

  • One digit is missing while downloading to excel

    Hi Experts, I am executing a report and the result is in ALV format. When i was trying to download the result into an excel sheet I am missing one digit (last digit) from material number. What could be the reason...Please help me in this regards Than

  • New iPad2 Sync issue

    I just got a new iPad2 and after syncing it to my PC it says I have connected to 3 out of the maximum of 5 computers.  It's brand-new and has only ever been connected to the one machine.  How can I reset this back to one?

  • 27" imac i7 16GB RAM mid-2010 turns off randomly

    I've done a lot of reading on the existing posts, and so far no real solutions except for removing RAM. I have 27" imac with APPLE-INSTALLED 16GB RAM. It is a mid-2010 imac model 11,3. The random shutdowns don't seem to correlate to particular apps o

  • Advantages of BSP over Webdynpro ABAP

    Hi,, Can anyone please explain what are the advantages of BSP over WebDynpro ABAP, In what cases do we need to stick with BSP? Thanks,

  • Exception handling PI - C# Service

    Hi all, I have the following scenario Scenario: Client                Middleware          Webservice ERP system -->       XI              --> C# webservice Everything works fine. But now I have one problem. In the C# webservice there are different ex